MCP + API · kestrel/flight-price-tracker
Flight Price Tracker — Cheapest Day to Fly & Fare Calendar
Track Google Flights fares across 1–60 departure dates per route. One row per day: cheapest price, airline, stops and rank. Flight price calendar for one-way or round trips, with nonstop and max-price filters. Schedule snapshots for price history; threshold rows do not send notifications.
Open Actor Download MCP config
Connect this tool
Add this URL as a remote MCP server in your client, then sign in to Apify. For a client-specific setup, use Apify's configurator.
https://mcp.apify.com?tools=call-actor,fetch-actor-details,kestrel/flight-price-tracker
Generic MCP client configuration
{
"mcpServers": {
"kestrel-flight-price-tracker": {
"url": "https://mcp.apify.com?tools=call-actor,fetch-actor-details,kestrel/flight-price-tracker"
}
}
}
Understand the output before you run
Two row types share one dataset: fare (one per route and departure day — that day's cheapest itinerary) and status (one per route; never charged).
Declared dataset fields and row types · Output locations and dataset links
Use the declared dataset schema for item fields; the output schema describes where results are stored. Optional fields may be null or absent. If an integration shows a sampled schema without an optional field, check this declaration, the Actor instructions and actual returned rows before concluding that the field is unsupported.
Inspect 40 declared output fields
| Field | Type | Meaning |
|---|---|---|
type | string | Row type: fare or status. |
route | string / null | The route as given, e.g. "LIS-LHR". |
origin | string / null | Origin airport code on the itinerary. |
destination | string / null | Destination airport code on the itinerary. |
trip | string / null | one_way or round_trip. |
depart_date | string / null | Departure day, YYYY-MM-DD. On status rows: the first day of the window. |
return_date | string / null | Return day for round trips, null for one-way. |
seat | string / null | Cabin priced: economy, premium_economy, business or first. |
adults | integer / null | Adults the price covers. |
currency | string / null | Currency of the price (ISO code), as Google actually priced it. |
price | number / null | The day's cheapest fare for all passengers. For round trips this is the total for both legs. |
price_display | string / null | Price exactly as Google states it, e.g. "127 US dollars". |
round_trip_total | boolean / null | True when the price covers both legs of a round trip. |
airline | string / null | Operating airline of the cheapest itinerary; the first when several operate it. |
airlines | array / null | Every airline operating the cheapest itinerary. |
stops | integer / null | Stops on the cheapest itinerary; 0 is nonstop. |
depart_time | string / null | Departure time, local to the origin. |
arrive_time | string / null | Arrival time, local to the destination. |
depart_day | string / null | Departure day as Google states it. |
arrive_day | string / null | Arrival day as Google states it — later than the departure day on overnight itineraries. |
duration | string / null | Total travel time as Google states it, e.g. "2 hr 55 min". |
duration_minutes | integer / null | Total travel time in minutes — the sortable form. |
layovers | array / null | Each layover: index, of, minutes, airport, city. Null on nonstop itineraries. |
layover_airports | array / null | Layover airport names, in order. |
overnight_layover | boolean / null | True when Google flags an overnight layover. |
co2_kg | integer / null | Google's carbon estimate for the itinerary, in kilograms. |
google_url | string / null | The Google Flights URL for that day's search — opens the same results. |
itineraries_seen | integer / null | How many itineraries Google listed for that day; the fare row is the cheapest of them. |
cheapest_in_window | boolean / null | True on the one day of the route's window with the lowest fare — the cheapest day to fly. |
rank_in_window | integer / null | 1 = the cheapest day of the window, 2 = the next, and so on. Ranked over every day searched, before the maxPrice filter. |
days_searched | integer / null | Status rows: departure days searched for this route. |
fares | integer / null | Status rows: fare rows delivered (and billed) for this route. |
filtered | integer / null | Status rows: days dropped by maxPrice — never billed. |
no_results | integer / null | Status rows: days on which Google listed no itinerary. |
errors | integer / null | Status rows: days whose search failed. |
cheapest | number / null | Status rows: the lowest fare found across the window. |
cheapest_date | string / null | Status rows: the day that lowest fare departs. |
status | string / null | Status rows: ok, no_results or error. |
error | string / null | Status rows: the first failure message, null when every day succeeded. |
fetched_at | string / null | UTC timestamp when the row was fetched. |
Start with a small sample
Use call-actor with the JSON below. The $0.25 run ceiling is separate from the Actor input and may stop the sample early. Change the target to match your request. This input validates against build 1.1.3; it is not a promise that the source has matching rows today.
{
"actor": "kestrel/flight-price-tracker",
"input": {
"routes": [
"LIS-LHR"
],
"departDate": "30 days",
"days": 1,
"currency": "EUR",
"market": "pt"
},
"callOptions": {
"maxTotalChargeUsd": 0.25,
"timeout": 300
},
"waitSecs": 30
}
After completion, use get-dataset-items with storages.datasets.default.id. If still running, poll get-actor-run using the returned runId. Check status rows and errors before treating an empty dataset as no matches.
Call from Python, JavaScript or REST
Python SDK 3 example · JavaScript SDK 2 example · curl + jq example. Each uses this same small input, reads APIFY_TOKEN from your environment, sets a five-minute run timeout and exports all dataset row types as JSON Lines. The $0.25 run ceiling is separate from the Actor input and may stop the sample early. Inspect the run and source status before treating results as complete. Installation and usage.
Pricing and limits
Current listed event prices in USD. Some Actors charge for successful source checks even when no output rows match. The event descriptions below define those differences.
| Event | USD each | What is charged |
|---|---|---|
fare | $0.004 | One route and departure day: that day's cheapest Google Flights itinerary with price, airline, stops, times, duration, layovers, CO2 and its rank in the window (row keys route, origin, destination, depart_date, return_date, seat, price, currency, airline, stops, depart_time, arrive_time, duration_minutes, layovers, co2_kg, rank_in_window, cheapest_in_window, itineraries_seen): $4 per 1,000 days. At most one row per route and day, so a 30-day window on one route is at most 30 rows. Not charged: days with no fare, days over your maxPrice (filtered before billing), failed days, status rows, refused inputs. No start fee; proxy and compute are included in the event price. The run stops at the maximum cost per run you set when starting it (Apify run option maxTotalChargeUsd), never above it. |
Contracts for agents
- Input schema and sample input
- Prepared MCP call and pricing events
- Full Actor instructions and limits
- REST API
Public contract checked 2026-11-11. Active build: 1.1.3. Refresh live details before a large or recurring run.