logo

FlightsAPI

Plane Icons Background

Trusted by 1,000+ developers

Google Flights API

Access real-time flights data globally, with ease.

Departure Airport

Arrival Airport

Departure Date

United States

LAX

January 16, 2025

No stops

United States

JFK

January 16, 2025

Best price

$498.00

United States

LAX

January 16, 2025

No stops

United States

JFK

January 16, 2025

Best price

$512.00

United States

LAX

January 16, 2025

No stops

United States

JFK

January 16, 2025

Best price

$475.00

+ 17 more flights

Sign up to see all

[
{
"departureAirport": {
"code": "LAX",
"date": "2025-1-16",
"time": "10:59"
},
"arrivalAirport": {
"code": "JFK",
"date": "2025-1-16",
"time": "19:28"
},
"airline": "JetBlue",
"airplane": "Airbus A320",
"legs": [
{
"departureAirport": "LAX",
"arrivalAirport": "JFK",
"departureTime": "10:59",
"arrivalTime": "19:28",
"planeInfo": {
"plane": "Airbus A320",
"seatSpace": "33 in",
"carbonEmissions": 422882
}
}
],
"bestPrice": 498
},
{
"departureAirport": {
"code": "LAX",
"date": "2025-1-16",
"time": "14:30"
},
"arrivalAirport": {
"code": "JFK",
"date": "2025-1-16",
"time": "23:15"
},
"airline": "JetBlue",
"airplane": "Airbus A320",
"legs": [
{
"departureAirport": "LAX",
"arrivalAirport": "JFK",
"departureTime": "14:30",
"arrivalTime": "23:15",
"planeInfo": {
"plane": "Airbus A320",
"seatSpace": "33 in",
"carbonEmissions": 422882
}
}
],
"bestPrice": 512
},
{
"departureAirport": {
"code": "LAX",
"date": "2025-1-16",
"time": "07:15"
},
"arrivalAirport": {
"code": "JFK",
"date": "2025-1-16",
"time": "15:45"
},
"airline": "JetBlue",
"airplane": "Airbus A320",
"legs": [
{
"departureAirport": "LAX",
"arrivalAirport": "JFK",
"departureTime": "07:15",
"arrivalTime": "15:45",
"planeInfo": {
"plane": "Airbus A320",
"seatSpace": "33 in",
"carbonEmissions": 422882
}
}
],
"bestPrice": 475
}
]

Completely free. No credit card required.

500+ airlines data

Feature 1

We leverage the Google network to aggregate data from more than 500 airlines in 80 countries.

Compare flight prices

Feature 2

Compare prices offered by different agencies for the same flights, to spot the cheapest option.

Real-time results

Feature 3

Always get the more up-to-date data with our real-time requests infrastructure.

Easy integration

Use our libraries to integrate FlightsAPI easily in your preferred language

1# Imports
2import requests
3import json
4from datetime import datetime
5
6# API configuration
7API_KEY = 'your_api_key'
8BASE_URL = 'https://api.flightsapi.io/flights/one-way'
9
10# Search parameters
11params = {
12    'departure_airport': 'LAX',
13    'arrival_airport': 'JFK',
14    'departure_date': datetime.now().strftime('%d-%m-%Y'),
15    'stops': 0
16}
17
18headers = {'Authorization': f'Bearer {API_KEY}'}
19response = requests.get(BASE_URL, params=params, headers=headers)
20
21# Parse the JSON response
22if response.status_code == 200:
23    flights = response.json()
24    
25    # Process the first flight option
26    first_flight = flights['data'][0]
27    print(f"Flight: {first_flight['airline']} {first_flight['flight_number']}")
28    print(f"Departure: {first_flight['departure_time']}")
29    print(f"Arrival: {first_flight['arrival_time']}")
30    print(f"Price: {first_flight['price']}")
31else:
32    print(f"Error: {response.status_code}")

View our API docs

Flexible Pricing

We work with businesses of all sizes, from startups to large enterprises

Lite

$49

/month

15,000 API credits

1 concurrent request

Oneway trip API

Round trip API

Multicity trip API

Priority support

Developer

$99

/month

50,000 API credits

3 concurrent requests

Oneway trip API

Round trip API

Multicity trip API

Priority support

Business

$199

/month

250,000 API credits

10 concurrent requests

Oneway trip API

Round trip API

Multicity trip API

Priority support

Enterprise

$399

/month

750,000 API credits

100 concurrent requests

Oneway trip API

Round trip API

Multicity trip API

Priority support