Chuyển đến nội dung
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
google.comGET/google/adsGET/google/ads/tr…GET/google/ai-mod…{ } JSON
Xem trước Sắp ra mắt

Bản xem trước sắp ra mắt

Chúng tôi đang hoàn thiện endpoint này. Endpoint chưa thể chạy, nên chúng tôi chưa hiển thị phản hồi mẫu cho đến khi được xác minh hoạt động thực tế.

GET/v1/google/travel/explore1 tín dụng / lượt chạy

Travel Explore

Destination ideas from a departure airport with a sample fare, flight time, stops and airline for each place.

Được xử lý giúp bạn:Rate Limitrecaptcha
Tham số
TênKiểuBắt buộcMô tả
departure_idstringcóDeparture airport code or location id, e.g. 'CDG' or 'JFK'.
Bộ lọc nâng cao
arrival_idstringkhôngOptional arrival area or location id to narrow the map.
outbound_datestringkhôngOutbound date, YYYY-MM-DD.
return_datestringkhôngReturn date, YYYY-MM-DD.
typeintegerkhôngTrip type: 1 round trip, 2 one way, 3 multi-city. (mặc định: 1)
monthintegerkhôngMonth of travel 1-12, or 0 for any.
travel_durationintegerkhôngTrip length: 1 weekend, 2 one week, 3 two weeks.
travel_classintegerkhôngCabin: 1 economy, 2 premium economy, 3 business, 4 first. (mặc định: 1)
adultsintegerkhôngNumber of adult passengers. (mặc định: 1)
childrenintegerkhôngNumber of children. (mặc định: 0)
stopsintegerkhôngMax stops: 0 any, 1 nonstop, 2 up to 1, 3 up to 2.
max_priceintegerkhôngMaximum ticket price.
currencystringkhôngCurrency code for prices, e.g. USD, EUR. (mặc định: USD)
glstringkhôngTwo-letter country code, e.g. us, gb, de. (mặc định: us)
hlstringkhôngUI language, e.g. en, es, fr. (mặc định: en)