Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Zocdoc facilities API

Endpoints to retrieve facilities within the developer's directory.

Zocdoc facilities API is one of 10 APIs that Zocdoc publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include facilities. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and a changelog.

This API exposes 2 operations across 2 paths, and defines 14 schemas. It is described by OpenAPI 3.0.0, at version 1.176.

Requests are made against 2 base URLs: https://api-developer-sandbox.zocdoc.com, https://api-developer.zocdoc.com.

2 operations 2 paths 14 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.176
Base URL
https://api-developer.zocdoc.com
Authentication
OAuth 2.0, OAuth 2.0
Resource Areas
1

Authentication & Security 2

Zocdoc facilities API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (ClientCredentialsFlow) using the clientCredentials flow, exposing 6 scopes. It supports OAuth 2.0 (AuthorizationCodeFlow) using the authorizationCode flow, exposing 3 scopes.

  • ClientCredentialsFlow — Machine to machine authentication (for use from client server to Zocdoc). Production: https://auth.zocdoc.com/oauth/token Sandbox: https://auth-api-developer-s…
  • AuthorizationCodeFlow — Log in as a user. Client Secret is not necessary for this login flow. Production: https://auth.zocdoc.com Sandbox: https://auth-api-developer-sandbox.zocdoc.com

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

facilities 2

Endpoints to retrieve facilities within the developer's directory.

GET
/v1-beta/facilities
Get facilities
getFacilities 8 params → 200400401403404
GET
/v1-beta/facilities/{facility_id}
Get facility by id
getFacility 1 param → 200400401403404

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are Facility (11 properties), BaseLocation (11 properties), FacilitySchedule (3 properties), BookingRequirements (2 properties). Each schema is shown below with its type and property counts.

ErrorType
string
BaseResult
object
1 property 1 required
FacilitiesResponse
object
PaginatedBaseResult
FacilitySchedule
object
3 properties 3 required
BookingRequestInsuranceSource
string
The types of insurance coverage that a provider accepts
BookingRequirements
object
Criteria for booking appointments, defines requirements and mandatory fields specified by Zocdoc providers
2 properties 2 required
Practice
object
2 properties 2 required
BaseLocation
object
11 properties 6 required
Error
object
2 properties 1 required
Facility
object
11 properties 8 required
FacilityByIdResponse
object
BuildingType
string
The type of facility building, which can be clinic or hospital.
ErrorResult

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

zocdoc-facilities-api-openapi.yml Raw ↑

Other APIs Zocdoc publishes across the network.

Zocdoc appointments API
Zocdoc calendar-integration-timeslots API
Zocdoc credentials API
Zocdoc insurance-reference API
Zocdoc provider-locations API
Zocdoc providers API
Zocdoc reference API
Zocdoc schedulable-entities API
Zocdoc webhook API