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
FieldTypeMeaning
typestringRow type: fare or status.
routestring / nullThe route as given, e.g. "LIS-LHR".
originstring / nullOrigin airport code on the itinerary.
destinationstring / nullDestination airport code on the itinerary.
tripstring / nullone_way or round_trip.
depart_datestring / nullDeparture day, YYYY-MM-DD. On status rows: the first day of the window.
return_datestring / nullReturn day for round trips, null for one-way.
seatstring / nullCabin priced: economy, premium_economy, business or first.
adultsinteger / nullAdults the price covers.
currencystring / nullCurrency of the price (ISO code), as Google actually priced it.
pricenumber / nullThe day's cheapest fare for all passengers. For round trips this is the total for both legs.
price_displaystring / nullPrice exactly as Google states it, e.g. "127 US dollars".
round_trip_totalboolean / nullTrue when the price covers both legs of a round trip.
airlinestring / nullOperating airline of the cheapest itinerary; the first when several operate it.
airlinesarray / nullEvery airline operating the cheapest itinerary.
stopsinteger / nullStops on the cheapest itinerary; 0 is nonstop.
depart_timestring / nullDeparture time, local to the origin.
arrive_timestring / nullArrival time, local to the destination.
depart_daystring / nullDeparture day as Google states it.
arrive_daystring / nullArrival day as Google states it — later than the departure day on overnight itineraries.
durationstring / nullTotal travel time as Google states it, e.g. "2 hr 55 min".
duration_minutesinteger / nullTotal travel time in minutes — the sortable form.
layoversarray / nullEach layover: index, of, minutes, airport, city. Null on nonstop itineraries.
layover_airportsarray / nullLayover airport names, in order.
overnight_layoverboolean / nullTrue when Google flags an overnight layover.
co2_kginteger / nullGoogle's carbon estimate for the itinerary, in kilograms.
google_urlstring / nullThe Google Flights URL for that day's search — opens the same results.
itineraries_seeninteger / nullHow many itineraries Google listed for that day; the fare row is the cheapest of them.
cheapest_in_windowboolean / nullTrue on the one day of the route's window with the lowest fare — the cheapest day to fly.
rank_in_windowinteger / null1 = the cheapest day of the window, 2 = the next, and so on. Ranked over every day searched, before the maxPrice filter.
days_searchedinteger / nullStatus rows: departure days searched for this route.
faresinteger / nullStatus rows: fare rows delivered (and billed) for this route.
filteredinteger / nullStatus rows: days dropped by maxPrice — never billed.
no_resultsinteger / nullStatus rows: days on which Google listed no itinerary.
errorsinteger / nullStatus rows: days whose search failed.
cheapestnumber / nullStatus rows: the lowest fare found across the window.
cheapest_datestring / nullStatus rows: the day that lowest fare departs.
statusstring / nullStatus rows: ok, no_results or error.
errorstring / nullStatus rows: the first failure message, null when every day succeeded.
fetched_atstring / nullUTC 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.

EventUSD eachWhat is charged
fare$0.004One 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

Public contract checked 2026-11-11. Active build: 1.1.3. Refresh live details before a large or recurring run.