Skip to main content

Quick start guide

Introduction

The Geo API returns a full catalogue of supported locations (airports, cities, islands, countries and continents) in the specified locale. Supported locations are locations where travelers can search flights to and from.

Sample request

/hierarchy/flights

curl --request GET 'https://partners.api.skyscanner.net/apiservices/v3/geo/hierarchy/flights/en-GB' --header 'x-api-key: your-api-key'

/hierarchy/flights/nearest

curl --request POST 'https://partners.api.skyscanner.net/apiservices/v3/geo/hierarchy/flights/nearest' --header 'x-api-key:your-api-key' --data '{"locator":{"coordinates":{"latitude":51.5072, "longitude":0.1276}},"locale":"en-GB"}'

API documentation

For more information please see Geo API reference