Search Route Prices
search_route_pricesData-only search for cached route prices from the monolith backend. Prices are not an offer and are based on data found by users during the last 48 hours. Always set locale to the language of the user's current request, independently of market and route. Provide at least origin or destination. Use YYYY-MM for a month, season, flexible dates, or when the user did not name an exact day; use YYYY-MM-DD only when the user explicitly named that date, and never invent or sample a day. For multiple periods, call this tool once per period with the same market and trip settings. After every relevant search is complete, call render_route_prices exactly once with the complete structured results you want displayed. Empty tickets means no matching cached prices were found, not that no flights operate. Use unique=true with only origin to find the cheapest destinations from a city. Use resolve_city_iata_code first when you know a city name but not its IATA code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Pagination page number. | |
| limit | No | Number of tickets to return. Maximum 1000. | |
| direct | No | Whether to return only direct flights. Defaults to false. | |
| locale | Yes | Language of the user's current request. Always set this explicitly from the current request; do not infer it from the market, route, or ChatGPT interface language. | |
| market | No | Supported market used for both cached prices and the subsequent live search. Defaults to ru. | ru |
| oneWay | No | Whether to search one-way tickets. Defaults to true. Set false when the user asks for round-trip prices or returnAt is provided. | |
| origin | No | Optional IATA city or airport code for the origin. If you know only a city name, call resolve_city_iata_code first. Required when destination is absent. | |
| unique | No | Return unique destinations when origin is specified and destination is absent. Use this to find the cheapest destinations from a city. | |
| sorting | No | Sort by price or by route popularity. Defaults to price. | price |
| currency | No | Supported ISO 4217 currency code. Use one of the enum values. | RUB |
| returnAt | No | Optional return date or month in YYYY-MM or YYYY-MM-DD format. Use oneWay=false for round trips. | |
| departureAt | No | Optional departure date or month in YYYY-MM or YYYY-MM-DD format. | |
| destination | No | Optional IATA city or airport code for the destination. If you know only a city name, call resolve_city_iata_code first. Required when origin is absent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| tickets | Yes | ||
| originCode | No | ||
| currencyCode | Yes | ||
| destinationCode | No |