Retrieves the list of active provider NPIs within the developer's Zocdoc directory. The NPIs retrieved here can be used to search for providers in the /v1/providers endpoint to facilitate availability, discovery, and booking.
Developers can fetch the NPI list and cache in their system. The available NPIs do not change frequently. Pulling this data once a week and/or after known directory change events should be sufficient.
Security
ClientCredentialsFlow or AuthorizationCodeFlow
- Sandboxhttps://api-developer-sandbox.zocdoc.com/v1/reference/npi
- Productionhttps://api-developer.zocdoc.com/v1/reference/npi
- ClientCredentialsFlow
- AuthorizationCodeFlow
curl -i -X GET \
'https://api-developer-sandbox.zocdoc.com/v1/reference/npi?page=0&page_size=0' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Successful
Response
{ "request_id": "string", "page": 0, "page_size": 0, "total_count": 0, "next_url": "string", "data": { "npis": [ … ] } }