Im a digital nomad who likes to find cheap flights, and the way I used to do it was about 20 tabs of Google Flights, changing the date, then the airport, then the trip length, and losing track somewhere in the middle.

What I actually want is boring: look at a whole month, from a couple of airports, to a couple of cities, for 7 or 10 nights, every morning, and only bother me when Google itself says the fare is low. So I put it in a small Python script on a GitHub Actions cron. One file, standard library only, no server, and when there is something worth seeing it opens an issue in the repo (which GitHub then emails to me).

Repo: github.com/mtnrabi/fare-watcher (MIT, use it as a template)

The grid is bigger than it looks

Two origins, two destinations, two trip lengths and 31 departure dates is 2 x 2 x 2 x 31 = 248 round trips. One search per combination, every day, is a lot of requests for a hobby project.

The trick is that Google Flights has a calendar, the one with a price on every day, and the API I use can return it as one request: one route, one trip length, a whole month of fares. So the grid becomes 8 calendar requests, and a test I ran last week compared those calendar prices with full searches on 10 dates and all 10 matched, so for scanning I trust it.

The calendar doesn't say if a price is good though. For that, the two best candidates get a full search each, and that answer carries Google's own verdict (low, typical or high) and the usual range for those dates. That makes 8 + 2 = 10 requests for the whole grid.

def scan_calendars(cfg, client): out = [] for o, d, n in cfg.routes: # every origin x destination x nights body = {"from_airport": o, "to_airport": d, "nights": n, "currency": cfg.currency, "departure_date_from": cfg.date_from.isoformat(), "departure_date_to": cfg.date_to.isoformat()} out.append(read_calendar(client.call(CALENDAR, body), o, d, n)) return out 

(trimmed, the real one also handles a search that didn't finish)

What came back

This is a real run from New York, 25 November 2026, 11:23 UTC. The eight calendars took 17 seconds.

Route Nights Cheapest departure USD Dearest date in the same month
JFK → DUB 7 Jan 26 394 469
JFK → DUB 10 Feb 1 394 465
EWR → DUB 7 Feb 1 394 465
EWR → DUB 10 Feb 1 394 465
JFK → LIS 10 Jan 16 527 715
EWR → LIS 10 Jan 16 527 684
JFK → LIS 7 Jan 12 555 697
EWR → LIS 7 Jan 12 555 704

Same city, same airport, same 10 nights to Lisbon: 527 on one date and 715 on another.

Then the two full searches:

Route Calendar Full search Google says Usual range
JFK → DUB, Jan 26 to Feb 2 394 459 (1 stop) typical 345-610
JFK → LIS, Jan 16 to 26 527 527 (2 stops) typical 420-700

So 394 to Dublin looks like a find and Google calls it typical, which is exactly why I wanted the verdict in there. The watch stayed quiet that morning.

With "target_price": 400 in the config (I replayed the same saved answers) the issue it opens looks like this:

JFK to DUB 394 USD, 7 nights - 2027-01-26 to 2027-02-02 (7 nights) - Lowest on Google's calendar: 394. Best in the full search: 459, British Airways, Aer Lingus | American, 1 stop(s) in total - Google says typical, usual range 345-610 USD - Why: it is at or under your target of 400 

Three things I'd tell anyone building one

  1. Ask for the verdict in the default sort. Google shows its low / typical / high range on the normal results page and leaves it out when you sort by price. So take the default order and find the cheapest row yourself, it's one min().
  2. Expect two prices. The calendar is the lowest fare of any itinerary that day, and the full search ranks the best ones on price, time and stops together. For Lisbon they agreed, for Dublin they didn't (394 vs 459), since the 394 is an Icelandair trip with 2 stops that only shows up when you sort by price. The script shows both and you pick.
  3. Take turns between cities. If you just confirm the cheapest candidates, Dublin takes every slot and Lisbon never gets looked at. So the script takes the best one per destination first, then the second best, and so on.

And one small thing that makes it bearable to live with: it remembers the last price it told you about per route and month, so you hear about the same trip again only when it gets cheaper.

Running it

Use the repo as a template, add a RAPIDAPI_KEY secret, put your airports in watch.json, done. The workflow is mostly this:

on: schedule: - cron: "17 6 * * *" permissions: contents: write issues: write steps: - run: python fare_watch.py - if: steps.scan.outputs.alert == 'true' run: gh issue create --title "$TITLE" --body-file alert.md 

Every run also appends to data/history.csv and commits it, so after a few weeks you have your own price history for your own routes.

A run of this size costs 10 requests. The free plan is 50 a month, so a Monday watch fits in it, and daily is about 300, which needs the 10$ plan (2,500 requests). That one is also enough for 3 origins x 8 destinations x 3 trip lengths every day, i.e. 2,232 fares each morning. python fare_watch.py --plan prints the math for your own grid without sending anything, and --replay recorded runs the whole thing on the saved answers with no key at all.

Right now it does round trips for adults only. If you'd watch something else with it (one-ways, hotels, a Telegram message instead of an issue) - would love to hear it :)

Disclosure: I built the API used here, Google Flights Live API. An AI agent I run wrote the script and this post, and the fares come from the saved responses in the repo. Not affiliated with Google.