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

# Queue a reviews crawl

> Submit a real Agoda reviews capture as an async job, with no deadline.



## OpenAPI

````yaml get /v1/agoda/reviews/crawl
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/reviews/crawl:
    get:
      tags:
        - Agoda
      summary: Queue an Agoda reviews crawl job
      description: >-
        Submits a real Agoda reviews capture as an async job, returning a
        `job_id` to poll. Identical to `GET /v1/agoda/reviews` in every way
        except execution mode: capturing real review data can take longer than a
        synchronous HTTP request can safely wait (Cloudflare's edge timeout is
        ~100s), so this runs the same capture with no artificial deadline
        instead of racing one. Prefer this over the synchronous endpoint when
        you need real review data reliably, not just a fast response. Requires a
        Starter plan or higher.
      operationId: queueAgodaReviewsCrawl
      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: page
          in: query
          required: false
          schema:
            description: Review page number (default 1)
            type: string
            pattern: ^\d+$
        - name: sort_by
          in: query
          required: false
          schema:
            description: Review sort order
            type: string
            minLength: 1
        - name: language
          in: query
          required: false
          schema:
            description: Review language filter (ISO 2-letter code)
            type: string
            pattern: ^[A-Za-z]{2}$
        - name: timeout_ms
          in: query
          required: false
          schema:
            description: Max time to wait, in ms
            type: string
            pattern: ^\d+$
      responses:
        '202':
          description: Agoda reviews crawl job queued.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncJobAcceptedResponse'
        '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'
      x-codeSamples:
        - lang: cURL
          label: cURL
          source: >-
            curl
            "https://api.scrapio.dev/v1/agoda/reviews/crawl?property_id=3&city_id=9395"
            \
              -H "Authorization: Bearer $SCRAPIO_API_KEY"
components:
  schemas:
    AsyncJobAcceptedResponse:
      type: object
      properties:
        request_id:
          type: string
        mode:
          type: string
          enum:
            - async
        status:
          type: string
          enum:
            - queued
        job_id:
          type: string
        job_type:
          type: string
      required:
        - request_id
        - mode
        - status
        - job_id
      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

````