Google Flights API

Flight Search, Pricing & Airport Data from Google Flights

Search flights, compare prices across airlines, find the cheapest travel dates, and access a full airport and airline directory — all powered by Google Flights data. One-way, round-trip, and flexible date searches with real-time pricing.

500 free credits/month · No credit card required

What you can build

Structured data for real applications. Here are some ideas.

Fare Comparison

Build fare comparison tools that show real-time prices across airlines for any route. Filter by cabin class, stops, and departure time to find the best deals.

Flexible Date Search

Help travelers find the cheapest dates to fly with date range searches. Show price calendars and highlight low-fare days across a full month.

Airport & Airline Directory

Use the free airports and airlines endpoints to populate dropdowns, validate IATA codes, and build search UIs without any API key required.

Price Monitoring

Track flight prices over time for specific routes. Alert users when prices drop below their target or when booking windows open for seasonal travel.

Available endpoints

Everything you need in one API.

GET

One-Way Search

/api/flights/one-way

Search one-way flights with airline, cabin class, and stop filters

GET

Round-Trip Search

/api/flights/round-trip

Search round-trip flights with combined outbound and return pricing

GET

Date Range Search

/api/flights/date-range

Find cheapest flight dates across a date range

GET

Booking Details

/api/flights/booking-details

Get price insights, fare options, and baggage info for a flight

GET

Airports List

/api/flights/airports

Free list of major airports with IATA codes and locations

GET

Airlines List

/api/flights/airlines

Free list of supported airlines with IATA codes

Try it now

One API call. Structured JSON response.

Request

curl -X GET "https://scrappa.co/api/flights/one-way?origin=JFK&destination=LAX&departure_date=2026-09-15" \
  -H "Accept: application/json" \
  -H "X-API-KEY: YOUR_API_KEY"

Response

{
  "flights": [
    {
      "price": 187,
      "currency": "USD",
      "total_duration_minutes": 330,
      "legs": [
        {
          "departure_airport": "JFK",
          "arrival_airport": "LAX",
          "departure_time": "2026-09-15T08:00",
          "arrival_time": "2026-09-15T11:30",
          "duration_minutes": 330,
          "airline": "AA",
          "airline_name": "American Airlines",
          "flight_number": "AA 1",
          "stops": 0
        }
      ]
    }
  ],
  "search_metadata": {
    "origin": "JFK",
    "destination": "LAX",
    "departure_date": "2026-09-15",
    "response_time_ms": 1240
  }
}

Key features

One-way, round-trip & flexible date searches
Real-time pricing from Google Flights
Filter by airline, cabin class, stops & time
Price insights & historical price trends
Free airports & airlines reference endpoints
Baggage fees & fare class comparison

Ready to get started?

Sign up and get 500 free credits. No credit card required.