Endpoint Playground
Test Crawlora's Search Agoda hotels by city API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
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"
}
]
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
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. Credential-free public data from Agoda's own hotel search.
{
"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"
}
]
}
}curl "https://api.crawlora.net/api/v1/agoda/hotels/search" \
-H "x-api-key: $CRAWLORA_API_KEY"