e5d7af502419
Resolve travel locations
Resolves a free-text location query to canonical Wego places (cities, airports, states, districts, hotels) with codes and coordinates, for use in later flight and hotel searches. When metadata.hasAmbiguity is true, clarify with the user before proceeding.
Query parameters
Free text to resolve to typed places with codes. A place-name search (city, airport, district, hotel).
Place types to resolve; repeat or comma-separate to mix.
Language tag for localized place names (e.g. en, ar). Omitted, the search is language-neutral: the query matches names in any language (sent upstream as the locale wildcard) and results carry canonical English names. Pass a tag to localize the returned names instead. getNearbyPlaces, by contrast, defaults to en.
Page number, 1-based (max 100). Defaults to 1.
Results per page (1-50). Defaults to 10.
Response
Matching places plus pagination/ambiguity metadata.