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

# /agoda/hotels/reviews

> Get paginated guest reviews for an Agoda hotel by property id (or hotel URL). Each review includes the rating and rating label, title, full review text (or separate pros and cons for partner reviews), the review source, reviewer name, country, traveler type, room type, length of stay, helpful/unhelpful vote counts, review and stay dates, and any guest-uploaded photos.

**Price:** 10 credits per 100 results

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



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/agoda/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/agoda/hotels/reviews:
    post:
      tags:
        - /agoda
      summary: /agoda/hotels/reviews
      description: >-
        Get paginated guest reviews for an Agoda hotel by property id (or hotel
        URL). Each review includes the rating and rating label, title, full
        review text (or separate pros and cons for partner reviews), the review
        source, reviewer name, country, traveler type, room type, length of
        stay, helpful/unhelpful vote counts, review and stay dates, and any
        guest-uploaded photos.


        **Price:** 10 credits per 100 results


        **⚠️ Common errors:** 412: Hotel not found (well-formed but nonexistent
        property id)
      operationId: __api_agoda_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/AgodaHotelsReviewsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AgodaReview'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AgodaHotelsReviewsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        hotel:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
        sort:
          $ref: '#/components/schemas/AgodaReviewSort'
          default: recent
      type: object
      required:
        - hotel
        - count
    AgodaReview:
      properties:
        '@type':
          type: string
          default: AgodaReview
        id:
          type: string
        rating:
          anyOf:
            - type: number
            - type: 'null'
        rating_text:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        pros:
          anyOf:
            - type: string
            - type: 'null'
        cons:
          anyOf:
            - type: string
            - type: 'null'
        provider:
          anyOf:
            - type: string
            - type: 'null'
        author:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        country_code:
          anyOf:
            - type: string
            - type: 'null'
        traveler_type:
          anyOf:
            - type: string
            - type: 'null'
        room_type:
          anyOf:
            - type: string
            - type: 'null'
        length_of_stay:
          anyOf:
            - type: integer
            - type: 'null'
        helpful_count:
          anyOf:
            - type: integer
            - type: 'null'
        unhelpful_count:
          anyOf:
            - type: integer
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        check_in_date:
          anyOf:
            - type: string
            - type: 'null'
        check_out_date:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    AgodaReviewSort:
      type: string
      enum:
        - recent
        - rating_high
        - rating_low
        - helpful
    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

````