API Key
Overview
The majority of our API endpoints require you to use API Key authentication to authenticate your request.
API Key Authentication
This is provided as a standard HTTP Authorization
header.
The header contains the API Key provided for your account. Any scopes assigned to the API Key will be granted to the
client application using it.
The API Key header must be passed on every request made to the APIs.
Sample requests
Raw HTTP
GET /v2/mapdata/geojson?n=51.46&e=-0.95&s=51.45&w=-0.98 HTTP/1.1
Authorization: X-AA-ApiKey YOUR_API_KEY
Curl
curl -H "Authorization: X-AA-ApiKey YOUR_API_KEY" https://api.altitudeangel.com/v2/mapdata/geojson?n=51.46\&e=-0.95\&s=51.45\&w=-0.98
PowerShell
Invoke-RestMethod -Method Get -Headers @{"Authorization"="X-AA-ApiKey YOUR_API_KEY"} -Uri https://api.altitudeangel.com/v2/mapdata/geojson?n=51.46`&e=-0.95`&s=51.45`&w=-0.98
Updated almost 3 years ago