Skip to content

Recipe · Flights API

Price-insights check with n8n

The recipe that only this API can run: the agent compares a quoted fare against Google’s own price band for the route and dates. Below the band’s low end → take it; above the high end → wait. The verdict field gives the agent a defensible recommendation with a source.

Free tier on RapidAPI. No card to try.

Step 1 · Connect

Install the community node

Settings → Community nodes → Install → n8n-nodes-flightpowers (v0.2.2 on npm). Add your RapidAPI key once as a credential; every workflow reuses it.

community node package name
n8n-nodes-flightpowers

Bring your own RapidAPI key: every request is billed to your own subscription, never ours.

Step 2 · Ask it

The prompt

The job in plain words. In n8n you express it as the node configuration below instead of a prompt.

I was quoted $129 for JFK→Cancún on January 1. Should I take it?

Step 3 · Under the hood

What the node sends

The node issues this request against the same live API: real parameter names, exactly as the endpoint takes them.

request the node issues
// search_oneway_flights
{
  "from_airport": "JFK",
  "to_airport": "CUN",
  "departure_date": "2027-01-01",
  "limit": 3
}

Step 4 · Read the response

Fields your logic reads

The response is flat JSON. These are the fields this recipe branches on, with what each one means.

price_insights_lownumber | null

The bottom of Google’s historical price band for this route and dates. Null when Google doesn’t publish a band: treat the fare as unjudged, not bad.

price_insights_highnumber | null

The top of the band. A fare above it is expensive for the route by Google’s own history.

price_range_in_relation_to_other_periods"low" | "typical" | "high" | null

Google’s verdict on the current fare against that band, the single field alerting, ranking, and “book now” logic branch on.

Questions, answered plainly

Is my key billed to me?
Yes. Your RapidAPI key lives in an n8n credential, the node sends it on every request, and usage meters against your own subscription on RapidAPI. There is no FlightPowers account and no second bill.
Does this need a server of mine?
Only your n8n instance, cloud or self-hosted. The node calls the API directly from wherever n8n runs; there is nothing of ours to deploy.
What does it cost?
The Google Flights Live API's free tier is 10 requests/month with a hard cap: enough to verify your key works, not to evaluate. The PRO plan is $10/month for 2,500 requests, and every plan includes every endpoint.

Ready to judge a fare, not just fetch it?

Live Google Flights and Booking.com data, with the price band and verdict attached to every result. Free tier on RapidAPI, no card to try.

Free tier: 10 requests/month. No card to try.