Skip to main content
POST
/
api
/
skyscanner
/
places
/
search
/skyscanner/places/search
curl --request POST \
  --url https://api.anysite.io/api/skyscanner/places/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "@type": "@skyscanner_place_suggestion",
    "entity_id": "<string>",
    "sky_id": "<string>",
    "iata_code": "<string>",
    "name": "<string>",
    "type": "<string>",
    "city": "<string>",
    "country": "<string>",
    "country_code": "<string>",
    "latitude": 123,
    "longitude": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Place name, city or airport to search for

Minimum string length: 1
Example:

"london"

count
integer
required

Max number of results

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:@skyscanner_place_suggestion
entity_id
string | null
sky_id
string | null
iata_code
string | null
name
string | null
type
string | null
city
string | null
country
string | null
country_code
string | null
latitude
number | null
longitude
number | null