Zum Inhalt springen
GET /v1/path

Elevations for many points

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/elevation-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/elevation-api/v1/path" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/elevation-api/v1/path", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/elevation-api/v1/path");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/elevation-api/v1/path",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "unit": "meters",
        "count": 2,
        "results": [
            {
                "latitude": 52.516,
                "longitude": 13.377,
                "elevation_m": 36
            },
            {
                "latitude": 48.858,
                "longitude": 2.294,
                "elevation_m": 49
            }
        ]
    },
    "meta": {
        "timestamp": "2026-05-30T05:50:04.476Z",
        "request_id": "6f74fd8e-f9e5-4b7f-bde9-8514ab27c0ff"
    },
    "status": "ok",
    "message": "Elevations retrieved",
    "success": true
}