Skip to content

Google Flights APIfor AI agents

One API call to search Google Flights. Get prices, times and stops as JSON.

Start for free

The Google Flights results your agent needs.

Google Flights returns flights for a route, each with price, airlines, stops, legs and layovers. Control it by cabin, stops, bags and times.

terminal
curl -X POST "https://api.stophy.dev/v1/google/flights" \
-H "Authorization: Bearer $STOPHY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"departDate": "2026-11-20",
"destination": "LAX",
"origin": "JFK",
"stops": "nonstop"
}'

What people use it for.

  • Find the cheapest day

    Send the same origin and destination for each departDate in a week. Compare price to find the cheapest day to fly.

  • Track a fare

    Run the call each day for one route and save the lowest price. Alert the traveler when the price drops.

  • Plan a trip with rules

    Set stops to nonstop and maxDurationHours to a limit. An agent then offers only the flights that fit the traveler's rules.

More Google endpoints.

Start free. Pay per call after.

No plans and no monthly fee. 1,000 free credits to start, then $1.50 per 1,000 credits, $1.20 from $100 and $0.80 from $500. Credits never expire.

Free

Every account starts with free credits. No card needed.

1,000 free credits

$0

Start for free
  • ✓Every source

Pay as you go

Add credits to your balance and spend them one call at a time.

$1.50 per 1,000 credits, $1.20 from $100 and $0.80 from $500

$0.0015/ credit

10,000 credits≈ $13.50

Most calls cost 1 credit.

Get an API key
  • ✓Never expires

Custom

For teams that need higher rate limits or a source we do not cover yet.

Volume pricing

Custom

Talk to us
  • ✓Custom rate limits
  • ✓New sources on request
  • ✓Direct support

Questions and answers.

Get started

Give your agent the web today.

Sign up for 1,000 free credits. No card needed.