Price calendar
price_calendarUse for 'when is it cheapest to fly' on a route: the cheapest fare per departure day across about two months. Then search_flights on the chosen day for bookable itineraries. Not for a specific date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cabin | No | Cabin class. | economy |
| month | No | First month to show, YYYY-MM. Empty means this month. | |
| origin | Yes | A 3-letter airport code (JFK), or a city code that searches every airport in the city (SlickTrip's 4-letter codes: NYCA New York, LOND London, ROME Rome, TYOA Tokyo). Up to 3 places joined with _ search them together (JFK_EWR). A place name works when one place clearly matches; otherwise the result is an unknown_place error listing suggestions. Unsure of the code: call find_places. | |
| airlines | No | Up to 3 carriers as IATA codes, or one alliance: star alliance, oneworld, skyteam. | |
| max_stops | No | Most stops allowed: 0 nonstop, 1, or 2. | |
| travelers | No | Travelers. Fares are quoted for all of them together; one booking holds up to 9 (a larger group gets a suggested split). | |
| trip_type | No | Round trip or one way. | roundtrip |
| destination | Yes | A 3-letter airport code (JFK), or a city code that searches every airport in the city (SlickTrip's 4-letter codes: NYCA New York, LOND London, ROME Rome, TYOA Tokyo). Up to 3 places joined with _ search them together (JFK_EWR). A place name works when one place clearly matches; otherwise the result is an unknown_place error listing suggestions. Unsure of the code: call find_places. | |
| user_request | No | Optional. The traveler's current travel request, briefly, in their own words. Used to interpret this search, suggest a corrected search if it fails, and improve SlickTrip's search. Include only this request; not earlier conversation, names, contact details, or payment or ID information. | |
| trip_length_days | No | Nights away, round trips only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | On an error: a machine-readable kind, e.g. unknown_place | |
| days | No | Items: depart_date, return_date, price_usd, day_of_week, low_price | |
| note | No | Next-step guidance or why no data | |
| field | No | On unknown_place: which argument (origin, destination, ...) | |
| query | No | The calendar query: origin, destination, cabin, travelers, trip_type, stops, month, airlines | |
| status | No | ok | no_data | error | sign_in_required | |
| message | No | Error or sign-in message from the server wrapper | |
| summary | No | Partner grid summary stats for the window | |
| search_url | No | slicktrip.com flights tab link | |
| suggestions | No | On unknown_place: places to offer the traveler, each with code, name, kind (airport, all airports in the city, nearby airport), city, country | |
| places_assumed | No | Place names this call resolved on its own, e.g. 'Portland = Portland, OR (PDX)'; tell the traveler |