1 credit per call5 endpoints18 datapointsChecked working 6 Dec 2026
Agoda API
Agoda API for hotel search by city and dates, hotel details, guest reviews, room availability and suggestions as JSON. 5 endpoints, 1 credit per call.
{
"success": true,
"data": {
"city_id": 9395,
"check_in": "2027-03-14",
"check_out": "2027-03-16",
"currency": "USD",
"total": 4280,
"page": 1,
"has_more": true,
"next_page": 2,
"hotels": [
{
"position": 1,
"id": 287436,
"name": "Novotel Bangkok Platinum Pratunam",
"url": "https://www.agoda.com/novotel-bangkok-platinum-pratunam/hotel/bangkok-th.html",
"property_type": "Hotel",
"star_rating": 4.5,
"latitude": 13.749682426452637,
"longitude": 100.54058837890625,
"city": "Bangkok",
"area": "Pratunam",
"country_code": "TH",
"review_score": 8.7,
"review_count": 18852,
"images": [
"https://pix8.agoda.net/hotelImages/287436/0/1a466049d63823ec5db5e989041d9d59.jpeg?va=1&ce=2",
"https://pix8.agoda.net/hotelImages/287436/7220712/12742f20db512e67f9b6507cba765346.jpeg?va=1&ce=3",
"https://q-xx.bstatic.com/xdata/images/hotel/max500/914524987.jpg?k=5d79318549ccf90cefe377ae966e3bdbb71206b0a1da6f37fad33b3367258833&o="
],
"price_per_night": 112.01,
"price_total": 263.66,
"currency": "USD",
"free_cancellation": false
},
{
"position": 2,
"id": 87219375,
"name": "Hotel Royal Bangkok",
"url": "https://www.agoda.com/hotel-royal-bangkok-h3093614/hotel/bangkok-th.html",
"property_type": "Hotel",
"star_rating": 4,
"latitude": 13.740442,
"longitude": 100.50989,
"city": "Bangkok",
"area": "China Town",
"country_code": "TH",
"review_score": 8.9,
"review_count": 5017,
"images": [
"https://pix8.agoda.net/hotelImages/87219375/0/05112d5505cb99fd983d3370d5d50d98.jpeg?va=1&ce=3",
"https://pix8.agoda.net/hotelImages/87219375/1362738907/57d6bc6c3d3836740a1777d689898826.jpg?va=1&ce=3",
"https://q-xx.bstatic.com/xdata/images/hotel/max500/625011556.jpg?k=d3182fdd500cc864ea82578cd1fbb90f9a9cfd7c008686e4bb52b575e3864c7e&o="
],
"price_per_night": 37.82,
"price_total": 91.11,
"currency": "USD",
"free_cancellation": false
},
{
"position": 3,
"id": 10681,
"name": "Novotel Bangkok On Siam Square Hotel",
"url": "https://www.agoda.com/novotel-bangkok-on-siam-square-hotel/hotel/bangkok-th.html",
"property_type": "Hotel",
"star_rating": 4.5,
"latitude": 13.7443780899048,
"longitude": 100.53483581543,
"city": "Bangkok",
"area": "Siam",
"country_code": "TH",
"review_score": 8.4,
"review_count": 27182,
"images": [
"https://q-xx.bstatic.com/xdata/images/hotel/max500/920316359.jpg?k=2d00ac82fc30c41e2601cec712ab95be49545a94916ec2195e50c5486e74e153&o=",
"https://pix8.agoda.net/hotelImages/21607812/459355650/bb07a9991972af922a385c195af69977.jpeg?va=1&ce=4",
"https://q-xx.bstatic.com/xdata/images/hotel/max500/920318015.jpg?k=f4d45e1149eac3c1cdc26e93426bc66f1cedfe56a0ba4d96ee1176a2d12ac4c1&o="
],
"price_per_night": 125.85,
"price_total": 296.26,
"currency": "USD",
"free_cancellation": false
}
]
},
"meta": {
"endpoint_family": "hotel_search"
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | positioninteger | idinteger | namestring | urlurl | property_typestring | star_ratingnumber | latitudenumber | longitudenumber | citystring | areastring | country_codestring | review_scorenumber | review_countinteger | imagesstring[] | price_per_nightnumber | price_totalnumber | currencystring | free_cancellationboolean |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | 287436 | Novotel Bangkok Platinum Pratunam | https://www.agoda.com/novotel-bangkok-platinum-pratunam/hotel/bangkok-th.html | Hotel | 4.5 | 13.749682426452637 | 100.54058837890625 | Bangkok | Pratunam | TH | 8.7 | 18852 | [3 items] | 112.01 | 263.66 | USD | false |
| 2 | 2 | 87219375 | Hotel Royal Bangkok | https://www.agoda.com/hotel-royal-bangkok-h3093614/hotel/bangkok-th.html | Hotel | 4 | 13.740442 | 100.50989 | Bangkok | China Town | TH | 8.9 | 5017 | [3 items] | 37.82 | 91.11 | USD | false |
| 3 | 3 | 10681 | Novotel Bangkok On Siam Square Hotel | https://www.agoda.com/novotel-bangkok-on-siam-square-hotel/hotel/bangkok-th.html | Hotel | 4.5 | 13.7443780899048 | 100.53483581543 | Bangkok | Siam | TH | 8.4 | 27182 | [3 items] | 125.85 | 296.26 | USD | false |
[
{
"position": 1,
"id": 287436,
"name": "Novotel Bangkok Platinum Pratunam",
"url": "https://www.agoda.com/novotel-bangkok-platinum-pratunam/hotel/bangkok-th.html",
"property_type": "Hotel",
"star_rating": 4.5,
"latitude": 13.749682426452637,
"longitude": 100.54058837890625,
"city": "Bangkok",
"area": "Pratunam",
"country_code": "TH",
"review_score": 8.7,
"review_count": 18852,
"images": [
"https://pix8.agoda.net/hotelImages/287436/0/1a466049d63823ec5db5e989041d9d59.jpeg?va=1&ce=2",
"https://pix8.agoda.net/hotelImages/287436/7220712/12742f20db512e67f9b6507cba765346.jpeg?va=1&ce=3",
"https://q-xx.bstatic.com/xdata/images/hotel/max500/914524987.jpg?k=5d79318549ccf90cefe377ae966e3bdbb71206b0a1da6f37fad33b3367258833&o="
],
"price_per_night": 112.01,
"price_total": 263.66,
"currency": "USD",
"free_cancellation": false
},
{
"position": 2,
"id": 87219375,
"name": "Hotel Royal Bangkok",
"url": "https://www.agoda.com/hotel-royal-bangkok-h3093614/hotel/bangkok-th.html",
"property_type": "Hotel",
"star_rating": 4,
"latitude": 13.740442,
"longitude": 100.50989,
"city": "Bangkok",
"area": "China Town",
"country_code": "TH",
"review_score": 8.9,
"review_count": 5017,
"images": [
"https://pix8.agoda.net/hotelImages/87219375/0/05112d5505cb99fd983d3370d5d50d98.jpeg?va=1&ce=3",
"https://pix8.agoda.net/hotelImages/87219375/1362738907/57d6bc6c3d3836740a1777d689898826.jpg?va=1&ce=3",
"https://q-xx.bstatic.com/xdata/images/hotel/max500/625011556.jpg?k=d3182fdd500cc864ea82578cd1fbb90f9a9cfd7c008686e4bb52b575e3864c7e&o="
],
"price_per_night": 37.82,
"price_total": 91.11,
"currency": "USD",
"free_cancellation": false
},
{
"position": 3,
"id": 10681,
"name": "Novotel Bangkok On Siam Square Hotel",
"url": "https://www.agoda.com/novotel-bangkok-on-siam-square-hotel/hotel/bangkok-th.html",
"property_type": "Hotel",
"star_rating": 4.5,
"latitude": 13.7443780899048,
"longitude": 100.53483581543,
"city": "Bangkok",
"area": "Siam",
"country_code": "TH",
"review_score": 8.4,
"review_count": 27182,
"images": [
"https://q-xx.bstatic.com/xdata/images/hotel/max500/920316359.jpg?k=2d00ac82fc30c41e2601cec712ab95be49545a94916ec2195e50c5486e74e153&o=",
"https://pix8.agoda.net/hotelImages/21607812/459355650/bb07a9991972af922a385c195af69977.jpeg?va=1&ce=4",
"https://q-xx.bstatic.com/xdata/images/hotel/max500/920318015.jpg?k=f4d45e1149eac3c1cdc26e93426bc66f1cedfe56a0ba4d96ee1176a2d12ac4c1&o="
],
"price_per_night": 125.85,
"price_total": 296.26,
"currency": "USD",
"free_cancellation": false
}
]position,id,name,url,property_type,star_rating,latitude,longitude,city,area,country_code,review_score,review_count,images,price_per_night,price_total,currency,free_cancellation 1,287436,Novotel Bangkok Platinum Pratunam,https://www.agoda.com/novotel-bangkok-platinum-pratunam/hotel/bangkok-th.html,Hotel,4.5,13.749682426452637,100.54058837890625,Bangkok,Pratunam,TH,8.7,18852,"[""https://pix8.agoda.net/hotelImages/287436/0/1a466049d63823ec5db5e989041d9d59.jpeg?va=1&ce=2"",""https://pix8.agoda.net/hotelImages/287436/7220712/12742f20db512e67f9b6507cba765346.jpeg?va=1&ce=3"",""https://q-xx.bstatic.com/xdata/images/hotel/max500/914524987.jpg?k=5d79318549ccf90cefe377ae966e3bdbb71206b0a1da6f37fad33b3367258833&o=""]",112.01,263.66,USD,false 2,87219375,Hotel Royal Bangkok,https://www.agoda.com/hotel-royal-bangkok-h3093614/hotel/bangkok-th.html,Hotel,4,13.740442,100.50989,Bangkok,China Town,TH,8.9,5017,"[""https://pix8.agoda.net/hotelImages/87219375/0/05112d5505cb99fd983d3370d5d50d98.jpeg?va=1&ce=3"",""https://pix8.agoda.net/hotelImages/87219375/1362738907/57d6bc6c3d3836740a1777d689898826.jpg?va=1&ce=3"",""https://q-xx.bstatic.com/xdata/images/hotel/max500/625011556.jpg?k=d3182fdd500cc864ea82578cd1fbb90f9a9cfd7c008686e4bb52b575e3864c7e&o=""]",37.82,91.11,USD,false 3,10681,Novotel Bangkok On Siam Square Hotel,https://www.agoda.com/novotel-bangkok-on-siam-square-hotel/hotel/bangkok-th.html,Hotel,4.5,13.7443780899048,100.53483581543,Bangkok,Siam,TH,8.4,27182,"[""https://q-xx.bstatic.com/xdata/images/hotel/max500/920316359.jpg?k=2d00ac82fc30c41e2601cec712ab95be49545a94916ec2195e50c5486e74e153&o="",""https://pix8.agoda.net/hotelImages/21607812/459355650/bb07a9991972af922a385c195af69977.jpeg?va=1&ce=4"",""https://q-xx.bstatic.com/xdata/images/hotel/max500/920318015.jpg?k=f4d45e1149eac3c1cdc26e93426bc66f1cedfe56a0ba4d96ee1176a2d12ac4c1&o=""]",125.85,296.26,USD,false
Recorded 12 Nov 2026 · 3 items shown · 18 datapoints per itemGET /v1/agoda/search?check_in=2027-03-14&check_out=2027-03-16&city_id=9395
18 datapoints
Identity
- idinteger
- namestring
- property_typestring
Contact
- urlurl
Location
- latitudenumber
- longitudenumber
- citystring
- areastring
- country_codestring
- free_cancellationboolean
Reputation
- star_ratingnumber
- review_scorenumber
- review_countinteger
- imagesstring[]
Price
- price_per_nightnumber
- price_totalnumber
- currencystring
Other
- positioninteger
Playground
Run this API
curl "https://api.perceptlayer.com/v1/agoda/search?check_in=2027-03-14&check_out=2027-03-16&city_id=9395" \
-H "X-API-Key: $API_KEY"Agoda · 5 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/agoda/hotel | hotel_id | hotel | 1 credit |
GET/v1/agoda/reviews | hotel_id+2 optional | hotel_idhotel_namereviews | 1 credit |
GET/v1/agoda/rooms | check_incheck_outhotel_idcity_idcountry_id+3 optional | hotel_idhotel_namecheck_incheck_outcurrencycheapest_price_per_night+2 more | 1 credit |
GET/v1/agoda/search | check_incheck_outcity_id+5 optional | city_idcheck_incheck_outcurrencyhotels | 1 credit |
GET/v1/agoda/suggest | query | idnametypecity_idcity_namecountry_id+2 more | 1 credit |
Overview
About the Agoda API
What you can get
The Agoda API returns Agoda hotel data as JSON through 5 endpoints.
- Search:
searchtakes acity_id,check_inandcheck_out, withadults,rooms,children_ages[],currencyandpage. - Hotels:
hoteltakes ahotel_id. - Rooms:
roomstakes ahotel_id,city_id,country_id,check_inandcheck_out, withadults,roomsandchildren_ages[]. - Reviews:
reviewstakes ahotel_id, withpageandsort(recent, rating_high, rating_low or helpful). - Suggestions:
suggesttakes aquery.
search and rooms take the same stay parameters (check_in, check_out, adults, rooms, children_ages[]), and hotel, rooms and reviews all take a hotel_id.
How a call works
Search hotels in a city for a stay: GET /v1/agoda/search?city_id=...&check_in=2027-01-08&check_out=2027-01-10&adults=2 with your key in the X-API-Key header. search and reviews page with page. Every successful call costs 1 credit; failed calls cost nothing.
More travel APIs
Use cases
Track hotel rates in a city for given dates
Use the Agoda API to track hotel rates in a city for given datesCheck room availability for a stay and party size
Use the Agoda API to check room availability for a stay and party sizeCompare hotels in a destination by price
Use the Agoda API to compare hotels in a destination by priceCollect a hotel's reviews, sorted by recency or rating, for sentiment analysis
Use the Agoda API to collect a hotel's reviews, sorted by recency or rating, for sentiment analysisFAQ
Questions
Do I need an Agoda API key?
No. You call this Agoda API with your Perceptlayer key in the `X-API-Key` header, so there's no Agoda partner account to set up.
How much does the Agoda API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Can I get Agoda hotel reviews?
Yes. `reviews` takes a `hotel_id`, with `page` and `sort` (recent, rating_high, rating_low or helpful).
Is this the official Agoda API?
No. Perceptlayer is an independent service and is not affiliated with Agoda. It returns Agoda data as JSON with a Perceptlayer key, so there is no Agoda developer account, app review or partner approval to get first. It only reads data: if Agoda has an official API and you need to act on your own Agoda account, such as posting, managing orders or reading private data, use that one.
Should I build an Agoda scraper instead?
You can, but an Agoda scraper is code you maintain: page changes break it, requests get blocked, and Agoda's terms govern how you collect data. The Agoda API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Agoda API with 100 free credits
No credit card. Failed calls are never billed.