Agoda hotel listings, nightly prices, ratings, addresses, rooms and optional guest reviews worldwide, one row per entity.
Search Agoda hotels, rooms and guest reviews
Request schema
Destination. A city name such as Chiang Mai, Seoul or Tokyo, in a language Agoda recognizes. A name that is not recognized as a city returns no rows; hotel page URLs, a city page URL or a city ID take precedence.
Agoda city ID. Numeric Agoda city ID, such as 9395 for Bangkok. Used instead of destination, unless hotel page URLs or a city page URL are set.
City page URL. Agoda city page URL, such as https://www.agoda.com/city/bangkok-th.html. Returns listed hotels without dated prices; takes precedence over destination and regionId, but not detailUrls.
Hotel page URLs. Up to 20 distinct Agoda hotel page URLs, such as https://www.agoda.com/asia-hotel-bangkok/hotel/bangkok-th.html. These take precedence over other targets; readable pages return hotel rows, with dated prices when available and optional review rows.
Check-in date. Check-in date in YYYY-MM-DD format. Leave empty to use 21 days from today.
Check-out date. Check-out date in YYYY-MM-DD format, 1 to 30 nights after check-in. Leave empty to use two nights after check-in. Stays above 14 nights discover hotels with a 14-night window and price the full stay.
Adults. Number of adults, from 1 to 10.
Children. Number of children, from 0 to 10. Optional childAges can specify each child's age.
Children ages. Optional ages in years for each child (0-17). When set, provide one entry per child.
Rooms. Number of rooms, from 1 to 10.
Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).
Read hotel pages. Add descriptions, amenities, FAQs and available address details to the first search-result hotels. Guest reviews are separate rows only when includeReviews is enabled.
Hotel pages to read. Number of search-result hotels to enrich, from 0 to 20. Direct hotel page inputs are read separately from this setting.
Return guest reviews. Return each available guest review as a separate billed row. Hotel and review rows share maxResults; this also enables hotel details.
Include sponsored hotels. Keep hotels Agoda marks as sponsored.
Return room variants. Return each sellable room variant (room type, bed configuration, price plan) as a separate billed row, in addition to hotel and review rows. Room rows share maxResults.
Agoda site. Agoda site, such as www.agoda.com, www.agoda.co.th or www.agoda.co.jp. A supported country site determines the language and currency.
Language (www.agoda.com). Language and currency setting on www.agoda.com, such as en-us for USD or ja-jp for JPY. A supported country site overrides this setting.
Optional. Your id for this request: repeating it while the job runs returns the same job.
Response schema
{
"allOf": [
{
"type": "object",
"properties": {
"jobId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"succeeded",
"partial",
"failed",
"cancelled"
]
},
"done": {
"type": "boolean"
},
"rowsAvailable": {
"type": "integer"
},
"rowsDelivered": {
"type": "integer",
"description": "Rows already delivered (and billed) to you for this job."
},
"rowsLimit": {
"type": "integer",
"description": "Most rows this job can deliver."
},
"estimatedFinishSec": {
"type": "integer",
"description": "While running: estimated seconds until done."
},
"statusUrl": {
"type": "string"
},
"resultsUrl": {
"type": "string"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"retentionHours": {
"type": "integer"
},
"error": {
"$ref": "#/components/schemas/ErrorDetail"
}
}
},
{
"type": "object",
"properties": {
"offset": {
"type": "integer"
},
"nextOffset": {
"type": "integer"
},
"hasMore": {
"type": "boolean"
},
"rowCount": {
"type": "integer"
},
"rowsBilled": {
"type": "integer",
"description": "Rows delivered by this response."
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Row"
}
},
"meta": {
"type": "object",
"additionalProperties": true
}
}
}
]
}Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call "https://proxy.apihub.io/agoda-com/v1/search" \
-d '{"destination":"Bangkok","regionId":"example regionId","cityPageUrl":"example cityPageUrl","detailUrls":["string"],"checkin":"example checkin","checkout":"example checkout","adults":2,"children":0,"childAges":["string"],"rooms":1,"maxResults":1,"enrichDetails":true,"enrichLimit":1,"includeReviews":false,"includeSponsored":false,"includeRooms":false,"domain":"www.agoda.com","locale":"en-us","requestId":"example requestId"}'Or call the proxy directly (curl / any HTTP client):
curl -X POST https://proxy.apihub.io/agoda-com/v1/search \
-H "Authorization: Bearer ahk_your_key" \
-H "Content-Type: application/json" \
-d '{"destination":"Bangkok","regionId":"example regionId","cityPageUrl":"example cityPageUrl","detailUrls":["string"],"checkin":"example checkin","checkout":"example checkout","adults":2,"children":0,"childAges":["string"],"rooms":1,"maxResults":1,"enrichDetails":true,"enrichLimit":1,"includeReviews":false,"includeSponsored":false,"includeRooms":false,"domain":"www.agoda.com","locale":"en-us","requestId":"example requestId"}'
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for Agoda Hotels Prices Rooms and Reviews Data.