Wego is a travel company serving millions of travelers across the Middle East, Asia and beyond. This API exposes the building blocks wego.com itself runs on: resolve travel locations, search flights and hotels, compare fares and room rates, and continue on wego.com to book.
All /v1 operations require an OAuth2 bearer token from the Wego auth server.
Start here
- Agent setup: give your AI agent one line and it drives Wego.
- Ways to use this API: the skill, the CLI, or direct HTTP.
- Authentication: get a token, two ways.
- Quickstart: Dubai to London, end to end.
- Wego CLI: the same funnels, one command per step.
- API Reference: every endpoint, request and response.
The model
Both verticals follow the same funnel: create a search, read ranked results, open one result, then continue to wego.com. We return a URL where the traveler books; we never take a charge.
flights: search -> results -> trip -> fare -> booking-link
hotels: search -> results -> rooms -> booking-linkThe API Reference documents the machine contract in full: how async search settles, why ids expire, the fare and rate kinds, error codes, and rate limits.