Endpoint Playground
Returns hotel search results for an Agoda city: the matching property ids for that city plus a direct link to each property's listing page. Callers may supply a known Agoda city id or a free-text city name; when both are supplied city_id takes precedence.
14 Oct 2026: 10 properties; 2 fields had a value in every checked item.
Sample value profiles: source_url: agoda.com.
curl 'https://api.crawlora.net/api/v1/agoda/hotels/search' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| city_id | integer | No | Numeric Agoda city id, e.g. 9395 for Bangkok. Either city_id or city is required; city_id takes precedence when both are supplied. | |
| city | string | No | Free-text city name, resolved to a numeric city id via Agoda's own destination search. Ignored when city_id is also supplied. | |
| page | integer | No | 1-indexed result page, defaults to 1 | |
| limit | integer | No | Results per page, defaults to 10, maximum 50 |
{
"code": 200,
"msg": "OK",
"data": {
"city_id": 9395,
"page": 1,
"limit": 10,
"count": 10,
"properties": [
{
"property_id": 10630,
"source_url": "https://www.agoda.com/search?cid=-1&selectedproperty=10630&city=9395"
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.