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

# /expedia/hotels

> Get Expedia hotel details by hotel id (numeric, h-prefixed, or a hotel page URL): name, hero image, VIP Access flag, guest rating with category subscores and verified review count, popular amenities, grouped amenities, neighborhood overview, nearby places and transit, policies, important information (fees and charges) and frequently asked questions.

**Price:** 10 credits

**⚠️ Common errors:** 412: Hotel not found (well-formed but nonexistent hotel id)



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/expedia/hotels
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/expedia/hotels:
    post:
      tags:
        - /expedia
      summary: /expedia/hotels
      description: >-
        Get Expedia hotel details by hotel id (numeric, h-prefixed, or a hotel
        page URL): name, hero image, VIP Access flag, guest rating with category
        subscores and verified review count, popular amenities, grouped
        amenities, neighborhood overview, nearby places and transit, policies,
        important information (fees and charges) and frequently asked questions.


        **Price:** 10 credits


        **⚠️ Common errors:** 412: Hotel not found (well-formed but nonexistent
        hotel id)
      operationId: __api_expedia_hotels_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExpediaHotelsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ExpediaHotel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ExpediaHotelsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        hotel:
          type: string
          minLength: 1
      type: object
      required:
        - hotel
    ExpediaHotel:
      properties:
        '@type':
          type: string
          default: ExpediaHotel
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        is_vip:
          type: boolean
          default: false
        guest_rating:
          anyOf:
            - type: number
            - type: 'null'
        guest_rating_label:
          anyOf:
            - type: string
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        rating_categories:
          items:
            $ref: '#/components/schemas/ExpediaRatingCategory'
          type: array
          default: []
        popular_amenities:
          items:
            type: string
          type: array
          default: []
        amenity_groups:
          items:
            $ref: '#/components/schemas/ExpediaInfoSection'
          type: array
          default: []
        neighborhood:
          anyOf:
            - type: string
            - type: 'null'
        nearby_places:
          items:
            $ref: '#/components/schemas/ExpediaNearbyGroup'
          type: array
          default: []
        policies:
          items:
            $ref: '#/components/schemas/ExpediaInfoSection'
          type: array
          default: []
        important_info:
          items:
            $ref: '#/components/schemas/ExpediaInfoSection'
          type: array
          default: []
        faqs:
          items:
            $ref: '#/components/schemas/ExpediaFaq'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ExpediaRatingCategory:
      properties:
        '@type':
          type: string
          default: ExpediaRatingCategory
        name:
          type: string
        score:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - name
    ExpediaInfoSection:
      properties:
        '@type':
          type: string
          default: ExpediaInfoSection
        name:
          type: string
        items:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - name
    ExpediaNearbyGroup:
      properties:
        '@type':
          type: string
          default: ExpediaNearbyGroup
        name:
          type: string
        places:
          items:
            $ref: '#/components/schemas/ExpediaNearbyPlace'
          type: array
          default: []
      type: object
      required:
        - name
    ExpediaFaq:
      properties:
        '@type':
          type: string
          default: ExpediaFaq
        question:
          type: string
        answer:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - question
    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
    ExpediaNearbyPlace:
      properties:
        '@type':
          type: string
          default: ExpediaNearbyPlace
        name:
          type: string
        info:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````