# 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.

Documentation: https://openany.si/zocdoc/zocdoc-practitioner-search-api/43a4fdaf-08c8-4dbe-96fc-779237efaf45/
API ID: 43a4fdaf-08c8-4dbe-96fc-779237efaf45
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/zocdoc/v1/search
Page update time: 2026-12-03T02:46:40.338Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:46:38.962Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## 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.

## 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 |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Zocdoc practitioner search API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "specialty": {
          "type": "string",
          "description": "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": {
          "type": "string",
          "description": "US city, address or ZIP code. Required unless lat and lng are given."
        },
        "lat": {
          "type": "number",
          "description": "Latitude (with lng, instead of location)."
        },
        "lng": {
          "type": "number",
          "description": "Longitude (with lat)."
        },
        "sort": {
          "type": "string",
          "description": "Order: default (the site's), distance, availability (soonest bookable first), wait_time (wait-time rating).",
          "enum": [
            "default",
            "distance",
            "availability",
            "wait_time"
          ]
        },
        "insurance_carrier": {
          "type": "string",
          "description": "Insurance carrier id from /zocdoc/v1/insurance."
        },
        "insurance_plan": {
          "type": "string",
          "description": "Insurance plan id from /zocdoc/v1/insurance?carrier=<id>: only providers in network for it; `accepts_insurance` says per result."
        },
        "visit_reason": {
          "type": "string",
          "description": "Visit reason id from /zocdoc/v1/specialties?specialty=<specialty> (e.g. 11 dental cleaning)."
        },
        "gender": {
          "type": "string",
          "description": "Provider gender.",
          "enum": [
            "male",
            "female"
          ]
        },
        "language": {
          "type": "string",
          "description": "Spoken language(s), comma-separated, e.g. Spanish."
        },
        "visit_type": {
          "type": "string",
          "description": "any (default), in_person or video.",
          "enum": [
            "any",
            "in_person",
            "video"
          ]
        },
        "new_patient": {
          "type": "boolean",
          "description": "true (default) for new-patient appointment slots, false for existing patients."
        },
        "time_of_day": {
          "type": "string",
          "description": "Appointment slots only before 10am, after 5pm or both.",
          "enum": [
            "any",
            "before_10am",
            "after_5pm",
            "before_10am_or_after_5pm"
          ]
        },
        "days": {
          "type": "integer",
          "description": "Days of open appointment slots per result, 0-7 (default 3; 0 leaves availability out)."
        },
        "start_date": {
          "type": "string",
          "description": "First day of the slots (YYYY-MM-DD, default today)."
        },
        "limit": {
          "type": "integer",
          "description": "Results per page, 1-50 (default 20)."
        },
        "page": {
          "type": "integer",
          "description": "Page number (1-50)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "specialty"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "applied_filters": {
      "type": "object",
      "properties": {
        "availability_days": {
          "type": "integer"
        },
        "gender": {
          "type": "null"
        },
        "insurance_carrier": {
          "type": "null"
        },
        "insurance_plan": {
          "type": "null"
        },
        "language": {
          "type": "array",
          "items": {}
        },
        "new_patient": {
          "type": "boolean"
        },
        "sort": {
          "type": "string"
        },
        "start_date": {
          "type": "null"
        },
        "time_of_day": {
          "type": "string"
        },
        "visit_reason": {
          "type": "null"
        },
        "visit_type": {
          "type": "string"
        }
      }
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "limit": {
      "type": "integer"
    },
    "location": {
      "type": "string"
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "accepts_insurance": {
            "type": "null"
          },
          "accepts_new_patients": {
            "type": "boolean"
          },
          "availability": {
            "type": "object",
            "properties": {
              "days": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "date": {
                      "type": "string"
                    },
                    "slots": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "next_available": {
                "type": "string"
              },
              "slot_count": {
                "type": "integer"
              }
            }
          },
          "badges": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "bedside_manner_rating": {
            "type": "number"
          },
          "credentials": {
            "type": "string"
          },
          "distance_miles": {
            "type": "number"
          },
          "first_name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "in_network": {
            "type": "boolean"
          },
          "last_name": {
            "type": "string"
          },
          "location": {
            "type": "object",
            "properties": {
              "address": {
                "type": "string"
              },
              "address2": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "fax": {
                "type": "null"
              },
              "id": {
                "type": "string"
              },
              "latitude": {
                "type": "number"
              },
              "location_id": {
                "type": "string"
              },
              "longitude": {
                "type": "number"
              },
              "name": {
                "type": "null"
              },
              "phone": {
                "type": "string"
              },
              "phone_ext": {
                "type": "null"
              },
              "state": {
                "type": "string"
              },
              "virtual": {
                "type": "boolean"
              },
              "virtual_visit_type": {
                "type": "null"
              },
              "website": {
                "type": "null"
              },
              "zip": {
                "type": "string"
              }
            }
          },
          "name": {
            "type": "string"
          },
          "out_of_network": {
            "type": "boolean"
          },
          "photo": {
            "type": "string"
          },
          "practice": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "urgent_care": {
                "type": "boolean"
              },
              "url": {
                "type": "string"
              }
            }
          },
          "provider_id": {
            "type": "string"
          },
          "rating": {
            "type": "number"
          },
          "recommend_percent": {
            "type": "integer"
          },
          "review_count": {
            "type": "integer"
          },
          "review_snippet": {
            "type": "object",
            "properties": {
              "comment": {
                "type": "string"
              },
              "date": {
                "type": "null"
              },
              "reviewer": {
                "type": "string"
              }
            }
          },
          "sees_children_only": {
            "type": "boolean"
          },
          "self_pay": {
            "type": "boolean"
          },
          "self_pay_prices": {
            "type": "null"
          },
          "short_wait_percent": {
            "type": "integer"
          },
          "specialties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "specialty": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "wait_time_rating": {
            "type": "number"
          }
        }
      }
    },
    "search_origin": {
      "type": "object",
      "properties": {
        "city": {
          "type": "null"
        },
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "state": {
          "type": "string"
        }
      }
    },
    "specialty": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## 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.

## Available implementations
- apish: https://openany.si/zocdoc/zocdoc-practitioner-search-api/43a4fdaf-08c8-4dbe-96fc-779237efaf45/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
