Skip to content

Last updated

Changelog

agoda.com API

HealthyRead-only

Structured data from agoda.com. Generated from www.agoda.com.

Base URL
https://api.maviapi.com/v1/sites/agoda
2
Endpoints
13 min ago
Last verified
100%
Uptime / 7d
1298ms
p50 latency
GET/search5 credits per call

Search

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).

Bearer auth. Pass your key as Authorization: Bearer <key> on every request.
stringOptionalin query

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`.

stringOptionalin query

northern latitude of a bounding box (with south, east, west; overrides destination)

stringOptionalin query

southern latitude of the bounding box

stringOptionalin query

eastern longitude of the bounding box

stringOptionalin query

western longitude of the bounding box

stringOptionalin query

latitude of a circle centre (with lng and radius_km; overrides destination)

stringOptionalin query

longitude of the circle centre

numberOptionalin query

circle radius in kilometres (used with lat/lng)

stringOptionalin query

arrival date YYYY-MM-DD (default: 30 days from today)

stringOptionalin query

departure date YYYY-MM-DD (default: checkin + 2 nights)

integerOptionalin query

number of adult guests

integerOptionalin query

number of children

stringOptionalin query

comma-separated child ages, e.g. "4,9" (missing ages default to 8)

integerOptionalin query

number of rooms

stringOptionalin query

ISO 4217 currency code for prices, e.g. USD, EUR, THB

integerOptionalin query

result page, starting at 1

destinationobject5 fields
namestringe.g."Bangkok"
categorystringe.g."City"
instringe.g."Thailand"
city_idintegere.g.9395
object_idintegere.g.9395
checkinstringe.g."2026-12-28"
checkoutstringe.g."2026-12-30"
nightsintegere.g.2
pageintegere.g.1
totalintegere.g.3692
countintegere.g.49
propertiesobject[]21 fields
idintegere.g.546811
namestringe.g."Ramada Graand Swiss Sukhumvit 11"
latitudenumbere.g.13.7408599853516
longitudenumbere.g.100.556640625
property_typestringe.g."Hotel"
star_ratingnumbere.g.4
review_scorenumbere.g.8
review_countintegere.g.12112
areastringe.g."Sukhumvit"
citystringe.g."Bangkok"
countrystringe.g."Thailand"
availablebooleane.g.true
total_pricenumbere.g.303.46
total_price_before_taxesnumbere.g.257.82
currencystringe.g."USD"
taxes_and_fees_includedbooleane.g.true
cheapest_offer_free_cancellationbooleane.g.true
free_cancellation_availablebooleane.g.true
free_cancellation_untilstringe.g."2026-12-27T00:00:00.000+07:00"
photosstring[]
urlstringe.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&currencyCode=USD"
paginationobject3 fields
countintegere.g.49
has_morebooleane.g.true
next_cursorstringe.g."WzEsIjhhZjEzOWI3IixudWxsLDAseyJwYWdlIjoyfV0"
fetched_atstringe.g."2026-11-28T14:29:40.132Z"
ageintegere.g.0
Try itLive
GET
https://api.maviapi.com/v1/sites/agoda/search?destination=Bangkok&radius_km=2&adults=2&children=0&rooms=1&currency=USD&page=1
Request
curl "https://api.maviapi.com/v1/sites/agoda/search?destination=Bangkok&radius_km=2&adults=2&children=0&rooms=1&currency=USD&page=1" \
-H "Authorization: Bearer $MAVI_KEY"
Example1.4 KB
{
  "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&currencyCode=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.

How to connect
https://mcp.maviapi.com/mcp

Or 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 import

Paste 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 /search

    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).

    Parameters and response fields for GET /search
    Request parameters
    NameType / locationRequiredDescription
    destinationstring / queryNocity, 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`.
    northstring / queryNonorthern latitude of a bounding box (with south, east, west; overrides destination)
    southstring / queryNosouthern latitude of the bounding box
    eaststring / queryNoeastern longitude of the bounding box
    weststring / queryNowestern longitude of the bounding box
    latstring / queryNolatitude of a circle centre (with lng and radius_km; overrides destination)
    lngstring / queryNolongitude of the circle centre
    radius_kmnumber / queryNocircle radius in kilometres (used with lat/lng)
    checkinstring / queryNoarrival date YYYY-MM-DD (default: 30 days from today)
    checkoutstring / queryNodeparture date YYYY-MM-DD (default: checkin + 2 nights)
    adultsinteger / queryNonumber of adult guests
    childreninteger / queryNonumber of children
    child_agesstring / queryNocomma-separated child ages, e.g. "4,9" (missing ages default to 8)
    roomsinteger / queryNonumber of rooms
    currencystring / queryNoISO 4217 currency code for prices, e.g. USD, EUR, THB
    pageinteger / queryNoresult page, starting at 1
    Response fields
    FieldTypeDescription
    destinationobject
    destination.namestring
    destination.categorystring
    destination.instring
    destination.city_idinteger
    destination.object_idinteger
    checkinstring
    checkoutstring
    nightsinteger
    pageinteger
    totalinteger
    countinteger
    propertiesobject[]
    properties[].idinteger
    properties[].namestring
    properties[].latitudenumber
    properties[].longitudenumber
    properties[].property_typestring
    properties[].star_ratingnumber
    properties[].review_scorenumber
    properties[].review_countinteger
    properties[].areastring
    properties[].citystring
    properties[].countrystring
    properties[].availableboolean
    properties[].total_pricenumber
    properties[].total_price_before_taxesnumber
    properties[].currencystring
    properties[].taxes_and_fees_includedboolean
    properties[].cheapest_offer_free_cancellationboolean
    properties[].free_cancellation_availableboolean
    properties[].free_cancellation_untilstring
    properties[].photosstring[]
    properties[].urlstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursorstring
    fetched_atstring
    ageinteger
  • 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
    NameType / locationRequiredDescription
    property_idinteger / pathYesAgoda property id, as returned by search
    checkinstring / queryNoarrival date YYYY-MM-DD (default: 30 days from today)
    checkoutstring / queryNodeparture date YYYY-MM-DD (default: checkin + 2 nights)
    adultsinteger / queryNonumber of adult guests
    childreninteger / queryNonumber of children
    child_agesstring / queryNocomma-separated child ages, e.g. "4,9" (missing ages default to 8)
    roomsinteger / queryNonumber of rooms
    currencystring / queryNoISO 4217 currency code for the price, e.g. USD, EUR, THB
    Response fields
    FieldTypeDescription
    idinteger
    namestring
    property_typestring
    star_ratingnumber
    descriptionstring
    description_longstring
    addressobject
    address.streetstring
    address.postal_codestring
    address.areastring
    address.citystring
    address.countrystring
    address.country_codestring
    latitudenumber
    longitudenumber
    review_scorenumber
    review_countinteger
    check_in_fromstring
    check_in_untilstring
    check_out_untilstring
    useful_infoobject
    useful_info.Check-in fromstring
    useful_info.Check-out untilstring
    useful_info.Check-in untilstring
    useful_info.Travel time to airport (minutes)string
    useful_info.Airport transfer feestring
    useful_info.Daily Internet/Wi-Fi feestring
    useful_info.Breakfast charge (unless included in room price)string
    useful_info.Year property openedstring
    useful_info.Number of floorsstring
    useful_info.Room voltagestring
    useful_info.Number of rooms string
    useful_info.Non-smoking rooms/floorsstring
    useful_info.Number of restaurantsstring
    useful_info.Number of bars/loungesstring
    useful_info.License Id / Local Tax ID/ Entity Namestring
    useful_info.Daily parking feestring
    amenitiesobject[]
    amenities[].groupstring
    amenities[].itemsstring[]
    languages_spokenstring[]
    photosobject[]
    photos[].urlstring
    photos[].captionstring
    photos[].groupstring
    checkinstring
    checkoutstring
    nightsinteger
    lowest_total_pricenumber
    lowest_total_price_before_taxesnumber
    currencystring
    taxes_and_fees_includedboolean
    availableboolean
    cheapest_offer_free_cancellationboolean
    free_cancellation_availableboolean
    free_cancellation_untilnull
    urlstring
    fetched_atstring
    ageinteger

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.

ListCSV columns
SearchGET /searchid, 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
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.

  • 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.