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

# /healthgrades/hospitals

> Get a Healthgrades hospital profile by id (e.g. 22df4b), profile slug or profile URL: name, address, phone, quality awards with years, clinical quality star ratings by procedure area, patient-safety indicators, patient-experience (HCAHPS) survey results vs national averages, a sample of affiliated providers, recent provider reviews and frequently asked questions.

**Price:** 1 credit

**⚠️ Common errors:** 412: Hospital not found (well-formed id with no Healthgrades profile)



## OpenAPI

````yaml /openapi/local-places.json post /api/healthgrades/hospitals
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/healthgrades/hospitals:
    post:
      tags:
        - /healthgrades
      summary: /healthgrades/hospitals
      description: >-
        Get a Healthgrades hospital profile by id (e.g. 22df4b), profile slug or
        profile URL: name, address, phone, quality awards with years, clinical
        quality star ratings by procedure area, patient-safety indicators,
        patient-experience (HCAHPS) survey results vs national averages, a
        sample of affiliated providers, recent provider reviews and frequently
        asked questions.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Hospital not found (well-formed id with no
        Healthgrades profile)
      operationId: __api_healthgrades_hospitals_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HealthgradesHospitalsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HealthgradesHospital'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HealthgradesHospitalsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        hospital:
          type: string
          minLength: 1
      type: object
      required:
        - hospital
    HealthgradesHospital:
      properties:
        '@type':
          type: string
          default: HealthgradesHospital
        id:
          type: string
        name:
          type: string
        phone:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        zip_code:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
        provider_count:
          anyOf:
            - type: integer
            - type: 'null'
        awards:
          items:
            $ref: '#/components/schemas/HealthgradesHospitalAward'
          type: array
          default: []
        clinical_ratings:
          items:
            $ref: '#/components/schemas/HealthgradesClinicalRating'
          type: array
          default: []
        safety_indicators:
          items:
            $ref: '#/components/schemas/HealthgradesSafetyIndicator'
          type: array
          default: []
        patient_experience:
          items:
            $ref: '#/components/schemas/HealthgradesHcahps'
          type: array
          default: []
        providers:
          items:
            $ref: '#/components/schemas/HealthgradesProviderCard'
          type: array
          default: []
        provider_reviews:
          items:
            $ref: '#/components/schemas/HealthgradesHospitalProviderReview'
          type: array
          default: []
        faqs:
          items:
            $ref: '#/components/schemas/HealthgradesFaq'
          type: array
          default: []
      type: object
      required:
        - id
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    HealthgradesHospitalAward:
      properties:
        '@type':
          type: string
          default: HealthgradesHospitalAward
        code:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        award_type:
          anyOf:
            - type: string
            - type: 'null'
        years:
          items:
            type: string
          type: array
          default: []
        image:
          anyOf:
            - type: string
            - type: 'null'
        is_50_best:
          anyOf:
            - type: boolean
            - type: 'null'
        is_best:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    HealthgradesClinicalRating:
      properties:
        '@type':
          type: string
          default: HealthgradesClinicalRating
        area:
          anyOf:
            - type: string
            - type: 'null'
        procedures:
          items:
            $ref: '#/components/schemas/HealthgradesClinicalProcedure'
          type: array
          default: []
      type: object
    HealthgradesSafetyIndicator:
      properties:
        '@type':
          type: string
          default: HealthgradesSafetyIndicator
        rate:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    HealthgradesHcahps:
      properties:
        '@type':
          type: string
          default: HealthgradesHcahps
        question:
          anyOf:
            - type: string
            - type: 'null'
        answer:
          anyOf:
            - type: string
            - type: 'null'
        percent:
          anyOf:
            - type: integer
            - type: 'null'
        national_average_percent:
          anyOf:
            - type: integer
            - type: 'null'
        category:
          anyOf:
            - type: string
            - type: 'null'
        surveyed_count:
          anyOf:
            - type: integer
            - type: 'null'
        response_rate_percent:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    HealthgradesProviderCard:
      properties:
        '@type':
          type: string
          default: HealthgradesProviderCard
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        npi:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        specialty:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        rating_count:
          anyOf:
            - type: integer
            - type: 'null'
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    HealthgradesHospitalProviderReview:
      properties:
        '@type':
          type: string
          default: HealthgradesHospitalProviderReview
        rating:
          anyOf:
            - type: integer
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        provider_name:
          anyOf:
            - type: string
            - type: 'null'
        provider_id:
          anyOf:
            - type: string
            - type: 'null'
        provider_url:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    HealthgradesFaq:
      properties:
        '@type':
          type: string
          default: HealthgradesFaq
        question:
          anyOf:
            - type: string
            - type: 'null'
        answer:
          anyOf:
            - type: string
            - type: 'null'
        faq_type:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    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
    HealthgradesClinicalProcedure:
      properties:
        '@type':
          type: string
          default: HealthgradesClinicalProcedure
        name:
          anyOf:
            - type: string
            - type: 'null'
        stars:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````