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

> Get Expedia guest reviews for a hotel by hotel id (numeric, h-prefixed, or a hotel page URL): each review has the guest rating and label, title, text, author, submission date, language, verified flag, length of stay, liked/disliked themes, helpful votes, guest photos and the property's management response.

**Price:** 1 credit per 25 results

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



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/expedia/hotels/reviews
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/reviews:
    post:
      tags:
        - /expedia
      summary: /expedia/hotels/reviews
      description: >-
        Get Expedia guest reviews for a hotel by hotel id (numeric, h-prefixed,
        or a hotel page URL): each review has the guest rating and label, title,
        text, author, submission date, language, verified flag, length of stay,
        liked/disliked themes, helpful votes, guest photos and the property's
        management response.


        **Price:** 1 credit per 25 results


        **⚠️ Common errors:** 412: Hotel not found (well-formed but nonexistent
        hotel id)
      operationId: __api_expedia_hotels_reviews_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExpediaHotelsReviewsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ExpediaHotelReview'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ExpediaHotelsReviewsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        hotel:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - hotel
        - count
    ExpediaHotelReview:
      properties:
        '@type':
          type: string
          default: ExpediaHotelReview
        id:
          type: string
        rating:
          anyOf:
            - type: number
            - type: 'null'
        rating_label:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        author:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        locale:
          anyOf:
            - type: string
            - type: 'null'
        is_verified:
          type: boolean
          default: false
        stay_detail:
          anyOf:
            - type: string
            - type: 'null'
        themes:
          items:
            type: string
          type: array
          default: []
        helpful_count:
          anyOf:
            - type: integer
            - type: 'null'
        photos:
          items:
            type: string
          type: array
          default: []
        management_response:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      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
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````