Popular Flight Routes
aviasales.flights.popularGet popular flight routes from a departure city by IATA code. Prices display in your chosen currency.
Instructions
Get popular flight routes from an origin
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"origin": "<origin>"
},
"name": "aviasales.flights.popular"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Departure city IATA code (e.g. MOW, NYC, LON) | |
| currency | No | Currency code for prices (default usd) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |