Semua situs
Data API
Google Data API
Data pencarian, berita, paten, dan tren dari Google.
57 endpointRate Limit · recaptcha ditangani untuk Anda
Pratinjau Segera hadir
Pratinjau segera hadir
Kami sedang memfinalisasi endpoint ini. Endpoint belum dapat dijalankan, jadi kami tidak menampilkan contoh respons hingga diverifikasi berjalan langsung.
GET
/v1/google/travel/explore1 kredit / runTravel Explore
Destination ideas from a departure airport with a sample fare, flight time, stops and airline for each place.
Ditangani untuk Anda:Rate Limitrecaptcha
Parameter
| Nama | Tipe | Wajib | Deskripsi |
|---|---|---|---|
| departure_id | string | ya | Departure airport code or location id, e.g. 'CDG' or 'JFK'. |
| Filter lanjutan | |||
| arrival_id | string | tidak | Optional arrival area or location id to narrow the map. |
| outbound_date | string | tidak | Outbound date, YYYY-MM-DD. |
| return_date | string | tidak | Return date, YYYY-MM-DD. |
| type | integer | tidak | Trip type: 1 round trip, 2 one way, 3 multi-city. (default: 1) |
| month | integer | tidak | Month of travel 1-12, or 0 for any. |
| travel_duration | integer | tidak | Trip length: 1 weekend, 2 one week, 3 two weeks. |
| travel_class | integer | tidak | Cabin: 1 economy, 2 premium economy, 3 business, 4 first. (default: 1) |
| adults | integer | tidak | Number of adult passengers. (default: 1) |
| children | integer | tidak | Number of children. (default: 0) |
| stops | integer | tidak | Max stops: 0 any, 1 nonstop, 2 up to 1, 3 up to 2. |
| max_price | integer | tidak | Maximum ticket price. |
| currency | string | tidak | Currency code for prices, e.g. USD, EUR. (default: USD) |
| gl | string | tidak | Two-letter country code, e.g. us, gb, de. (default: us) |
| hl | string | tidak | UI language, e.g. en, es, fr. (default: en) |