get_price_calendar
Finds the cheapest ticket for every day of a month on a route, answering when it is cheaper to fly between two cities.
Instructions
Cheapest ticket for every day of a month for a route (v1/prices/calendar). Good for 'when is it cheaper to fly' answers.
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>",
"destination": "<destination>"
},
"name": "get_price_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | IATA code of departure city/airport, e.g. MOW. | |
| currency | No | Currency code: rub, usd, eur (default from env TRAVELPAYOUTS_CURRENCY). | |
| max_days | No | ||
| destination | Yes | IATA code of destination city/airport, e.g. IST. | |
| return_date | No | Optional return month. | |
| calendar_type | No | ||
| departure_date | No | Month to build the calendar for (YYYY-MM). |