跳到主要内容
所有网站
Data API

Google Data API

来自 Google 的搜索、新闻、专利和趋势数据。

57 个端点已为你处理速率限制 · recaptcha
google.comGET/google/adsGET/google/ads/tr…GET/google/ai-mod…{ } JSON
示例(实时抓取) 打开演练场
google.com
示例
JSON 响应点击页面以追踪字段
{
"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 额度 / 次 已验证

Flights Deals

Cheapest flight options for a route ranked by price, with airline, times, duration, stops and price context.

已为你处理:速率限制recaptcha
参数
名称类型必填描述
departure_idstring是Departure airport IATA code, e.g. 'JFK' or 'CDG'.
arrival_idstring是Arrival airport IATA code, e.g. 'AUS' or 'LAX'.
高级筛选
outbound_datestring否Outbound date, YYYY-MM-DD.
return_datestring否Return date, YYYY-MM-DD (round trips).
typeinteger否Trip type: 1 round trip, 2 one way, 3 multi-city. (默认值:1)
travel_classinteger否Cabin: 1 economy, 2 premium economy, 3 business, 4 first. (默认值:1)
adultsinteger否Number of adult passengers. (默认值:1)
childreninteger否Number of children. (默认值:0)
infants_in_seatinteger否Infants in seat. (默认值:0)
infants_on_lapinteger否Infants on lap. (默认值:0)
stopsinteger否Max stops: 0 any, 1 nonstop, 2 up to 1, 3 up to 2.
max_priceinteger否Maximum ticket price.
currencystring否Currency code for prices, e.g. USD, EUR. (默认值:USD)
glstring否Two-letter country code, e.g. us, gb, de. (默认值:us)
hlstring否UI language, e.g. en, es, fr. (默认值:en)