Agoda API endpoint
Use Crawlora's Get Agoda hotel detail API to extract supported public Agoda data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.
/agoda/hotels/{property_id}Returns full hotel detail from Agoda: identity (name, any former name), an accommodation type code, address (street address, postal code, city, country), guest rating, a main photo, room count, hotel chain id, a long and short description, and short-form policy statements (minimum age, adult/child definitions, extra-bed and additional-room booking policy). Credential-free public data from Agoda's own hotel content source. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and agent-native workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.
Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| property_id (path) | string | Yes | Numeric Agoda property id, from a prior search call's property_id field or the id embedded in an Agoda hotel URL | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/agoda/hotels/%3Cproperty_id%3E" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint is executed through Crawlora's managed scraping infrastructure.
- `property_id` must be numeric; a non-numeric or non-positive value returns `400` before any upstream request is made. - An unknown/nonexistent property id returns `404`. - `min_age` is an empty list on properties with no minimum-age policy on file; the other policy fields (`adult`, `extra_bed`, `additional`) are Agoda's own short display strings, not a structured rule schema. - `accommodation_type` is Agoda's own numeric property-type code. Known values: `34` (Hotel), `33` (Hostel), `37` (Resort), `120` (Apartment). - `main_image_url` is omitted when Agoda has no main photo on file for the property. Guest-review scores are not yet included in this response — see the endpoint's ongoing coverage notes for what is planned. Example response: ```json { "code": 200, "msg": "OK", "data": { "property_id": 10637, "display_name": "Baiyoke Sky Hotel", "accommodation_type": 34, "rating": 4, "address": { "city": {"id": 9395, "name": "Bangkok"}, "country": {"id": 106, "name": "Thailand"}, "address1": "222 Ratchaprarop Road, Ratchathewi", "postal_code": "10400" }, "main_image_url": "https://pix8.agoda.net/hotelImages/10637/-1/878a9b58ccd19eee41b98d20e388c080.jpg?ca=9&ce=1", "number_of_rooms": "659", "chain_id": 3603, "description_long": "Experience Luxury and Convenience at Baiyoke Sky Hotel. Welcome to Baiyoke Sky Hotel, a luxurious 4-star hotel located in the heart of Bangkok, Thailand...", "description_short": "Experience Luxury and Convenience at Baiyoke Sky Hotel.", "policy": { "adult": ["Guests 12 years and older are considered adults."], "extra_bed": ["Extra beds are dependent on the room you choose. Please check the individual room capacity for more details."], "additional": ["When booking more than 5 rooms, different policies and additional supplements may apply."] }, "source_url": "https://www.agoda.com/search?cid=-1&selectedproperty=10637&city=9395" } } ```
Crawlora does not silently return bad data when the upstream page cannot be used.
| Status | Common failure case |
|---|---|
| 400 | Invalid input or missing required parameter |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal execution error |
| 502 | Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved |
When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"property_id": 10637,
"display_name": "Baiyoke Sky Hotel",
"accommodation_type": 34,
"rating": 4,
"address": {
"city": {
"id": 9395,
"name": "Bangkok"
},
"country": {
"id": 106,
"name": "Thailand"
},
"address1": "222 Ratchaprarop Road, Ratchathewi",
"postal_code": "10400"
},
"main_image_url": "https://pix8.agoda.net/hotelImages/10637/-1/878a9b58ccd19eee41b98d20e388c080.jpg?ca=9&ce=1",
"number_of_rooms": "659",
"chain_id": 3603,
"description_long": "Experience Luxury and Convenience at Baiyoke Sky Hotel. Welcome to Baiyoke Sky Hotel, a luxurious 4-star hotel located in the heart of Bangkok, Thailand...",
"description_short": "Experience Luxury and Convenience at Baiyoke Sky Hotel.",
"policy": {
"adult": [
"Guests 12 years and older are considered adults."
],
"extra_bed": [
"Extra beds are dependent on the room you choose. Please check the individual room capacity for more details."
],
"additional": [
"When booking more than 5 rooms, different policies and additional supplements may apply."
]
},
"source_url": "https://www.agoda.com/search?cid=-1&selectedproperty=10637&city=9395"
}
}Request schema
No body schema
Response schema
#/definitions/agoda.DetailResponse
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| accommodation_type | integer | No | 34 | AccommodationType is Agoda's own numeric property-type code (contentSummary.accommodationType), confirmed live 2026-08-05 -- see notes/agoda-maintenance.md for the full set of codes observed. Known values: 34 = Hotel, 33 = Hostel, 37 = Resort, 120 = Apartment. | ||
| address | agoda.Address | No | ||||
| address.address1 | string | No | 222 Ratchaprarop Road, Ratchathewi | |||
| address.city | agoda.City | No | ||||
| address.city.id | integer | No | 9395 | |||
| address.city.name | string | No | Bangkok | |||
| address.country | agoda.Country | No | ||||
| address.country.id | integer | No | 106 | |||
| address.country.name | string | No | Thailand | |||
| address.postal_code | string | No | 10400 | |||
| chain_id | integer | No | 3603 | |||
| children_stay_free_type_id | integer | No | 1 | |||
| description_long | string | No | ||||
| description_short | string | No | Experience Luxury and Convenience at Baiyoke Sky Hotel. | |||
| display_name | string | No | Baiyoke Sky Hotel | |||
| formerly_name | string | No | ||||
| main_image_url | string | No | https://pix8.agoda.net/hotelImages/10637/-1/878a9b58ccd19eee41b98d20e388c080.jpg?ca=9&ce=1 | MainImageURL is the property's primary photo, resolved from Agoda's own content API (contentImages.mainImage.urls) and normalized to an absolute https:// URL. Empty if Agoda has no main image on file. | ||
| number_of_rooms | string | No | 659 | |||
| policy | agoda.Policy | No | ||||
| policy.additional | array | No | When booking more than 5 rooms, different policies and additional supplements may apply. | |||
| policy.adult | array | No | Guests 12 years and older are considered adults. | |||
| policy.extra_bed | array | No | Extra beds are dependent on the room you choose. Please check the individual room capacity for more details. | |||
| policy.min_age | array | No | ||||
| property_id | integer | No | 10637 | |||
| rating | number | No | 4 | |||
| source_url | string | No | https://www.agoda.com/search?cid=-1&selectedproperty=10637&city=9395 | SourceURL is a real, live-verified Agoda URL that resolves directly to this property (Agoda's own affiliate redirect target), even though it is not the pretty slug-based hotel page -- see notes/agoda-maintenance.md. |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/agoda/hotels/%3Cproperty_id%3E" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms