toolzerhub API Docs

Get booking options (v1)

Get each seller and fare for a chosen flight, with price and a link to book. Use the booking_token from a search result.

1 credit / requestBilled only on success
GET
/v1/google-flights/booking-options

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

booking_token*string

booking_token of a one-way flight or of a round trip's return flight.

Length10 <= length <= 12000
currency?string

ISO 4217 currency for prices.

Match^[A-Za-z]{3}$
Default"USD"
curl -X GET "https://example.com/v1/google-flights/booking-options?booking_token=stringstri" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "currency": "string",    "options": [      {        "seller": "Delta",        "seller_code": "DL",        "is_airline": true,        "fare_name": "Delta Main Basic",        "price": 0,        "booking_url": "string"      }    ]  },  "details": {    "reason": "string",    "message": "string"  }}