Endpoints to retrieve information about the developer's directory.
API Documentation (1.22)
https://api-developer-sandbox.zocdoc.com/
https://api-developer.zocdoc.com/
Request
This endpoint accepts parameters such as zip code, specialty, visit reason and accepted insurance to return a filtered set of providers within the developer's directory. The response includes additional information about the provider location objects returned.
The provider_location_id
returned in the response can be used to retrieve availability in the endpoint /v1/provider_locations/availability.
The Zocdoc ID of the provider's specialty. See Reference Data for options. One of specialty_id
or visit_reason_id
is required. If visit_reason_id
is not supplied, the default visit reason for the specialty will be used.
The Zocdoc ID for the visit reason. See Reference Data for options. One of specialty_id
or visit_reason_id
is required. If both visit_reason_id
and specialty_id
are supplied, the specialty must be the visit reason's corresponding specialty.
The Zocdoc ID of the patient's insurance plan. See Reference Data for options.
The type of patient visit with the provider. If not provided, the default value is set to in_person
.
- Sandbox
https://api-developer-sandbox.zocdoc.com/v1/provider_locations
- Production
https://api-developer.zocdoc.com/v1/provider_locations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api-developer-sandbox.zocdoc.com/v1/provider_locations?zip_code=36925&specialty_id=sp_153&visit_reason_id=pc_FRO-18leckytNKtruw5dLR&page=0&page_size=10&insurance_plan_id=ip_2224&visit_type=all&max_distance_to_patient_mi=50' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Succesful
The Zocdoc ID of the specialty used to search with. If no specialty was provided by the developer, this will be the specialty associated with the visit reason ID that was provided.
Whether the provider location accepts the patient's insurance
The first date where provider has availability for new patients with any visit reason in provider's local time zone, formatted as YYYY-MM-DD and up to 90 days in the future.
Possible values include: Female, Male, Non-binary
Url to a provider's photo.
Languages spoken at the practice location, might be facilitated by translators on site. Download Languages csv.
Criteria for booking appointments, defines requirements and mandatory fields specified by Zocdoc providers
{ "request_id": "string", "page": 0, "page_size": 0, "total_count": 0, "next_url": "string", "data": { "search_parameters": { … }, "provider_locations": [ … ] } }
The Zocdoc ID of the patient's insurance plan. See Reference Data for options.
- Sandbox
https://api-developer-sandbox.zocdoc.com/v1/provider_locations/{provider_location_id}
- Production
https://api-developer.zocdoc.com/v1/provider_locations/{provider_location_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api-developer-sandbox.zocdoc.com/v1/provider_locations/pr_abc123-def456_wxyz7890|lo_abc123-def456_wxyz7890?insurance_plan_id=ip_2224' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "request_id": "string", "data": { "provider_location_id": "pr_abc123-def456_wxyz7890|lo_abc123-def456_wxyz7890", "provider_location_type": "in_person_provider", "accepts_patient_insurance": "accepted", "first_availability_date_in_provider_local_time": "2019-08-24", "provider": { … }, "location": { … }, "virtual_location": { … }, "practice": { … }, "booking_requirements": { … } } }
Request
Retrieves availability for a set of provider locations. Required parameters passed include provider location ids, visit reason id and patient type. Visit reason and patient type (new or existing) are used to calculate the duration of the appointment and break availability into bookable timeslots based on the appointment duration. The response output includes the start times of appointments based on these calculations.
The start_time
returned is used in the endpoint /v1/appointments to book appointments. If no timeslots are available that satisfy the parameters, an empty array will be returned for that Provider Location's timeslots.
A comma-delimited list of Zocdoc provider_location_ids
retrieved from the /v1/providers or /v1/provider_locations endpoint. A maximum of 50 items will be accepted at a time.
The Zocdoc ID of the visit reason. See Reference Data for options.
New or existing to indicate if the patient is new to the practice or has been to the office before.
The first date to retrieve availability for, as YYYY-MM-DD. Defaults to current date in US Eastern Time. Can request availability up to a maximum of 150 days into the future.
- Sandbox
https://api-developer-sandbox.zocdoc.com/v1/provider_locations/availability
- Production
https://api-developer.zocdoc.com/v1/provider_locations/availability
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api-developer-sandbox.zocdoc.com/v1/provider_locations/availability?provider_location_ids=pr_abc123-def456_wxyz7890%7Clo_abc123-def456_wxyz7890%2Cpr_ghi123-jkl456_mnop7890%7Clo_ghi123-jkl456_mnop7890&visit_reason_id=pc_FRO-18leckytNKtruw5dLR&patient_type=new&start_date_in_provider_local_time=2019-08-24&end_date_in_provider_local_time=2019-08-24' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "request_id": "string", "data": [ { … } ] }
- Sandbox
https://api-developer-sandbox.zocdoc.com/v1/provider_locations/{provider_location_id}/insurance_mappings
- Production
https://api-developer.zocdoc.com/v1/provider_locations/{provider_location_id}/insurance_mappings
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api-developer-sandbox.zocdoc.com/v1/provider_locations/{provider_location_id}/insurance_mappings' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "request_id": "string", "data": { "insurance_plan_mappings": [ … ], "eligible_insurances": [ … ] } }
- Sandbox
https://api-developer-sandbox.zocdoc.com/v1/provider_locations/{provider_location_id}/insurance_mappings
- Production
https://api-developer.zocdoc.com/v1/provider_locations/{provider_location_id}/insurance_mappings
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-developer-sandbox.zocdoc.com/v1/provider_locations/{provider_location_id}/insurance_mappings' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"insurance_plan_ids": [
"string"
],
"operation": "Add"
}'
{ "request_id": "string" }