Flights

Get Clusters Availability

GET https://api.basset.ws/flights/clusters

Query Parameters

Name
Type
Description

dates

string

List of comma separated dates in format yyyy-MM-dd representing the departure dates of each segment

from

string

List of comma separated IATA Codes representing the departure airport of each segment

to

string

List of comma separated IATA Codes representing the arrival airport of each segment

site

string

ISO 3166-2 country code

channel

string

WEB or DESKTOP

adults

number

Number of adults

seniors

number

Number of seniors (third-age)

disabled

number

Number of passengers with disabilities

children

number

Number of children

infants

number

Number of infants

page

number

Number of page to request

page_size

number

The size of the requested page

stops

number

List of comma separated stops to filter

airlines

string

List of comma separated IATA codes of airlines to filter

outbound_departure_airports

string

List of comma separated IATA codes representing the outbound departure airports to filter

outbound_arrival_airports

string

List of comma separated IATA codes representing the outbound arrival airports to filter

outbound_departure_time

string

Pair of comma separated schedules that represents the minimum and maximum time of outbound departure

inbound_departure_airports

string

List of comma separated IATA codes representing the inbound departure airports to filter **

inbound_arrival_airports

string

List of comma separated IATA codes representing the inbound arrival airports to filter **

inbound_departure_time

string

Pair of comma separated schedules that represents the minimum and maximum time of inbound departure **

How to generate cluster id?

To generate the ID of the cluster it is necessary to concatenate the ID's found in each option with an underscore (_)

Get Cluster by id

GET https://api.basset.ws/flights/clusters/:id

Path Parameters

Name
Type
Description

id

string

Cluster id

Query Parameters

Name
Type
Description

site

string

ISO 3166-2 country code

channel

string

WEB or DESKTOP

Last updated