/v1/neighbors
Neighbouring tiles
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/maptile-api/v1/neighbors" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/maptile-api/v1/neighbors", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/maptile-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/maptile-api/v1/neighbors",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"x": 2200,
"y": 1343,
"zoom": 12,
"neighbors": {
"e": {
"x": 2201,
"y": 1343,
"z": 12,
"quadkey": "120210233223"
},
"n": {
"x": 2200,
"y": 1342,
"z": 12,
"quadkey": "120210233220"
},
"s": {
"x": 2200,
"y": 1344,
"z": 12,
"quadkey": "120212011000"
},
"w": {
"x": 2199,
"y": 1343,
"z": 12,
"quadkey": "120210232333"
},
"ne": {
"x": 2201,
"y": 1342,
"z": 12,
"quadkey": "120210233221"
},
"nw": {
"x": 2199,
"y": 1342,
"z": 12,
"quadkey": "120210232331"
},
"se": {
"x": 2201,
"y": 1344,
"z": 12,
"quadkey": "120212011001"
},
"sw": {
"x": 2199,
"y": 1344,
"z": 12,
"quadkey": "120212010111"
}
}
},
"meta": {
"timestamp": "2026-06-02T16:51:49.583Z",
"request_id": "0a1d6901-5b12-431e-8141-8cad504c2001"
},
"status": "ok",
"message": "Neighbouring tiles",
"success": true
}