Travel
Agoda logo

Agoda API

agoda.com

Agoda - travel platform for hotels, vacation rentals, flights, and tours.

Actions
4
Category
Travel
Login
Not required
Output
JSON

Call the Agoda API

Submit a task, then poll the job until it settles. This example runs ag_hotel_details.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "ag_hotel_details",
    "params": {
      "hotel_id": 287686
    }
  }'

4 actions on agoda.com

Read

  • Hotel Details

    ag_hotel_detailsread1 credit / call

    Returns full hotel detail including name, address, rating, amenities, policies, highlights, and nearby attractions.

    hotel_id
    integer · required
    language_id
    integer
    currency_code
    string
  • Hotel Reviews

    ag_hotel_reviewsread1 credit / call

    Returns reviews for a hotel by hotel ID with reviewer, date, rating, positives, negatives, and host response.

    hotel_id
    integer · required
    page
    integer
    page_size
    integer
    language_id
    integer
    sort_by
    integer
  • Hotel Search

    ag_search_hotelsread2 credits / call

    Returns paginated hotel search by city ID with prices, reviews, images, geo, and badges.

    city_id
    integer · required
    check_in
    string
    check_out
    string
    adults
    integer
    rooms
    integer
    children
    integer
    currency
    string
    language_id
    integer
    page
    integer
    page_size
    integer
    sort_by
    string
  • Location Search

    ag_location_searchread1 credit / call

    Returns city, country, landmark, and hotel identifiers including city_id for a free-text query.

    query
    string · required
    language_id
    integer

Agoda API questions

Is there an API for Agoda?
Agoda does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for agoda.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Agoda data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when agoda.com changes its markup, Anakin updates the action.
Do I need a Agoda account?
No. Every Agoda action listed here runs anonymously — no account and no credentials required.
What does the Agoda API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Travel APIs

All Travel sites