Skip to main content
POST
/hopper/flights/prices

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
origin
string
required
Minimum string length: 1
destination
string
required
Minimum string length: 1
timeout
integer
default:300
Required range: 20 <= x <= 1500
trip_type
enum<string>
default:round_trip
Available options:
round_trip,
one_way
origin_type
enum<string>
default:airport
Available options:
airport,
city
destination_type
enum<string>
default:airport
Available options:
airport,
city

Response

Successful Response

@type
string
default:HopperFlightPriceBucket
price_label
string | null
category
string | null
dates
string[]