Get providers by NPIs
Retrieves specific providers within the developer's directory by NPI search. This endpoint searches active providers that are listed on Zocdoc. It returns the provider's information (such as name, gender identity, specialty), location information and provider location IDs which can be used to look up availability and book appointments. Every developer has a designated provider directory jointly defined and onboarded in partnership with Zocdoc.
The provider_location_id returned in the response can be used to retrieve availability in the endpoint /v1/provider_locations/availability.
Request
- Base URLhttps://api-developer-sandbox.zocdoc.com
- Auth
- OAuth 2Client credentialsToken URL: https://auth.zocdoc.com/oauth/token
- or OAuth 2Authorization code: https://auth.zocdoc.com/authorizeToken URL: https://auth.zocdoc.com/oauth/token
Query parameters
A comma-delimited list of Provider NPI numbers. A maximum of 50 items will be accepted at a time.
The Zocdoc ID of the patient's insurance plan. Used to determine if provider takes patient's insurance in response. Use the Get Insurance Plans endpoint to retrieve available plans.
Latitude of the patient's location. Must be provided together with longitude. When provided, response includes distance and nearest match for each physical location.
Longitude of the patient's location. Must be provided together with latitude. When provided, response includes distance and nearest match for each physical location.
Response
Successful
Example response
{
"data": [
{
"providers": [
{
"provider_photo_url": "//d2uur722ua7fvv.cloudfront.net/ZeeFace_02.svg",
"languages": [
"English",
"Spanish"
],
"profile_url": "https://zocdoc.com/doctor/capivarudo-nojeira-md-517507?utm_source=FakeSource",
"locations": [
{
"provider_location_id": "pr_abc123-def456_wxyz7890|lo_abc123-def456_wxyz7890",
"state": "NY",
"phone_number": "9999999999",
"phone_extension": "123",
"time_zone": "America/New_York"
}
],
"virtual_locations": [
{
"provider_location_id": "pr_abc123-def456_wxyz7890|lo_abc123-def456_wxyz7890",
"state": "NY",
"time_zone": "America/New_York"
}
]
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.