Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

location
string
required

Destination text

Minimum string length: 1
check_in
string
required

Check-in date (YYYY-MM-DD)

Pattern: ^\d{4}-\d{2}-\d{2}$
check_out
string
required

Check-out date (YYYY-MM-DD)

Pattern: ^\d{4}-\d{2}-\d{2}$
adults
string

Number of adults (default 2)

Pattern: ^\d+$
children
string

Number of children (default 0)

Pattern: ^\d+$
children_ages
string

Comma-separated child ages; length must match children

Pattern: ^\d+(,\d+)*$
rooms
string

Number of rooms (default 1)

Pattern: ^\d+$
currency
string

Display currency (ISO 4217)

Pattern: ^[A-Za-z]{3}$
pos_country
string

Point-of-sale market (ISO country code)

Pattern: ^[A-Za-z]{2}$
device
enum<string>

Device profile to emulate

Available options:
desktop,
mobile,
tablet
start_page
string

First page to crawl (default 1)

Pattern: ^\d+$
end_page
string
required

Last page to crawl, max 25 pages from start_page

Pattern: ^\d+$
timeout_ms
string

Max time to wait per page, in ms

Pattern: ^\d+$

Response

Agoda search crawl job queued.

request_id
string
required
mode
enum<string>
required
Available options:
async
status
enum<string>
required
Available options:
queued
job_id
string
required
job_type
string