所有网站
预览 即将推出
预览即将推出
我们正在完善此端点。它暂不可运行,因此在实时验证之前不会展示示例响应。
GET
/v1/google/travel/explore1 额度 / 次Travel Explore
Destination ideas from a departure airport with a sample fare, flight time, stops and airline for each place.
已为你处理:速率限制recaptcha
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| departure_id | string | 是 | Departure airport code or location id, e.g. 'CDG' or 'JFK'. |
| 高级筛选 | |||
| arrival_id | string | 否 | Optional arrival area or location id to narrow the map. |
| outbound_date | string | 否 | Outbound date, YYYY-MM-DD. |
| return_date | string | 否 | Return date, YYYY-MM-DD. |
| type | integer | 否 | Trip type: 1 round trip, 2 one way, 3 multi-city. (默认值:1) |
| month | integer | 否 | Month of travel 1-12, or 0 for any. |
| travel_duration | integer | 否 | Trip length: 1 weekend, 2 one week, 3 two weeks. |
| travel_class | integer | 否 | Cabin: 1 economy, 2 premium economy, 3 business, 4 first. (默认值:1) |
| adults | integer | 否 | Number of adult passengers. (默认值:1) |
| children | integer | 否 | Number of children. (默认值:0) |
| stops | integer | 否 | Max stops: 0 any, 1 nonstop, 2 up to 1, 3 up to 2. |
| max_price | integer | 否 | Maximum ticket price. |
| currency | string | 否 | Currency code for prices, e.g. USD, EUR. (默认值:USD) |
| gl | string | 否 | Two-letter country code, e.g. us, gb, de. (默认值:us) |
| hl | string | 否 | UI language, e.g. en, es, fr. (默认值:en) |