Last updated
Changelogagoda.com API
HealthyRead-onlyStructured data from agoda.com. Generated from www.agoda.com.
/search5 credits per callSearch
Bookable properties (hotels, apartments, hostels, villas, ...) for a destination name or a map area, with the total price for the whole stay. Rows come in Agoda's own "best match" order, 45 per page (plus a few sold-out ones); each row has id, name, latitude, longitude, property_type, star_rating, review_score (0-10), review_count, total_price (whole stay, all rooms, taxes and fees included) with total_price_before_taxes and currency, cheapest_offer_free_cancellation, free_cancellation_available (some room can be cancelled free) and free_cancellation_until, photos, and url (the Agoda property page opened with these dates, guests and rooms). Sold-out properties come with available=false and no price. Also returns total (number of matching properties; for a circle, the number in its bounding square) and the resolved destination (null for a map area).
Authorization: Bearer <key> on every request.Parameters
city, area or landmark name, e.g. "Paris", "Sukhumvit", "Eiffel Tower"; used when no map area is given. A city gives the whole city, an area only that area, a landmark the properties Agoda lists near it, a property name the whole city it is in. The match chosen is returned as `destination`.
northern latitude of a bounding box (with south, east, west; overrides destination)
southern latitude of the bounding box
eastern longitude of the bounding box
western longitude of the bounding box
latitude of a circle centre (with lng and radius_km; overrides destination)
longitude of the circle centre
circle radius in kilometres (used with lat/lng)
arrival date YYYY-MM-DD (default: 30 days from today)
departure date YYYY-MM-DD (default: checkin + 2 nights)
number of adult guests
number of children
comma-separated child ages, e.g. "4,9" (missing ages default to 8)
number of rooms
ISO 4217 currency code for prices, e.g. USD, EUR, THB
result page, starting at 1
Response fields
destination
namee.g."Bangkok"categorye.g."City"ine.g."Thailand"city_ide.g.9395object_ide.g.9395checkine.g."2026-12-28"checkoute.g."2026-12-30"nightse.g.2pagee.g.1totale.g.3692counte.g.49properties
ide.g.546811namee.g."Ramada Graand Swiss Sukhumvit 11"latitudee.g.13.7408599853516longitudee.g.100.556640625property_typee.g."Hotel"star_ratinge.g.4review_scoree.g.8review_counte.g.12112areae.g."Sukhumvit"citye.g."Bangkok"countrye.g."Thailand"availablee.g.truetotal_pricee.g.303.46total_price_before_taxese.g.257.82currencye.g."USD"taxes_and_fees_includede.g.truecheapest_offer_free_cancellatione.g.truefree_cancellation_availablee.g.truefree_cancellation_untile.g."2026-12-27T00:00:00.000+07:00"photosurle.g."https://www.agoda.com/grand-swiss-hotel_2/hotel/bangkok-th.html?checkIn=2026-12-28&checkOut=2026-12-30&los=2&rooms=1&adults=2&children=0¤cyCode=USD"pagination
counte.g.49has_moree.g.truenext_cursore.g."WzEsIjhhZjEzOWI3IixudWxsLDAseyJwYWdlIjoyfV0"fetched_ate.g."2026-11-28T14:29:40.132Z"agee.g.0curl "https://api.maviapi.com/v1/sites/agoda/search?destination=Bangkok&radius_km=2&adults=2&children=0&rooms=1¤cy=USD&page=1" \-H "Authorization: Bearer $MAVI_KEY"
{
"destination": {
"name": "Bangkok",
"category": "City",
"in": "Thailand",
"city_id": 9395,
"object_id": 9395
},
"checkin": "2026-12-28",
"checkout": "2026-12-30",
"nights": 2,
"page": 1,
"total": 3692,
"count": 49,
"properties": [
{
"id": 546811,
"name": "Ramada Graand Swiss Sukhumvit 11",
"latitude": 13.7408599853516,
"longitude": 100.556640625,
"property_type": "Hotel",
"star_rating": 4,
"review_score": 8,
"review_count": 12112,
"area": "Sukhumvit",
"city": "Bangkok",
"country": "Thailand",
"available": true,
"total_price": 303.46,
"total_price_before_taxes": 257.82,
"currency": "USD",
"taxes_and_fees_included": true,
"cheapest_offer_free_cancellation": true,
"free_cancellation_available": true,
"free_cancellation_until": "2026-12-27T00:00:00.000+07:00",
"photos": [
"https://pix8.agoda.net/hotelImages/546811/0/afcb17dd30a6a9f547935896d7dd7b20.jpeg?va=1&ce=2"
],
"url": "https://www.agoda.com/grand-swiss-hotel_2/hotel/bangkok-th.html?checkIn=2026-12-28&checkOut=2026-12-30&los=2&rooms=1&adults=2&children=0¤cyCode=USD"
}
],
"pagination": {
"count": 49,
"has_more": true,
"next_cursor": "WzEsIjhhZjEzOWI3IixudWxsLDAseyJwYWdlIjoyfV0"
},
"fetched_at": "2026-11-28T14:29:40.132Z",
"age": 0
}Get all the data, no code
Collect every page of GET /search into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.
Use agoda.com API from Claude, ChatGPT and your coding tools
Add this URL as a custom connector and sign in to maviapi. Nothing to install.
https://mcp.maviapi.com/mcpOr run it locally, with each endpoint of agoda.com API as its own tool:
claude mcp add maviapi -e MAVIAPI_TOOLS=agoda -- npx -y '@maviapi/mcp'Import agoda.com API into Postman and other tools
How to importPaste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.
- OpenAPI 3.1
https://api.maviapi.com/v1/apis/agoda/openapi.json - Postman
https://api.maviapi.com/v1/apis/agoda/postman.json
The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.
Build with the agoda.com API
Choose a starting endpoint
- Search
GET /searchBookable properties (hotels, apartments, hostels, villas, ...) for a destination name or a map area, with the total price for the whole stay. Rows come in Agoda's own "best match" order, 45 per page (plus a few sold-out ones); each row has id, name, latitude, longitude, property_type, star_rating, review_score (0-10), review_count, total_price (whole stay, all rooms, taxes and fees included) with total_price_before_taxes and currency, cheapest_offer_free_cancellation, free_cancellation_available (some room can be cancelled free) and free_cancellation_until, photos, and url (the Agoda property page opened with these dates, guests and rooms). Sold-out properties come with available=false and no price. Also returns total (number of matching properties; for a circle, the number in its bounding square) and the resolved destination (null for a map area).
Parameters and response fields for GET /search
Request parameters Name Type / location Required Description destination string / query No city, area or landmark name, e.g. "Paris", "Sukhumvit", "Eiffel Tower"; used when no map area is given. A city gives the whole city, an area only that area, a landmark the properties Agoda lists near it, a property name the whole city it is in. The match chosen is returned as `destination`. north string / query No northern latitude of a bounding box (with south, east, west; overrides destination) south string / query No southern latitude of the bounding box east string / query No eastern longitude of the bounding box west string / query No western longitude of the bounding box lat string / query No latitude of a circle centre (with lng and radius_km; overrides destination) lng string / query No longitude of the circle centre radius_km number / query No circle radius in kilometres (used with lat/lng) checkin string / query No arrival date YYYY-MM-DD (default: 30 days from today) checkout string / query No departure date YYYY-MM-DD (default: checkin + 2 nights) adults integer / query No number of adult guests children integer / query No number of children child_ages string / query No comma-separated child ages, e.g. "4,9" (missing ages default to 8) rooms integer / query No number of rooms currency string / query No ISO 4217 currency code for prices, e.g. USD, EUR, THB page integer / query No result page, starting at 1 Response fields Field Type Description destination object destination.name string destination.category string destination.in string destination.city_id integer destination.object_id integer checkin string checkout string nights integer page integer total integer count integer properties object[] properties[].id integer properties[].name string properties[].latitude number properties[].longitude number properties[].property_type string properties[].star_rating number properties[].review_score number properties[].review_count integer properties[].area string properties[].city string properties[].country string properties[].available boolean properties[].total_price number properties[].total_price_before_taxes number properties[].currency string properties[].taxes_and_fees_included boolean properties[].cheapest_offer_free_cancellation boolean properties[].free_cancellation_available boolean properties[].free_cancellation_until string properties[].photos string[] properties[].url string pagination object pagination.count integer pagination.has_more boolean pagination.next_cursor string fetched_at string age integer - Property
GET /property/{property_id}One property by its Agoda id: name, property type, star rating, description, address, coordinates, all photos, amenities (grouped as on Agoda), guest review score (0-10) and count, check-in/check-out times, and the lowest total price for the given stay (whole stay, all rooms, taxes and fees included) with currency, cancellation info and the property page url carrying the same search. Price fields are null when nothing is bookable for those dates. The id is the `id` returned by search.
Parameters and response fields for GET /property/{property_id}
Request parameters Name Type / location Required Description property_id integer / path Yes Agoda property id, as returned by search checkin string / query No arrival date YYYY-MM-DD (default: 30 days from today) checkout string / query No departure date YYYY-MM-DD (default: checkin + 2 nights) adults integer / query No number of adult guests children integer / query No number of children child_ages string / query No comma-separated child ages, e.g. "4,9" (missing ages default to 8) rooms integer / query No number of rooms currency string / query No ISO 4217 currency code for the price, e.g. USD, EUR, THB Response fields Field Type Description id integer name string property_type string star_rating number description string description_long string address object address.street string address.postal_code string address.area string address.city string address.country string address.country_code string latitude number longitude number review_score number review_count integer check_in_from string check_in_until string check_out_until string useful_info object useful_info.Check-in from string useful_info.Check-out until string useful_info.Check-in until string useful_info.Travel time to airport (minutes) string useful_info.Airport transfer fee string useful_info.Daily Internet/Wi-Fi fee string useful_info.Breakfast charge (unless included in room price) string useful_info.Year property opened string useful_info.Number of floors string useful_info.Room voltage string useful_info.Number of rooms string useful_info.Non-smoking rooms/floors string useful_info.Number of restaurants string useful_info.Number of bars/lounges string useful_info.License Id / Local Tax ID/ Entity Name string useful_info.Daily parking fee string amenities object[] amenities[].group string amenities[].items string[] languages_spoken string[] photos object[] photos[].url string photos[].caption string photos[].group string checkin string checkout string nights integer lowest_total_price number lowest_total_price_before_taxes number currency string taxes_and_fees_included boolean available boolean cheapest_offer_free_cancellation boolean free_cancellation_available boolean free_cancellation_until null url string fetched_at string age integer
Export agoda.com data to CSV
Each list below downloads as a CSV file with one row per record. Collect it into a dataset with "Get all the data, no code" under the console above. The dataset reads the list page by page, and you download it as CSV, JSON or JSONL.
| List | CSV columns |
|---|---|
SearchGET /search | id, name, latitude, longitude, property_type, star_rating, review_score, review_count, area, city, country, available, total_price, total_price_before_taxes, currency, taxes_and_fees_included, cheapest_offer_free_cancellation, free_cancellation_available, free_cancellation_until, photos, url |
A nested value (a list or an object) is written as JSON in one cell. How datasets and exports work
agoda.com API questions
What you get, what it costs and how to call it.
Is there an official agoda.com API?
This agoda.com API is not official. It is an independent, hosted API from maviapi for the public data on agoda.com, and it is not made, endorsed or supported by agoda.com. Whether agoda.com offers a developer API of its own is a question for agoda.com. This one is ready to call with a maviapi key, and every endpoint and field it returns is documented on this page.
What data can I get from the agoda.com API?
The agoda.com API has 2 endpoints. Each returns JSON with the parameters and fields documented above:
- GET
/search: Bookable properties (hotels, apartments, hostels, villas, ...) for a destination name or a map area, with the total price for the whole stay. - GET
/property/{property_id}: One property by its Agoda id: name, property type, star rating, description, address, coordinates, all photos, amenities (grouped as on Agoda), guest review…
How much does the agoda.com API cost?
Calls are paid in credits from your maviapi plan, and only successful calls are charged. Every endpoint of this API costs 5 credits per call. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. Failed calls are free. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.
How do I call the agoda.com API?
Send an HTTPS request to the endpoint with your API key in the Authorization header. For example, GET /search:
curl 'https://api.maviapi.com/v1/sites/agoda/search' \
-H "Authorization: Bearer $MAVI_KEY"Create a key on your API keys page, or try any endpoint first in the console above with the free test key.
What are the ways to get agoda.com data as JSON?
Each way to get agoda.com data as JSON fits a different need:
- Your own scraper: Full control and no vendor, but the parsing, the blocked requests and the repairs after every change on agoda.com are yours. Better for a one-off pull from a page that rarely changes.
- Apify: A marketplace of Actors you run, where input, output and price are set by each Actor. Better when an Actor already returns what you need, or you want to host your own code. See maviapi vs Apify.
- RapidAPI: A hub of APIs added by many providers, called with one RapidAPI key and priced per API. Better when you already use the hub and one of its APIs covers what you need. Source: RapidAPI docs.
- maviapi: The agoda.com API on this page: 2 documented endpoints, a published response schema and one key for the whole catalog. Better when this data is part of your product and you do not want to maintain a scraper.
What happens when agoda.com changes its layout?
Your code does not change. maviapi keeps the agoda.com API working when agoda.com changes its pages, so you keep calling the same endpoints and get JSON in the shape documented here. See its current health on the status page and what changed in its changelog.
Will an update break my agoda.com API integration?
No. An endpoint you use never changes shape: new fields, optional parameters and endpoints are added beside it, and a change that would break a call ships as a new endpoint. Ignore response fields you do not know, and follow the changelog for what is new.
Related APIs
- Tripadvisor API
Trip-planning data from Tripadvisor: geo search plus attractions, restaurants and hotels by location (geo_id), with…
- Songkick Concerts API
Upcoming concerts and music festivals in any city from Songkick, for a date window, with venues, performers, prices…
- Google Maps API
Structured data from maps.google.com.