Agoda API for search results
Send any Agoda page URL with recipe=agoda and get title, url, image as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 3 fields
- 5 credits a page · $0.50 per 1,000
- Working · 100% in 7 days
5,000 free credits for 7 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.agoda.com/city/bali-id.html' \
--data-urlencode 'recipe=agoda'
{
"result": {
"listings": [
{
"title": "Sunday Hotel Arshika Sunset Road"
}
]
},
"success": true
}
Is there an official Agoda API?
Official API: approved partners only
Not an open one. Approved affiliate and distribution partners can use Agoda's Search and Book APIs after onboarding. There is no open self-serve key.
Source: Agoda Partner APIs on partners.agoda.com, checked November 6, 2026.
How to get Agoda data as JSON today
- Get a free API key: 5,000 free credits for 7 days, no card.
- Send any Agoda page URL with
recipe=agodato the Scrape API (the call). - Get 3 fields as JSON, 5 credits a page, billed only when the call succeeds.
Ujeebu's Agoda recipe returns title, url, image and 0 more fields from any public Agoda page as JSON: send the URL with recipe=agoda to the Scrape API, 5 credits a page, no Agoda account or partner approval needed.
What you get from Agoda
The fields of each page type and a real sample from our last validation, shortened.
Search and listing pages recipe=agoda 5 credits a page
| Field | Type | Example |
|---|---|---|
listings | list of 3+ items | |
listings[].url | URL | https://www.agoda.com/arshika-bali-sunset-road-h36082487/hotel/bali... |
listings[].title | text | Sunday Hotel Arshika Sunset Road |
listings[].image | image URL | https://pix8.agoda.net/hotelImages/64410066/0/a8d379e7d6cd9cff25689... |
Sample answer, validated 2026-11-13
{
"listings": [
{
"url": "https://www.agoda.com/arshika-bali-sunset-road-h36082487/hotel/bali-id.html",
"title": "Sunday Hotel Arshika Sunset Road",
"image": "https://pix8.agoda.net/hotelImages/64410066/0/1cd3c006c2454eafaf0303ec08843a1e.jpeg?va=1&ce=2&s=450x450"
},
{
"url": "https://www.agoda.com/palette-resort-argya-santi-jimbaran-h61779679/hotel/bali-id.html",
"title": "Palette Resort Argya Santi Jimbaran",
"image": "https://pix8.agoda.net/hotelImages/61779679/0/cad9747de59e88307048830022302b22.jpeg?va=1&ce=3&s=450x450"
}
]
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on Agoda (JavaScript rendering).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.agoda.com/city/bali-id.html' \
--data-urlencode 'recipe=agoda'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://www.agoda.com/city/bali-id.html", "recipe": "agoda"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["listings"][:3]:
print(item["title"])
# Example output:
# Sunday Hotel Arshika Sunset Road
# Palette Resort Argya Santi Jimbaran
const params = new URLSearchParams({
url: "https://www.agoda.com/city/bali-id.html",
recipe: "agoda",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.listings.slice(0, 3)) {
console.log(item.title);
}
// Example output:
// Sunday Hotel Arshika Sunset Road
// Palette Resort Argya Santi Jimbaran
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
Search Agoda with parameters
One call, no URL: send recipe=agoda/search with the parameters below. We build the Agoda search URL and answer the listing JSON, at the same credits as the page call.
| Parameter | Type | Values |
|---|---|---|
city required | string | City name in English. |
country required | string | Two-letter country code of the city. |
One call (city=Bali, country=id)
curl -G 'https://api.ujeebu.com/scrape' \
-H 'ApiKey: YOUR_API_KEY' \
-d 'recipe=agoda/search' \
-d 'city=Bali' \
-d 'country=id'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"recipe": "agoda/search", "city": "Bali", "country": "id"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["listings"][:3]:
print(item["title"])
# Example output:
# Sunday Hotel Arshika Sunset Road
# Palette Resort Argya Santi Jimbaran
const params = new URLSearchParams({
recipe: "agoda/search",
city: "Bali",
country: "id",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.listings.slice(0, 3)) {
console.log(item.title);
}
// Example output:
// Sunday Hotel Arshika Sunset Road
// Palette Resort Argya Santi Jimbaran
The answer carries the built URL in the Ujb-Url header; a missing or invalid parameter answers 400 naming it (free). Have the URL already? Send it with recipe=agoda/listing. Search with parameters in the docs
What people build with Agoda data
Inventory tracking
See which properties are listed for a destination and how that changes.
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Search results | 5 | $0.82 | $0.50 |
FAQ
Is there a Agoda API?
Not an open one. Approved affiliate and distribution partners can use Agoda's Search and Book APIs after onboarding. There is no open self-serve key. Ujeebu's Agoda recipe returns title, url, image and 0 more fields from any public Agoda page as JSON: send the URL with recipe=agoda to the Scrape API, 5 credits a page, no Agoda account or partner approval needed.
Does Agoda have a public API?
Not an open one. Approved affiliate and distribution partners can use Agoda's Search and Book APIs after onboarding. There is no open self-serve key. The public pages are the way in: Ujeebu's Agoda recipe returns title, url, image and 0 more fields from any public Agoda page as JSON: send the URL with recipe=agoda to the Scrape API, 5 credits a page, no Agoda account or partner approval needed.
What does the Agoda recipe return?
JSON with 3 fields from search results (recipe=agoda), for example title, url, image. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape Agoda?
5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on Agoda: JavaScript rendering. Send only the URL and recipe=agoda.
What happens when Agoda changes its pages?
We check Agoda every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I search Agoda with parameters?
Yes, in one call: send recipe=agoda/search with city, country and no URL. We build the Agoda search URL (returned in the Ujb-Url header), apply recipe=agoda/listing and answer its JSON, at the same credits as the page call. A missing or invalid parameter answers 400 naming it, and that call is free.
Related recipes
Booking.comSearch results, Property page · 5 credits
AirbnbSearch results · 5 credits
KayakProperty page · 5 credits
PricelineProperty page · 5 credits
LinkedInSearch results, Detail page, Profile · 5 credits
AmazonSearch results · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with Agoda.
Get Agoda data as JSON today.
5,000 free credits for 7 days. No card.