Recipe · Flights API
One-way flight search with Zapier
The agent searches live Google Flights data and answers with fares it can actually judge: every result carries Google’s historical price band and a low | typical | high verdict, so “is the price any good” is a field read, not a guess. The buy_link hands the user a working booking deep link.
Free tier on RapidAPI. No card to try.
Step 1 · Connect
Webhooks by Zapier → Custom Request
A native Zapier app is in review and not listed yet, so this page documents the built-in Webhooks step, which works today. Zapier parses the JSON response, so every field below is mappable in later steps.
URL https://api.flightpowers.com/v1/flights/oneway
Method POST
Headers x-api-key: YOUR_RAPIDAPI_KEY
Content-Type: application/jsonBring your own RapidAPI key: every request is billed to your own subscription, never ours.
Step 2 · The job
The job
The job in plain words. In Zapier you express it as the configuration below instead of a prompt.
“Find me a nonstop JFK to Cancun flight on January 1 and tell me if the price is any good.”
Step 3 · Under the hood
What goes in the request body
Paste this as the raw JSON body. Field names are the ones in the OpenAPI spec, so nothing here needs translating.
POST https://api.flightpowers.com/v1/flights/oneway
{
"from_airport": "JFK",
"to_airport": "CUN",
"departure_date": "2027-01-01",
"max_stops": 0,
"limit": 5
}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.
pricestringThe fare as Google Flights displays it: “$56”. The numeric twin price_as_number rides alongside for sorting and arithmetic.
price_insights_lownumber | nullThe 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 | nullThe 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" | nullGoogle’s verdict on the current fare against that band, the single field alerting, ranking, and “book now” logic branch on.
buy_linkstring (URL)A Google Flights deep link that reopens this exact itinerary. Hand it to the user; it just works.
Questions, answered plainly
- Is my key billed to me?
- Yes. The key you put in the Zapier step is your own RapidAPI key, and every run meters against your own subscription. Zapier bills you separately for its own runs; the two bills never mix.
- Does this need a server of mine?
- No. Zapier calls api.flightpowers.com over plain HTTPS. There is nothing to host, and no callback for us to reach.
- 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.
Also works with
One-way flight search, elsewhere in your stack
More recipes
More to build in Zapier
Get live flight and hotel data
Live Google Flights and Booking.com data as clean JSON. Free tier on RapidAPI, no card to try.
Free tier: 10 requests/month. No card to try.