OpenAny
Get API keyAPI Key
APIDataSearch & Research

zocdoc logo
Zocdoc Practitioner Search API

Search Zocdoc practitioners by specialty and US location via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as days, limit, location, and retrieve structured data including numeric source profile identifier, source provider identifier, source location identifier, source insurance-match context, and returned availability count for practitioner search, and visit filters.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
1Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

Zocdoc Practitioner Search API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Zocdoc Practitioner Search API

Zocdoc Practitioner Search API

Use specialty with location or lat/lng, and documented carrier, plan and visit-reason IDs. Per-result profile, provider and office IDs remain separate; days=0 leaves optional slot content out.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required: specialty. Optional: location, lat, lng, sort, insurance_carrier, insurance_plan, visit_reason, gender, language, visit_type, new_patient, time_of_day, days, start_date, limit, page. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.
Selected implementation apish · Zocdoc practitioner search API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Practitioner search: Keep source provider and office identities linked.
  • Visit filters: Retain patient type and selected visit conditions with results.

Returned Data

Field Meaning
results[].id Numeric source profile identifier
results[].provider_id Source provider identifier
results[].location.id Source location identifier
results[].accepts_insurance Source insurance-match context
results[].availability.slot_count Returned availability count
next_page Next page number when available

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/zocdoc/v1/search \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode days=1 \
  --data-urlencode limit=1 \
  --data-urlencode 'location=New York, NY' \
  --data-urlencode output=json \
  --data-urlencode raw=0 \
  --data-urlencode specialty=dentist

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published Zocdoc Practitioner Search API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

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

