
Agoda API
Property Insights
/property/price-gridAgoda /property/price-grid API
Stop scraping. Start building. The /property/price-grid endpoint gives you instant, programmatic access to Agoda data through a clean, well-documented REST API that just works. No more wrestling with headless browsers, maintaining proxy pools, or writing fragile CSS selectors that break with every site redesign. RealtyAPI handles all of that behind a simple API key authentication, so your integration stays stable while we handle the complexity underneath. From early-stage prototype to scaled production system, this endpoint grows with your application — start with 250 free calls to validate your idea, then move to a paid plan when you are ready to ship.
import requests
url = "https://agoda.realtyapi.io/property/price-grid"
headers = {
"x-realtyapi-key": "YOUR_API_KEY"
}
params = {
"propertyId": "8110340",
"cityId": "9395"
}
response = requests.get(url, headers=headers, params=params)
data = response.json()
print(data)What You Can Do With
the /property/price-grid Endpoint.
Here's what this endpoint provides and how you can use the data it returns.
Endpoint Parameters
7 params| Parameter | Type | Required |
|---|---|---|
propertyId | NUMBER | Required |
cityId | NUMBER | Required |
startDate | STRING | Optional |
endDate | STRING | Optional |
los | NUMBER | Optional |
adults | NUMBER | Optional |
currency | STRING | Optional |
Required Parameters
This endpoint requires propertyId, cityId to fetch data. Pass these as query parameters in your request.
JSON Response
Receive structured JSON containing /property/price-grid data from Agoda. Parse it directly into your application models.
Real-Time Results
Every request fetches live Agoda data. No stale caches — you always get the most current information available.
Error Handling
Clear HTTP status codes and error messages help you handle edge cases gracefully. See our documentation for the full error reference.