/v1/neighbors
The 8 neighbouring cells
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/geohash-api/v1/neighbors" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/geohash-api/v1/neighbors", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/geohash-api/v1/neighbors");
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/geohash-api/v1/neighbors",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"all": [
"u33dc1",
"u33dc3",
"u33dc2",
"u33d9r",
"u33d9p",
"u33d8z",
"u33dbb",
"u33dbc"
],
"geohash": "u33dc0",
"neighbors": {
"east": "u33dc2",
"west": "u33dbb",
"north": "u33dc1",
"south": "u33d9p",
"northeast": "u33dc3",
"northwest": "u33dbc",
"southeast": "u33d9r",
"southwest": "u33d8z"
}
},
"meta": {
"timestamp": "2026-05-30T22:48:45.983Z",
"request_id": "c8676747-21f8-4cef-917d-2f0fec1be2bc"
},
"status": "ok",
"message": "OK",
"success": true
}