> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /ratemds/doctors/search

> Search RateMDs doctors within a country market (US, Canada, UK, Australia & New Zealand, India, South Africa), optionally narrowed by region and city path and by specialty, gender, verified status, accepting-new-patients, online-scheduling and virtual-visit filters. Returns name, specialty, image, verification and availability flags, patient star rating with the four-criteria breakdown, review count, practice location and a review snippet for each provider.

**Price:** 1 credit

**⚠️ Common errors:** 412: No results for the given region/city (location did not resolve on RateMDs)



## OpenAPI

````yaml /openapi/local-places.json post /api/ratemds/doctors/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/ratemds/doctors/search:
    post:
      tags:
        - /ratemds
      summary: /ratemds/doctors/search
      description: >-
        Search RateMDs doctors within a country market (US, Canada, UK,
        Australia & New Zealand, India, South Africa), optionally narrowed by
        region and city path and by specialty, gender, verified status,
        accepting-new-patients, online-scheduling and virtual-visit filters.
        Returns name, specialty, image, verification and availability flags,
        patient star rating with the four-criteria breakdown, review count,
        practice location and a review snippet for each provider.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No results for the given region/city
        (location did not resolve on RateMDs)
      operationId: __api_ratemds_doctors_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RatemdsDoctorsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RatemdsDoctorSearchResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RatemdsDoctorsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        country:
          $ref: '#/components/schemas/RatemdsCountry'
          default: us
        region:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        specialty:
          anyOf:
            - type: string
            - type: 'null'
        gender:
          anyOf:
            - $ref: '#/components/schemas/RatemdsGender'
            - type: 'null'
        verified:
          anyOf:
            - type: boolean
            - type: 'null'
        accepting_patients:
          anyOf:
            - type: boolean
            - type: 'null'
        appointments_enabled:
          anyOf:
            - type: boolean
            - type: 'null'
        accepting_virtual_appointments:
          anyOf:
            - type: boolean
            - type: 'null'
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - count
    RatemdsDoctorSearchResult:
      properties:
        '@type':
          type: string
          default: RatemdsDoctorSearchResult
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        primary_specialty:
          anyOf:
            - type: string
            - type: 'null'
        specialty_slug:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
        verified:
          anyOf:
            - type: boolean
            - type: 'null'
        accepting_patients:
          anyOf:
            - type: boolean
            - type: 'null'
        accepting_virtual_appointments:
          anyOf:
            - type: boolean
            - type: 'null'
        appointments_enabled:
          anyOf:
            - type: boolean
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        rating_staff:
          anyOf:
            - type: number
            - type: 'null'
        rating_punctuality:
          anyOf:
            - type: number
            - type: 'null'
        rating_helpfulness:
          anyOf:
            - type: number
            - type: 'null'
        rating_knowledge:
          anyOf:
            - type: number
            - type: 'null'
        practice_name:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        review_snippet:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    RatemdsCountry:
      type: string
      enum:
        - us
        - ca
        - uk
        - au_nz
        - india
        - south_africa
        - all
    RatemdsGender:
      type: string
      enum:
        - M
        - F
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````