Wego API
The public Wego API: resolve travel locations, create asynchronous flight and hotel searches, read ranked results, open one trip or hotel, list fares and room rates, and build wego.com booking or share links. Reference lookups (public holidays, visa-free destinations, flight schedules, nearby airports) need no search at all. OAuth2 bearer, RFC 9457 problem bodies, RateLimit headers. Research Preview.
This API exposes 22 operations across 22 paths, organized into 7 resource areas, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 0.19.0.
Requests are made against a single base URL, https://api.wego.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
Wego API declares
2 security schemes
for authenticating requests.
It accepts HTTP bearer tokens (JWT) (bearerAuth).
It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 3 scopes.
By default, every request must be authenticated.
bearerAuth— Wego auth server access token, sent as Authorization: Bearer (RFC 6750).oauth2— OAuth2 authorization-code flow (PKCE supported) against the Wego auth server.
Paths & Operations 22
Across 22 paths, the API surfaces 22 operations — 19 GET, 3 POST. They span 7 resource areas: Operations, User, Feedback, Places, Countries, Flights, Hotels. Each is listed below with its method, path, parameters, and response codes.
The authenticated caller. getCurrentUser returns the identity behind the bearer token (the CLI's wego whoami).
Send feedback about the Wego CLI/API experience. submitFeedback records an optional category plus at least one of a rating (1-5) or a free-text message (the CLI's wego feedback);…
Turn free text into typed travel locations. getPlaces resolves a city, airport, district or hotel name to results carrying the codes the flight and hotel searches take as input. g…
Country-keyed reference data an agent can call before any search, and combine. getCountryHolidays returns a market's public holidays for spotting long weekends; getVisaFreeDestina…
The flight funnel: createFlightSearch starts an async search, getFlightSearchResults reads ranked snapshots while providers answer, getFlightTrip opens one trip with every fare. F…
The hotel funnel, same shape as flights: createHotelSearch, getHotelSearchResults for ranked hotels, getHotel for static detail, getHotelRates for bookable rooms and rates (cheape…
Schemas 1
The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Problem (7 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
This is an independent, third-party profile of Wego API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.