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

> Get the date-scoped room and rate grid for an Expedia hotel by hotel id (numeric, h-prefixed, or a hotel page URL) for a specific stay (check-in, check-out and number of adults). Returns one item per room type with id, name, guest rating, features (size, bed type, occupancy), room images, and a list of rates with displayed price, nightly price, strikethrough price, price qualifier, currency, payment model, refundable flag, cancellation policy, included board/meal and remaining-availability message.

**Price:** 1 credit per 10 results

**⚠️ Common errors:** 412: Hotel not found or no rooms available for the given hotel id and stay dates



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/expedia/hotels/offers
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/offers:
    post:
      tags:
        - /expedia
      summary: /expedia/hotels/offers
      description: >-
        Get the date-scoped room and rate grid for an Expedia hotel by hotel id
        (numeric, h-prefixed, or a hotel page URL) for a specific stay
        (check-in, check-out and number of adults). Returns one item per room
        type with id, name, guest rating, features (size, bed type, occupancy),
        room images, and a list of rates with displayed price, nightly price,
        strikethrough price, price qualifier, currency, payment model,
        refundable flag, cancellation policy, included board/meal and
        remaining-availability message.


        **Price:** 1 credit per 10 results


        **⚠️ Common errors:** 412: Hotel not found or no rooms available for the
        given hotel id and stay dates
      operationId: __api_expedia_hotels_offers_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExpediaHotelsOffersPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ExpediaRoom'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ExpediaHotelsOffersPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        hotel:
          type: string
          minLength: 1
        check_in:
          type: string
          format: date
        check_out:
          type: string
          format: date
        adults:
          type: integer
          maximum: 14
          minimum: 1
          default: 2
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - hotel
        - check_in
        - check_out
        - count
    ExpediaRoom:
      properties:
        '@type':
          type: string
          default: ExpediaRoom
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        features:
          items:
            type: string
          type: array
          default: []
        images:
          items:
            type: string
          type: array
          default: []
        rates:
          items:
            $ref: '#/components/schemas/ExpediaRoomRate'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ExpediaRoomRate:
      properties:
        '@type':
          type: string
          default: ExpediaRoomRate
        id:
          type: string
        price:
          anyOf:
            - type: string
            - type: 'null'
        price_per_night:
          anyOf:
            - type: string
            - type: 'null'
        strikeout_price:
          anyOf:
            - type: string
            - type: 'null'
        price_qualifier:
          anyOf:
            - type: string
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        payment_model:
          anyOf:
            - type: string
            - type: 'null'
        is_refundable:
          anyOf:
            - type: boolean
            - type: 'null'
        cancellation:
          anyOf:
            - type: string
            - type: 'null'
        board:
          anyOf:
            - type: string
            - type: 'null'
        scarcity:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    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

````