Request parameters
Specialty name (dentist, primary care doctor, dermatologist, optometrist...) or id from /zocdoc/v1/specialties. Umbrella names such as Eye Doctor return few or no results; use the specific specialty (Optometrist, Ophthalmologist).
Optional parameters (21)
US city, address or ZIP code. Required unless lat and lng are given.
Latitude (with lng, instead of location).
Longitude (with lat).
Order: default (the site's), distance, availability (soonest bookable first), wait_time (wait-time rating).
Insurance carrier id from /zocdoc/v1/insurance.
Insurance plan id from /zocdoc/v1/insurance?carrier=<id>: only providers in network for it; `accepts_insurance` says per result.
Visit reason id from /zocdoc/v1/specialties?specialty=<specialty> (e.g. 11 dental cleaning).
Provider gender.
Spoken language(s), comma-separated, e.g. Spanish.
any (default), in_person or video.
true (default) for new-patient appointment slots, false for existing patients.
Appointment slots only before 10am, after 5pm or both.
Days of open appointment slots per result, 0-7 (default 3; 0 leaves availability out).
First day of the slots (YYYY-MM-DD, default today).
Results per page, 1-50 (default 20).
Page number (1-50).
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

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
Zocdoc practitioner search API · GET · View API reference
$0.002 / billing credit1
100.00%successP507.41s
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/zocdoc/v1/search
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
specialtyURL query parametersquerystringYes

Specialty name (dentist, primary care doctor, dermatologist, optometrist...) or id from /zocdoc/v1/specialties. Umbrella names such as Eye Doctor return few or no results; use the specific specialty (Optometrist, Ophthalmologist).

locationURL query parametersquerystringNo

US city, address or ZIP code. Required unless lat and lng are given.

latURL query parametersquerynumberNo

Latitude (with lng, instead of location).

lngURL query parametersquerynumberNo

Longitude (with lat).

sortURL query parametersquerystringNo

Order: default (the site's), distance, availability (soonest bookable first), wait_time (wait-time rating).

enum: "default", "distance", "availability", "wait_time"

insurance_carrierURL query parametersquerystringNo

Insurance carrier id from /zocdoc/v1/insurance.

insurance_planURL query parametersquerystringNo

Insurance plan id from /zocdoc/v1/insurance?carrier=<id>: only providers in network for it; `accepts_insurance` says per result.

visit_reasonURL query parametersquerystringNo

Visit reason id from /zocdoc/v1/specialties?specialty=<specialty> (e.g. 11 dental cleaning).

genderURL query parametersquerystringNo

Provider gender.

enum: "male", "female"

languageURL query parametersquerystringNo

Spoken language(s), comma-separated, e.g. Spanish.

visit_typeURL query parametersquerystringNo

any (default), in_person or video.

enum: "any", "in_person", "video"

new_patientURL query parametersquerybooleanNo

true (default) for new-patient appointment slots, false for existing patients.

time_of_dayURL query parametersquerystringNo

Appointment slots only before 10am, after 5pm or both.

enum: "any", "before_10am", "after_5pm", "before_10am_or_after_5pm"

daysURL query parametersqueryintegerNo

Days of open appointment slots per result, 0-7 (default 3; 0 leaves availability out).

start_dateURL query parametersquerystringNo

First day of the slots (YYYY-MM-DD, default today).

limitURL query parametersqueryintegerNo

Results per page, 1-50 (default 20).

pageURL query parametersqueryintegerNo

Page number (1-50).

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.

enum: "json"

recordsURL query parametersquerystringNo

Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • applied_filtersobject
    • availability_daysinteger
    • gendernull
    • insurance_carriernull
    • insurance_plannull
    • languageunknown[]
    • new_patientboolean
    • sortstring
    • start_datenull
    • time_of_daystring
    • visit_reasonnull
    • visit_typestring
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • fetched_atstring
  • limitinteger
  • locationstring
  • next_pageinteger
  • pageinteger
  • resultsobject[]
    • accepts_insurancenull
    • accepts_new_patientsboolean
    • availabilityobject
      • daysobject[]
        • datestring
        • slotsstring[]
      • next_availablestring
      • slot_countinteger
    • badgesstring[]
    • bedside_manner_ratingnumber
    • credentialsstring
    • distance_milesnumber
    • first_namestring
    • idstring
    • in_networkboolean
    • last_namestring
    • locationobject
      • addressstring
      • address2string
      • citystring
      • faxnull
      • idstring
      • latitudenumber
      • location_idstring
      • longitudenumber
      • namenull
      • phonestring
      • phone_extnull
      • statestring
      • virtualboolean
      • virtual_visit_typenull
      • websitenull
      • zipstring
    • namestring
    • out_of_networkboolean
    • photostring
    • practiceobject
      • idstring
      • namestring
      • urgent_careboolean
      • urlstring
    • provider_idstring
    • ratingnumber
    • recommend_percentinteger
    • review_countinteger
    • review_snippetobject
      • commentstring
      • datenull
      • reviewerstring
    • sees_children_onlyboolean
    • self_payboolean
    • self_pay_pricesnull
    • short_wait_percentinteger
    • specialtiesstring[]
    • specialtystring
    • titlestring
    • urlstring
    • wait_time_ratingnumber
  • search_originobject
    • citynull
    • latitudenumber
    • longitudenumber
    • statestring
  • specialtyobject
    • idstring
    • namestring
  • totalinteger

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits consumed$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Live API.SH response · Minimal request

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 22

    Review these request fields before running. Keep the published provider and request method unchanged.

    specialty
    Specialty name (dentist, primary care doctor, dermatologist, optometrist...) or id from /zocdoc/v1/specialties. Umbrella names such as Eye Doctor return few or no results; use the specific specialty (Optometrist, Ophthalmologist).
    location
    US city, address or ZIP code. Required unless lat and lng are given.
    lat
    Latitude (with lng, instead of location).
    lng
    Longitude (with lat).
    sort
    Order: default (the site's), distance, availability (soonest bookable first), wait_time (wait-time rating).
    insurance_carrier
    Insurance carrier id from /zocdoc/v1/insurance.
    insurance_plan
    Insurance plan id from /zocdoc/v1/insurance?carrier=<id>: only providers in network for it; `accepts_insurance` says per result.
    visit_reason
    Visit reason id from /zocdoc/v1/specialties?specialty=<specialty> (e.g. 11 dental cleaning).
    gender
    Provider gender.
    language
    Spoken language(s), comma-separated, e.g. Spanish.
    visit_type
    any (default), in_person or video.
    new_patient
    true (default) for new-patient appointment slots, false for existing patients.
    time_of_day
    Appointment slots only before 10am, after 5pm or both.
    days
    Days of open appointment slots per result, 0-7 (default 3; 0 leaves availability out).
    start_date
    First day of the slots (YYYY-MM-DD, default today).
    limit
    Results per page, 1-50 (default 20).
    page
    Page number (1-50).
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
    records
    Native CSV/NDJSON record selector; it has no effect on this JSON-only product.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/apish/zocdoc/v1/search?days=1&limit=1&location=New+York%2C+NY&output=json&raw=0&specialty=dentist' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "applied_filters": {
        "availability_days": 1,
        "gender": null,
        "insurance_carrier": null,
        "insurance_plan": null,
        "language": [],
        "new_patient": true,
        "sort": "default",
        "start_date": null,
        "time_of_day": "any",
        "visit_reason": null,
        "visit_type": "any"
      },
      "cached": false,
      "count": 1,
      "credits_used": 1,
      "fetched_at": "2026-11-20T02:28:45.475Z",
      "limit": 1,
      "location": "New York, NY",
      "next_page": 2,
      "page": 1,
      "results": [
        {
          "accepts_insurance": null,
          "accepts_new_patients": true,
          "availability": {
            "days": [
              {
                "date": "2026-11-20",
                "slots": [
                  "2026-11-20T10:40:00-05:00"
                ]
              }
            ],
            "next_available": "2026-11-20T10:40:00-05:00",
            "slot_count": 1
          },
          "badges": [
            "PatientLoyalty"
          ],
          "bedside_manner_rating": 4.93,
          "credentials": "DMD, MS",
          "distance_miles": 2.81,
          "first_name": "Nancy",
          "id": "84571",
          "in_network": true,
          "last_name": "Nguyen",
          "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"
          },
          "name": "Dr. Nancy Nguyen, DMD, MS",
          "out_of_network": false,
          "photo": "https://d1k13df5m14swc.cloudfront.net/photos/Dr-Nancy-Nguyen-DMD-MS-84571-mediumfixed.jpg",
          "practice": {
            "id": "pt_gS4xY6YhMkupbJBbE-nFih",
            "name": "Studio Smiles NYC",
            "urgent_care": false,
            "url": "https://www.zocdoc.com/practice/studio-smiles-nyc-30816"
          },
          "provider_id": "pr_Y4bazKSR9kuwHQRQgn4Wqx",
          "rating": 4.87,
          "recommend_percent": 94,
          "review_count": 2210,
          "review_snippet": {
            "comment": "This was great! Everyone was really nice and explained everything I needed to know without me even asking. I will be coming back!",
            "date": null,
            "reviewer": "Chantell H."
          },
          "sees_children_only": false,
          "self_pay": false,
          "self_pay_prices": null,
          "short_wait_percent": 99,
          "specialties": [
            "Dentist",
            "Cosmetic Dentist"
          ],
          "specialty": "Dentist",
          "title": "Dr.",
          "url": "https://www.zocdoc.com/dentist/nancy-nguyen-dmd-ms-84571",
          "wait_time_rating": 4.87
        }
      ],
      "search_origin": {
        "city": null,
        "latitude": 40.7127753,
        "longitude": -74.0059728,
        "state": "NY"
      },
      "specialty": {
        "id": "98",
        "name": "Dentist"
      },
      "total": 1397
    }

Common questions

Which specialty should I submit?

Use a specific specialty name or an ID from Specialties, such as Optometrist or Ophthalmologist rather than the broad Eye Doctor label.

How do I select insurance?

Use carrier and plan IDs from Insurance in their respective request fields. Preserve per-result accepts_insurance context.

Which paging and availability limits apply?

limit accepts 1–50 and page 1–50. days accepts 0–7, default 3; zero omits slot content.

Does sorting by availability book the earliest time?

No. It orders source matches; it does not submit an appointment reservation.

How do I bypass cached results?

Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

Can I request CSV or NDJSON?

This OpenAny implementation serves JSON only. Omit output or set output=json.

Use Zocdoc Practitioner Search API with your agent

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