Travelpayouts Price Calendar
travelpayouts_price_calendarGet the cheapest ticket price for each day of a month for a route (a price calendar). Uses IATA city/airport codes. Example: travelpayouts_price_calendar({ origin: "MOW", destination: "BCN", depart_date: "2026-08", currency: "usd", _apiKey: "token:marker" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"origin": "MOW",
"_apiKey": "token:your-travelpayouts-api-key",
"currency": "usd",
"depart_date": "2026-08",
"destination": "BCN"
},
"name": "travelpayouts_price_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Departure IATA city/airport code, e.g. "MOW" | |
| _apiKey | Yes | Travelpayouts key as "token:marker" (marker optional) | |
| currency | No | Price currency code, e.g. "usd" (default rub) | |
| depart_date | Yes | Month to build the calendar for, format YYYY-MM or YYYY-MM-DD | |
| destination | Yes | Arrival IATA city/airport code, e.g. "BCN" | |
| return_date | No | Return month/date, format YYYY-MM or YYYY-MM-DD (optional) | |
| calendar_type | No | Which date to key the calendar by: "departure_date" (default) or "return_date" |