Endpoints to retrieve information about the developer's directory.
API Documentation (1.22)
Download OpenAPI description
Languages
Servers
Sandbox
https://api-developer-sandbox.zocdoc.com/
Production
https://api-developer.zocdoc.com/
Request
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
- Sandbox
https://api-developer-sandbox.zocdoc.com/v1/reference/npi
- Production
https://api-developer.zocdoc.com/v1/reference/npi
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api-developer-sandbox.zocdoc.com/v1/reference/npi?page=0&page_size=60000' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response
application/json
{ "request_id": "string", "page": 0, "page_size": 0, "total_count": 0, "next_url": "string", "data": { "npis": [ … ] } }