Agoda API

Agoda API for Hotel Search, Prices, Room Rates, Details, and Guest Reviews

Scrappa's Agoda API returns structured JSON from Agoda, the online hotel booking platform. Look up destinations, search hotels in a city for any dates with nightly and total prices in your currency, open hotel details with amenities, images and policies, compare room types and offers, and page through guest reviews. Prices, ratings and review dates come back as numbers and ISO 8601 timestamps.

500 free credits
No card needed
From $0.20 / 1k
Pay as you go
Structured JSON
Ready for apps
API key access
Test in minutes
5
Endpoints
45
Hotels per page
$0.20
Per 1k requests

Try it now

Make one request. Inspect structured JSON.

Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.

Request preview
Request
curl -X GET "https://scrappa.co/api/agoda/search?city_id=9395&check_in=2027-03-14&check_out=2027-03-16&adults=2&rooms=1&currency=USD" \
  -H "Accept: application/json" \
  -H "X-API-KEY: YOUR_API_KEY"
JSON response
{
  "success": true,
  "data": {
    "city_id": 9395,
    "check_in": "2027-03-14",
    "check_out": "2027-03-16",
    "currency": "USD",
    "total": 6129,
    "page": 1,
    "has_more": true,
    "next_page": 2,
    "hotels": [
      {
        "position": 1,
        "id": 10637,
        "name": "Baiyoke Sky Hotel",
        "url": "https://www.agoda.com/baiyoke-sky-hotel/hotel/bangkok-th.html",
        "property_type": "Hotel",
        "star_rating": 4,
        "latitude": 13.754597663879395,
        "longitude": 100.5403060913086,
        "city": "Bangkok",
        "area": "Pratunam",
        "country_code": "TH",
        "review_score": 8.1,
        "review_count": 58128,
        "images": [
          "https://pix8.agoda.net/hotelImages/10637/-1/878a9b58ccd19eee41b98d20e388c080.jpg?ca=9&ce=1"
        ],
        "price_per_night": 63.27,
        "price_total": 135.41,
        "currency": "USD",
        "free_cancellation": false
      }
    ]
  },
  "meta": {
    "endpoint_family": "hotel_search",
    "billable": true
  }
}

What you can build

Structured data for real applications. Here are some ideas.

Hotel Price Monitoring

Track nightly and total stay prices for a city or a single hotel across dates and currencies.

Rate Comparison

Compare Agoda room offers with Booking.com and Google Hotels, including free cancellation and breakfast flags.

Reputation Tracking

Read recent guest reviews with ratings, stay dates and hotel responses to follow guest sentiment.

Travel Search Features

Power destination autocomplete, hotel lists and detail pages in your own travel product.

Market Research

Measure hotel supply, star ratings and review scores per city with paginated search results.

Agoda scraper API

Agoda API for hotel search, prices, rooms, and reviews

The Agoda API is built for travel price monitoring, rate comparison, and hotel research. Search hotels in any city for your dates and get nightly and total prices with the review score, star rating, coordinates and images, then open a hotel for its amenities, facility groups and policies, its room offers and its guest reviews.

Find city ids and hotel ids by name with the destination suggest endpoint.

Search hotels with check-in and check-out dates, guests, rooms, children ages and currency, 45 hotels per page.

Read nightly price excluding taxes, total price including taxes and free cancellation per hotel.

Compare room types with every offer, discount, breakfast and cancellation policy.

Page through guest reviews sorted by recent, rating or helpfulness.

Choose the right Agoda API endpoint

Use Hotel Search for price coverage

Pass a city id and your dates to list hotels with position, review score, star rating, nightly price and total price, then follow next_page until has_more is false.

Open Agoda Hotel Search API docs

Use Hotel Detail for the full property

Open a hotel by id to read its address, description, up to 30 images, top amenities, facility groups and check-in and check-out policies.

Open Agoda Hotel Detail API docs

Use Hotel Rooms and Reviews for depth

Add the room endpoint for offers per room type, and the reviews endpoint for ratings, stay dates and hotel responses.

Open Agoda Hotel Rooms API docs

Available endpoints

Everything you need in one API.

Scrappa vs ScrapingBee / ScraperAPI

See how Scrappa compares to the official API.

Agoda hotel data as JSON
Scrappa:
ScrapingBee / ScraperAPI: Build your own parser
Search with prices and pagination
Scrappa:
ScrapingBee / ScraperAPI:
Room offers and guest reviews
Scrappa:
ScrapingBee / ScraperAPI:
Price per 1k requests
Scrappa: From $0.20
ScrapingBee / ScraperAPI: Varies by credits per request
Unified API key
Scrappa: Yes (80+ APIs)
ScrapingBee / ScraperAPI: Scraping only
Free tier
Scrappa: 500 credits/month
ScrapingBee / ScraperAPI: Trial credits

Key features

Destination suggest with city ids, hotel ids and country ids
Hotel search by city and dates with nightly price excluding taxes, total stay price and free cancellation
Prices in the currency you choose, 45 hotels per page with has_more and next_page
Hotel details with address, description, images, amenities, facility groups and policies
Room types with every offer, discount, breakfast and cancellation policy
Guest reviews from Agoda and Booking.com with ISO 8601 UTC dates and hotel responses

Frequently asked questions

No. Scrappa is an independent service and is not affiliated with or endorsed by Agoda. The Agoda API returns structured JSON from public pages through a Scrappa API key.

Every Scrappa account includes 500 free credits each month. After that, each request costs one credit, which works out to $0.20 to $0.30 per 1,000 requests depending on the credit pack or plan. Failed requests are never charged.

Use the suggest endpoint to find a city id, a country id and hotel ids. The search endpoint needs a city id, the hotel, rooms and reviews endpoints need a hotel id, and the rooms endpoint also needs the city id and country id.

Search pages hold up to 45 hotels and reviews pages about 40 reviews. Use the 1-based page parameter. has_more is true while more pages exist and next_page holds the next page number. A page past the end is a successful empty response.

No. An unknown hotel or city id answers a non-billable 404 with error code NOT_FOUND. Every upstream failure is also non-billable.

Start using the Agoda API

Sign up and get 500 free credits. No credit card required.