Book travel from your app or your agent in five calls.
One key for live hotel and flight supply, card payments, signed permission to spend and price watches. We route to the supplier, take the payment and keep the record.
# Sandbox host; your key from the dashboard
export BASE_URL=https://api.sandbox.oex.sh
curl -X POST "$BASE_URL/v1/hotel/search" \
-H "x-api-key: $API_KEY" \
-H "Content-Type: application/json" \
-d '{ "destination": { "city": "Dubai", "country_code": "AE" },
"check_in": "2026-11-10", "check_out": "2026-11-12",
"occupancy": [{ "adults": 2, "children": [] }],
"guest_nationality": "GB", "currency": "USD" }'- 1Search
- 2Offers
- 3Prebook
- 4Book
- 5Read back
Point your agent here.
Every page has a Markdown twin, and every guide lists the calls it makes in order. An agent reads the index, fetches one page and calls the API, without scraping HTML.
- llms.txt lists every task in order, with the page to read and its calls.
- .md on any URL returns the page as Markdown, with its calls up front.
- skill.md teaches Claude when to use OEX and how not to double-book.
$ curl https://docs.oex.sh/llms.txt$ curl https://docs.oex.sh/hotel/llms.txt$ curl https://docs.oex.sh/hotel/hotel-getting-started.md$ curl --create-dirs -o ~/.claude/skills/oex/SKILL.md https://docs.oex.sh/skill.mdPick what you're building.
Travel is the core. Payments and Mandates decide how money moves. Watcher builds on both.
Search a destination, price the hotels you want, hold the rooms and book them. Several rooms on one booking.
Get bookable fares straight away, with no search step. Prebook, ticket, add bags, then quote and cancel.
Your customer pays by card inside your checkout. The card number never touches your servers.
A user's signed, revocable permission for an agent to spend, checked before any money moves.
Watch a hotel or a whole city. Get a signed webhook when the price drops, or book it automatically.
Keep these close.
The pages you'll come back to once you're past your first booking.