Skip to main content
POST
/
api
/
skyscanner
/
flights
/
prices
/
bands
/skyscanner/flights/prices/bands
curl --request POST \
  --url https://api.anysite.io/api/skyscanner/flights/prices/bands \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "origin": "<string>",
  "destination": "<string>",
  "depart_date": "2023-12-25",
  "timeout": 300,
  "return_date": "2026-08-22",
  "cabin_class": "ECONOMY"
}
'
[
  {
    "@type": "@skyscanner_price_band",
    "vertical": "<string>",
    "currency": "<string>",
    "season": "<string>",
    "percentile_low": 123,
    "percentile_high": 123,
    "outlier_low": 123,
    "low": 123,
    "median": 123,
    "high": 123,
    "outlier_high": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
origin
string
required

Origin place entity id

Pattern: ^\d+$
Example:

"27537542"

destination
string
required

Destination place entity id

Pattern: ^\d+$
Example:

"27544008"

depart_date
string<date>
required

Outbound flight date

Example:

"2026-08-15"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
return_date
string<date> | null

Return flight date for round trips; omit for one-way

Example:

"2026-08-22"

cabin_class
enum<string>
default:ECONOMY

Cabin class

Available options:
ECONOMY,
PREMIUM_ECONOMY,
BUSINESS,
FIRST

Response

Successful Response

@type
string
default:@skyscanner_price_band
vertical
string | null
currency
string | null
season
string | null
percentile_low
integer | null
percentile_high
integer | null
outlier_low
number | null
low
number | null
median
number | null
high
number | null
outlier_high
number | null