Aller au contenu
Tous les sites
Data API

Google Data API

Données de recherche, d’actualités, de brevets et de tendances de Google.

57 endpointsLimite de débit · recaptcha pris en charge pour vous
google.comGET/google/adsGET/google/ads/tr…GET/google/ai-mod…{ } JSON
Exemple (capturé en direct) Ouvrir le playground
google.com
Exemple
Réponse JSONcliquez sur la page pour tracer un champ
{
"search_metadata": {
"status": "Success",
"created_at": "2026-11-19T10:53:42.937843+00:00",
"engine": "google",
"google_url": "https://www.google.com/travel/flights/search?tfs=GhoSCjIwMjYtMTItMTVqBRIDSkZLcgUSA0xBWBoaEgoyMDI2LTEyLTIwagUSA0xBWHIFEgNKRktAAUgBmAEB&hl=en&gl=us&curr=USD"
},
"search_parameters": {
"engine": "google_flights",
"departure_id": "JFK",
"arrival_id": "LAX",
"outbound_date": "2026-12-15",
"return_date": "2026-12-20",
"type": 1,
"adults": 1,
"currency": "USD",
"gl": "us",
"hl": "en"
},
"best_flights": [
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "6:05 AM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "9:30 AM"
},
"duration": 385,
"airplane": null,
"airline": "American",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"travel_class": "Economy",
"flight_number": null,
"legroom": null,
"extensions": [
]
}
],
"layovers": [
],
"total_duration": 385,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 400,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"extensions": [
],
"departure_token": null,
"scraped_at": "2026-11-19T10:53:50.393493+00:00"
},
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "7:00 AM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "10:15 AM"
},
"duration": 375,
"airplane": null,
"airline": "Delta",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/DL.png",
"travel_class": "Economy",
"flight_number": null,
"legroom": null,
"extensions": [
]
}
],
"layovers": [
],
"total_duration": 375,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 517,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/DL.png",
"extensions": [
],
"departure_token": null,
"scraped_at": "2026-11-19T10:53:50.393493+00:00"
},
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "9:00 AM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "12:20 PM"
},
"duration": 380,
"airplane": null,
"airline": "JetBlue",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
"travel_class": "Economy",
"flight_number": null,
"legroom": null,
"extensions": [
]
}
],
"layovers": [
],
"total_duration": 380,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 527,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
"extensions": [
],
"departure_token": null,
"scraped_at": "2026-11-19T10:53:50.393493+00:00"
}
],
"other_flights": [
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "7:30 AM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "2:53 PM"
},
"duration": 623,
"airplane": null,
"airline": "JetBlue",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
"travel_class": "Economy",
"flight_number": null,
"legroom": null,
"extensions": [
]
}
],
"layovers": [
{
"duration": null,
"name": null,
"id": null
}
],
"total_duration": 623,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 405,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
"extensions": [
],
"departure_token": null,
"scraped_at": "2026-11-19T10:53:50.393493+00:00"
},
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "7:00 AM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "12:17 PM"
},
"duration": 497,
"airplane": null,
"airline": "American",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"travel_class": "Economy",
"flight_number": null,
"legroom": null,
"extensions": [
]
}
],
"layovers": [
{
"duration": null,
"name": null,
"id": null
}
],
"total_duration": 497,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 417,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"extensions": [
],
"departure_token": null,
"scraped_at": "2026-11-19T10:53:50.393493+00:00"
},
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "7:59 AM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "11:27 AM"
},
"duration": 388,
"airplane": null,
"airline": "American",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"travel_class": "Economy",
"flight_number": null,
"legroom": null,
"extensions": [
]
}
],
"layovers": [
],
"total_duration": 388,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 467,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"extensions": [
],
"departure_token": null,
"scraped_at": "2026-11-19T10:53:50.393493+00:00"
},
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "5:40 PM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "9:06 PM"
},
"duration": 386,
"airplane": null,
"airline": "American",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"travel_class": "Economy",
"flight_number": null,
"legroom": null,
"extensions": [
]
}
],
"layovers": [
],
"total_duration": 386,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 467,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"extensions": [
],
"departure_token": null,
"scraped_at": "2026-11-19T10:53:50.393493+00:00"
},
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "8:01 AM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "11:25 AM"
},
"duration": 384,
"airplane": null,
"airline": "JetBlue",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
"travel_class": "Economy",
"flight_number": null,
"legroom": null,
"extensions": [
]
}
],
"layovers": [
],
"total_duration": 384,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 527,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
"extensions": [
],
"departure_token": null,
"scraped_at": "2026-11-19T10:53:50.393493+00:00"
},
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "10:00 AM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "1:19 PM"
},
"duration": 379,
"airplane": null,
"airline": "JetBlue",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
"travel_class": "Economy",
"flight_number": null,
"legroom": null,
"extensions": [
]
}
],
"layovers": [
],
"total_duration": 379,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 527,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
"extensions": [
],
"departure_token": null,
"scraped_at": "2026-11-19T10:53:50.393493+00:00"
}
],
"price_insights": {
"lowest_price": 400,
"price_level": null,
"typical_price_range": [
],
"price_history": [
]
},
"airports": [
{
"departure": [
{
"airport": {
"id": "JFK",
"name": "John F. Kennedy International Airport"
},
"city": null,
"country": null,
"country_code": null,
"image": null,
"thumbnail": null
}
],
"arrival": [
{
"airport": {
"id": "LAX",
"name": "Los Angeles International Airport"
},
"city": null,
"country": null,
"country_code": null,
"image": null,
"thumbnail": null
}
]
}
]
}
GET/v1/google/flights1 crédit / exécution Vérifié

Flights

Flight itineraries for a route: best and other options with airline, times, duration, layovers, carbon estimate and price. Omit the dates to get Google's suggested (cheapest) dates for the route instead.

Pris en charge pour vous :Limite de débitrecaptcha
Paramètres
NomTypeRequisDescription
departure_idstringouiDeparture airport IATA code, e.g. 'JFK' or 'CDG'.
arrival_idstringouiArrival airport IATA code, e.g. 'AUS' or 'LAX'.
Filtres avancés
outbound_datestringnonOutbound date, YYYY-MM-DD. Omit to get suggested (cheapest) dates for the route.
return_datestringnonReturn date, YYYY-MM-DD (round trips).
typeintegernonTrip type: 1 round trip, 2 one way, 3 multi-city. (par défaut : 1)
travel_classintegernonCabin: 1 economy, 2 premium economy, 3 business, 4 first. (par défaut : 1)
adultsintegernonNumber of adult passengers. (par défaut : 1)
childrenintegernonNumber of children. (par défaut : 0)
infants_in_seatintegernonInfants in seat. (par défaut : 0)
infants_on_lapintegernonInfants on lap. (par défaut : 0)
stopsintegernonMax stops: 0 any, 1 nonstop, 2 up to 1, 3 up to 2.
max_priceintegernonMaximum ticket price.
currencystringnonCurrency code for prices, e.g. USD, EUR. (par défaut : USD)
glstringnonTwo-letter country code, e.g. us, gb, de. (par défaut : us)
hlstringnonUI language, e.g. en, es, fr. (par défaut : en)