Track a flight's price
track_flightUse to start price alerts on an itinerary from a search, after the traveler confirms. One way: any itinerary_id from search_flights. Round trip: an outbound itinerary_id from search_flights watches that outbound with its cheapest return; a complete itinerary_id from search_return_flights tracks that exact pairing. Multi-city: a complete itinerary_id. Alerts go to the account's channels on a new low; alert_rule any hears every move; target_price_usd sets a bar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Send alerts by text message. Needs a verified phone on the SlickTrip account; empty keeps the account's setting. | |
| No | Send alerts by email. Empty keeps the account's setting. | ||
| alert_rule | No | When to alert: lowest = only a new low, any = every price move, none = off. Leave empty for the default, or give target_price_usd instead. | |
| itinerary_id | Yes | From search_flights (one way) or search_return_flights (a complete round trip or multi-city). | |
| target_price_usd | No | Alert when the price goes under this, USD. Replaces alert_rule. It is the TOTAL: the whole trip for all travelers on a flight, the whole stay on a hotel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fid | No | Tracked itinerary id (flight numbers) | |
| code | No | On an error: a machine-readable kind, e.g. unknown_place | |
| note | No | Note about text alerts needing a verified phone | |
| field | No | On unknown_place: which argument (origin, destination, ...) | |
| route | No | Route dict: origin, destination, cabin, travelers, dates, trip_type (+names on outbound watch) | |
| watch | No | "outbound" when an outbound-only watch was saved | |
| alerts | No | Plain-words description of what alerts fire | |
| status | No | tracking | error | sign_in_required | |
| message | No | Error or sign-in message from the server wrapper | |
| channels | No | {email: boolean, text: boolean} stored alert channels | |
| saved_url | No | slicktrip.com saved-flights page link | |
| search_key | No | The tracked route's search key | |
| alerts_when | No | When alerts fire, from the alert preference | |
| 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 | |
| outbound_fid | No | Outbound watch only: the outbound fid | |
| price_at_save | No | Price recorded when tracking started | |
| places_assumed | No | Place names this call resolved on its own, e.g. 'Portland = Portland, OR (PDX)'; tell the traveler | |
| text_not_enabled | No | Text asked but no verified phone on account | |
| text_unconfirmed | No | Could not confirm text-alert status |