Tất cả trang web
Data API
Google Data API
Dữ liệu tìm kiếm, tin tức, bằng sáng chế và xu hướng từ Google.
57 endpointRate Limit · recaptcha được xử lý giúp bạn
Ví dụ (thu thập trực tiếp) Mở playground
google.com
Ví dụPhản hồi JSONnhấp vào trang để truy vết một trường
{
"search_metadata": {
"status": "Success",
"created_at": "2026-11-19T10:53:54.117899+00:00",
"engine": "google",
"google_url": "https://www.google.com/travel/flights/search?tfs=GhASAGoFEgNKRktyBRIDTEFYQAFIAZgBAQ==&hl=en&gl=us&curr=USD"
},
"search_parameters": {
"engine": "google_flights_deals",
"departure_id": "JFK",
"arrival_id": "LAX",
"type": 1,
"adults": 1,
"currency": "USD",
"gl": "us",
"hl": "en"
},
"deals": [
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "8:00 AM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "11:21 AM"
},
"duration": 381,
"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": [
],
"overnight": false
}
],
"layovers": [
],
"total_duration": 381,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 357,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/DL.png",
"extensions": [
],
"departure_token": null,
"booking_token": null,
"scraped_at": "2026-11-19T10:54:02.032844+00:00"
},
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "8:00 AM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "11:28 AM"
},
"duration": 388,
"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": [
],
"overnight": false
}
],
"layovers": [
],
"total_duration": 388,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 357,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
"extensions": [
],
"departure_token": null,
"booking_token": null,
"scraped_at": "2026-11-19T10:54:02.032844+00:00"
},
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "9:15 AM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "12:25 PM"
},
"duration": 370,
"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": [
],
"overnight": false
}
],
"layovers": [
],
"total_duration": 370,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 357,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"extensions": [
],
"departure_token": null,
"booking_token": null,
"scraped_at": "2026-11-19T10:54:02.032844+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:25 AM"
},
"duration": 385,
"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": [
],
"overnight": false
}
],
"layovers": [
],
"total_duration": 385,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 357,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/DL.png",
"extensions": [
],
"departure_token": null,
"booking_token": null,
"scraped_at": "2026-11-19T10:54:02.032844+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:25 AM"
},
"duration": 385,
"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": [
],
"overnight": false
}
],
"layovers": [
],
"total_duration": 385,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 357,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
"extensions": [
],
"departure_token": null,
"booking_token": null,
"scraped_at": "2026-11-19T10:54:02.032844+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:29 AM"
},
"duration": 389,
"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": [
],
"overnight": false
}
],
"layovers": [
],
"total_duration": 389,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 357,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"extensions": [
],
"departure_token": null,
"booking_token": null,
"scraped_at": "2026-11-19T10:54:02.032844+00:00"
},
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy International Airport",
"id": "JFK",
"time": "8:00 AM"
},
"arrival_airport": {
"name": "Los Angeles International Airport",
"id": "LAX",
"time": "11:29 AM"
},
"duration": 389,
"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": [
],
"overnight": false
}
],
"layovers": [
],
"total_duration": 389,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 357,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"extensions": [
],
"departure_token": null,
"booking_token": null,
"scraped_at": "2026-11-19T10:54:02.032844+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:26 PM"
},
"duration": 386,
"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": [
],
"overnight": false
}
],
"layovers": [
],
"total_duration": 386,
"carbon_emissions": {
"this_flight": null,
"typical_for_this_route": null,
"difference_percent": null
},
"price": 357,
"type": "Round trip",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/DL.png",
"extensions": [
],
"departure_token": null,
"booking_token": null,
"scraped_at": "2026-11-19T10:54:02.032844+00:00"
}
],
"price_insights": {
"lowest_price": 357,
"price_level": null,
"typical_price_range": [
],
"price_history": [
]
}
}
GET
/v1/google/flights/deals1 tín dụng / lượt chạy Đã xác minhFlights Deals
Cheapest flight options for a route ranked by price, with airline, times, duration, stops and price context.
Được xử lý giúp bạn:Rate Limitrecaptcha
Tham số
| Tên | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|
| departure_id | string | có | Departure airport IATA code, e.g. 'JFK' or 'CDG'. |
| arrival_id | string | có | Arrival airport IATA code, e.g. 'AUS' or 'LAX'. |
| Bộ lọc nâng cao | |||
| outbound_date | string | không | Outbound date, YYYY-MM-DD. |
| return_date | string | không | Return date, YYYY-MM-DD (round trips). |
| type | integer | không | Trip type: 1 round trip, 2 one way, 3 multi-city. (mặc định: 1) |
| travel_class | integer | không | Cabin: 1 economy, 2 premium economy, 3 business, 4 first. (mặc định: 1) |
| adults | integer | không | Number of adult passengers. (mặc định: 1) |
| children | integer | không | Number of children. (mặc định: 0) |
| infants_in_seat | integer | không | Infants in seat. (mặc định: 0) |
| infants_on_lap | integer | không | Infants on lap. (mặc định: 0) |
| stops | integer | không | Max stops: 0 any, 1 nonstop, 2 up to 1, 3 up to 2. |
| max_price | integer | không | Maximum ticket price. |
| currency | string | không | Currency code for prices, e.g. USD, EUR. (mặc định: USD) |
| gl | string | không | Two-letter country code, e.g. us, gb, de. (mặc định: us) |
| hl | string | không | UI language, e.g. en, es, fr. (mặc định: en) |