Zocdoc appointment availability API

Use the Zocdoc appointment availability API to retrieve published appointment times, locations and booking references. Choose a doctor, start date and one to 14 days, then refine visit reason, patient status, insurance plan or time of day; returned slots do not create an appointment. Inspect the published booking calendar, compare available start times, or show appointment options before continuing on the source site. Calendar results depend on the selected visit conditions and may be empty even when the provider profile exists. The detail page provides request and response examples, supported parameters, and usage pricing.

Selected price
$0.002 / billing creditPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Doctor id (the number at the end of a profile URL, e.g. 7363), its `provider_id`, or the profile URL itself (https://www.zocdoc.com/doctor/... or /dentist/...).
Optional parameters (11)
Days to cover, 1-14 (default 7).
First day (YYYY-MM-DD, default today).
Visit reason id from the doctor's `visit_reasons` (default: the doctor's usual reason).
true (default) for new-patient slots, false for existing patients.
Insurance plan id from /zocdoc/v1/insurance?carrier=<id>.
Only slots before 10am, after 5pm or both.
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Sample response

{
  "cached": false,
  "count": 1,
  "credits_used": 1,
  "days": 1,
  "doctor": {
    "bookable_online": true,
    "id": "84571",
    "name": "Dr. Nancy Nguyen, DMD, MS",
    "provider_id": "pr_Y4bazKSR9kuwHQRQgn4Wqx",
    "url": "https://www.zocdoc.com/dentist/nancy-nguyen-dmd-ms-84571"
  },
  "fetched_at": "2026-11-20T02:29:03.233Z",
  "insurance_plan": null,
  "locations": [
    {
      "days": [
        {
          "date": "2026-11-20",
          "slots": [
            "2026-11-20T10:40:00-05:00"
          ]
        }
      ],
      "location": {
        "address": "41 Prk Ave",
        "address2": "Ste 1C",
        "city": "New York",
        "fax": null,
        "id": "lo_JWW5v5iiXUy7K_4KokvWMR",
        "latitude": 40.74836730957031,
        "location_id": "123340",
        "longitude": -73.97994995117188,
        "name": null,
        "phone": "(646) 470-1376",
        "phone_ext": null,
        "state": "NY",
        "virtual": false,
        "virtual_visit_type": null,
        "website": null,
        "zip": "10016"
      },
      "next_available": "2026-11-20T10:40:00-05:00",
      "slot_count": 1
    }
  ],
  "new_patient": true,
  "next_available": "2026-11-20T10:40:00-05:00",
  "start_date": "2026-11-20",
  "time_of_day": "any",
  "visit_reason": {
    "id": "12",
    "name": "Dental Consultation"
  }
}

Response result

Response structure

Inferred from examples
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • daysinteger
  • doctorobject
    • bookable_onlineboolean
    • idstring
    • namestring
    • provider_idstring
    • urlstring
  • fetched_atstring
  • insurance_plannull
  • locationsobject[]
    • daysobject[]
      • datestring
      • slotsstring[]
    • locationobject
      • addressstring
      • address2string
      • citystring
      • faxnull
      • idstring
      • latitudenumber
      • location_idstring
      • longitudenumber
      • namenull
      • phonestring
      • phone_extnull
      • statestring
      • virtualboolean
      • virtual_visit_typenull
      • websitenull
      • zipstring
    • next_availablestring
    • slot_countinteger
  • new_patientboolean
  • next_availablestring
  • start_datestring
  • time_of_daystring
  • visit_reasonobject
    • idstring
    • namestring

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Zocdoc appointment availability API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.