Resolve a place name to each provider’s own codes
resolve_locationResolve any place name, IATA code, or country into provider-specific location codes, revealing which airlines serve that destination before you set a fare watch.
Instructions
Every provider uses its own internal airport/city/country codes — you cannot just pass a Russian or English place name straight into a search. Call this FIRST for both the origin and the destination before add_watch, so you can see what each provider actually understood the place as. Accepts a country name (RU or EN, e.g. "Таиланд" / "Thailand"), a 3-letter IATA code (e.g. "BKK"), or a handful of built-in city aliases (Moscow, London, Singapore, Delhi, ...). Returns, per provider, the list of matched airports/cities/country codes — an empty list for a provider means that provider does not serve that place at all (e.g. Ryanair has no Moscow routes), which is normal, not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Place name or code to resolve, e.g. "Москва", "Thailand", "BKK" | |
| providers | No | Provider ids to resolve against; defaults to providers that work without a browser session (currently ryanair, kupibilet, spicejet). Pass ["jetstar"] explicitly to try it anyway — it usually 409s without a browser-derived cookie, see list_providers.requiresBrowserSession. |