The playground
Try any of 1404 endpoints — live.
Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.
Playground demo key · api.reefapi.com
post/agoda/v1/destinations1 credit
Resolve a free-text place ('Bangkok', 'Tokyo', 'Maldives', an airport or a landmark) into Agoda's destination ids. Returns matched cities, areas, airports, points of interest and hotels with their object_id, type and (for cities) the city_id + hotel count. Use this first to get the city_id the city_browse action needs.
Working example
Parameters
request preview
curl -X POST https://api.reefapi.com/agoda/v1/destinations \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"query":"Bangkok"}'Hit Send to run this endpoint live.