Vai al contenuto
GET /v1/decode

Geohash to coordinates + bbox

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/geohash-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/geohash-api/v1/decode" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/geohash-api/v1/decode", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/geohash-api/v1/decode");
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/decode",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "error": {
            "latitude": 6.705522537231445e-7,
            "longitude": 6.705522537231445e-7
        },
        "geohash": "u4pruydqqvj",
        "latitude": 57.6491106,
        "longitude": 10.4074397,
        "precision": 11,
        "bounding_box": {
            "max_lat": 57.6491113,
            "max_lon": 10.4074404,
            "min_lat": 57.64911,
            "min_lon": 10.407439
        }
    },
    "meta": {
        "timestamp": "2026-05-30T22:48:45.833Z",
        "request_id": "a94c52b4-7b91-46c3-b9d3-8fe5ea212ff2"
    },
    "status": "ok",
    "message": "OK",
    "success": true
}