Bulk Availability

Changed on

Retrieve a large amount of availability objects from one specific mileage program.

get/availability

Request

  • Base URL
    https://seats.aero/partnerapi
  • URL
    https://seats.aero/partnerapi/availability
  • Auth
    API key in header Partner-Authorization

Query parameters

sourcestring required

The mileage program to retrieve availability from.

cabinstring

Only returns results with this cabin available. Must be one of: [economy, premium, business, first]

start_datestring

Only returns results between start_date and end_date when specified.

end_datestring

Only returns results between start_date and end_date when specified.

origin_regionstring

Only returns results originating in this region when specified. Must be one of: [North America, South America, Africa, Asia, Europe, Oceania]

destination_regionstring

Only returns results arriving in this region when specified. Must be one of: [North America, South America, Africa, Asia, Europe, Oceania]

takeinteger

How many results to return. Must be >=10 and <= 1000 if specified, otherwise 500.

cursorinteger

Cursor you retrieved from a previous availability response.

skipinteger

How many results to skip that you have already retrieved. Use this with the cursor to paginate responses.

include_filteredboolean

Return results that only have raw (filtered) results. Enable this when using the raw fields to prevent dynamic price filtering.

min_cabin_pctinteger

Minimum percentage of each itinerary's distance that must be flown in its reported Cabin or a higher cabin. Must be a whole number from 0 to 100. For example, 75 permits up to 25% of the journey in a lower cabin. Omit this parameter or set it to 100 to exclude itineraries with any distance below the reported Cabin.

Response

200

object required

Changes