Getting started

Base URL, authentication, and your first request.

Skystack is distributed through RapidAPI. Every request goes to our base URL, authenticated with the API key from your RapidAPI subscription.

https://api.skystackaviation.com

curl https://api.skystackaviation.com/v1/airports/search?q=san+francisco \
  -H "X-RapidAPI-Key: $SKYSTACK_API_KEY" \
  -H "X-RapidAPI-Host: api.skystackaviation.com"

Both headers are required. RapidAPI adds them automatically for requests made through its testing console — you only need to set them yourself when calling the API directly from your own code.

Response format

Every response is JSON. List endpoints return a plain JSON array; single-resource endpoints return an object; a missing resource returns a 404 with a detail field explaining what wasn't found.

Every endpoint accepts ICAO codes (e.g. KSFO) as the primary identifier. Where IATA lookup makes sense — like airport search — it's supported as an alternate path.