> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapio.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get property details

> Retrieve structured property details and per-room rates from an Agoda hotel page.



## OpenAPI

````yaml get /v1/agoda/property
openapi: 3.1.0
info:
  title: Scrapio
  version: 1.0.0
  description: >-
    Turn any URL into structured data. Fetch raw HTML, crawl sites, extract
    structured content, interact with dynamic pages, and search the web through
    one API.
  contact:
    name: Scrapio Support
    url: https://scrapio.dev
  license:
    name: Proprietary
servers:
  - url: https://api.scrapio.dev
    description: Production
security:
  - bearerAuth: []
tags:
  - name: System
  - name: Fetch
  - name: Crawl
  - name: Map
  - name: Interact
  - name: Search
  - name: Google
  - name: Fast Search
  - name: Jobs
  - name: YouTube
  - name: Amazon
  - name: Walmart
  - name: Booking
  - name: Agoda
  - name: Airbnb
  - name: ChatGPT
  - name: Perplexity
  - name: Gemini
  - name: Bing
  - name: Reddit
  - name: TikTok
  - name: Apple App Store
  - name: Target
  - name: Monitors
paths:
  /v1/agoda/property:
    get:
      tags:
        - Agoda
      summary: Get Agoda property details
      description: >-
        Retrieves structured property details from an Agoda hotel page: name,
        description, address, coordinates, amenities, images, and per-room rates
        for the given stay window. Accepts a full Agoda property `url`, or a
        `property_id` plus `city_id` (from a prior search result's
        `meta_data.resolved_city_id`). Requires a Starter plan or higher.
      operationId: getAgodaProperty
      parameters:
        - name: property_id
          in: query
          required: false
          schema:
            description: Agoda numeric property ID
            type: string
            minLength: 1
        - name: url
          in: query
          required: false
          schema:
            description: Full Agoda property URL
            type: string
            format: uri
        - name: city_id
          in: query
          required: false
          schema:
            description: >-
              Agoda numeric city ID, required alongside property_id when url is
              not given (see GET /v1/agoda/search's resolved_city_id)
            type: string
            pattern: ^\d+$
        - name: check_in
          in: query
          required: true
          schema:
            description: Check-in date (YYYY-MM-DD)
            type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
        - name: check_out
          in: query
          required: true
          schema:
            description: Check-out date (YYYY-MM-DD)
            type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
        - name: adults
          in: query
          required: false
          schema:
            description: Number of adults (default 2)
            type: string
            pattern: ^\d+$
        - name: children
          in: query
          required: false
          schema:
            description: Number of children (default 0)
            type: string
            pattern: ^\d+$
        - name: children_ages
          in: query
          required: false
          schema:
            description: Comma-separated child ages; length must match children
            type: string
            pattern: ^\d+(,\d+)*$
        - name: rooms
          in: query
          required: false
          schema:
            description: Number of rooms (default 1)
            type: string
            pattern: ^\d+$
        - name: currency
          in: query
          required: false
          schema:
            description: Display currency (ISO 4217)
            type: string
            pattern: ^[A-Za-z]{3}$
        - name: pos_country
          in: query
          required: false
          schema:
            description: Point-of-sale market (ISO country code)
            type: string
            pattern: ^[A-Za-z]{2}$
        - name: device
          in: query
          required: false
          schema:
            type: string
            enum:
              - desktop
              - mobile
              - tablet
            description: Device profile to emulate
        - name: timeout_ms
          in: query
          required: false
          schema:
            description: Max time to wait, in ms
            type: string
            pattern: ^\d+$
      responses:
        '200':
          description: Structured Agoda property details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgodaPropertyResponse'
        '400':
          description: Invalid request parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Plan upgrade required for this tenant.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Agoda blocked the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Agoda execution backend unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-codeSamples:
        - lang: cURL
          label: cURL
          source: >-
            curl
            "https://api.scrapio.dev/v1/agoda/property?property_id=3&city_id=9395&check_in=2026-08-10&check_out=2026-08-12&adults=2&rooms=1&currency=EUR"
            \
              -H "Authorization: Bearer $SCRAPIO_API_KEY"
components:
  schemas:
    AgodaPropertyResponse:
      type: object
      properties:
        provider:
          type: string
          enum:
            - agoda
        page_type:
          type: string
          enum:
            - property
        snapshot_at:
          type: string
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
        property_id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        stars:
          anyOf:
            - type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            - type: 'null'
        description:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        coordinates:
          anyOf:
            - type: object
              properties:
                lat:
                  type: number
                lng:
                  type: number
              required:
                - lat
                - lng
              additionalProperties: false
            - type: 'null'
        review_score:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            - type: 'null'
        amenities:
          type: array
          items:
            type: string
        images:
          type: array
          items:
            type: string
        stay:
          type: object
          properties:
            check_in:
              type: string
            check_out:
              type: string
            nights:
              type: integer
              exclusiveMinimum: 0
              maximum: 9007199254740991
          required:
            - check_in
            - check_out
            - nights
          additionalProperties: false
        occupancy:
          type: object
          properties:
            adults:
              type: integer
              exclusiveMinimum: 0
              maximum: 9007199254740991
            children:
              type: integer
              minimum: 0
              maximum: 9007199254740991
            children_ages:
              type: array
              items:
                type: integer
                minimum: 0
                maximum: 9007199254740991
            rooms:
              type: integer
              exclusiveMinimum: 0
              maximum: 9007199254740991
          required:
            - adults
            - children
            - children_ages
            - rooms
          additionalProperties: false
        currency:
          anyOf:
            - type: string
            - type: 'null'
        pos_country:
          anyOf:
            - type: string
            - type: 'null'
        available:
          type: boolean
        rooms:
          type: array
          items:
            type: object
            properties:
              name:
                anyOf:
                  - type: string
                  - type: 'null'
              board_type:
                anyOf:
                  - type: string
                  - type: 'null'
              max_occupancy:
                anyOf:
                  - type: integer
                    exclusiveMinimum: 0
                    maximum: 9007199254740991
                  - type: 'null'
              price:
                type: object
                properties:
                  amount:
                    anyOf:
                      - type: number
                      - type: 'null'
                  currency:
                    anyOf:
                      - type: string
                      - type: 'null'
                  nights:
                    anyOf:
                      - type: integer
                        exclusiveMinimum: 0
                        maximum: 9007199254740991
                      - type: 'null'
                  per_night:
                    anyOf:
                      - type: number
                      - type: 'null'
                  taxes_included:
                    anyOf:
                      - type: boolean
                      - type: 'null'
                  display:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - amount
                  - currency
                  - nights
                  - per_night
                  - taxes_included
                  - display
                additionalProperties: false
              free_cancellation:
                anyOf:
                  - type: boolean
                  - type: 'null'
              cancellation_policy:
                anyOf:
                  - type: string
                  - type: 'null'
              pay_at_property:
                anyOf:
                  - type: boolean
                  - type: 'null'
            required:
              - name
              - board_type
              - max_occupancy
              - price
              - free_cancellation
              - cancellation_policy
              - pay_at_property
            additionalProperties: false
        url:
          type: string
          format: uri
      required:
        - provider
        - page_type
        - snapshot_at
        - property_id
        - name
        - type
        - stars
        - description
        - address
        - coordinates
        - review_score
        - review_count
        - amenities
        - images
        - stay
        - occupancy
        - currency
        - pos_country
        - available
        - rooms
        - url
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        request_id:
          type: string
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
        diagnostics:
          type: object
          properties:
            outcome:
              type: string
              enum:
                - failed
            retryable:
              type: boolean
            blocked:
              type: boolean
            timed_out:
              type: boolean
          required:
            - outcome
            - retryable
          additionalProperties: false
      required:
        - request_id
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````