Nearby Destinations
aviasales.flights.nearbyFind flight options to a destination and its nearby airports, with customizable date flexibility and currency selection.
Instructions
Find nearby flight destinations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Departure city IATA code (e.g. MOW) | |
| destination | Yes | Target destination IATA code — also searches nearby airports | |
| depart_date | No | Departure date in YYYY-MM-DD format | |
| return_date | No | Return date in YYYY-MM-DD format | |
| flexibility | No | Date flexibility in days (+/- from given dates) | |
| currency | No | Currency code for prices (default usd) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |