Aller au contenu
GET /v1/bbox

Bounding box of a cell

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/geohash-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "center": {
            "latitude": 52.517395,
            "longitude": 13.4088135
        },
        "geohash": "u33dc0",
        "precision": 6,
        "width_deg": 0.0109863,
        "height_deg": 0.0054932,
        "bounding_box": {
            "max_lat": 52.5201416,
            "max_lon": 13.4143066,
            "min_lat": 52.5146484,
            "min_lon": 13.4033203
        }
    },
    "meta": {
        "timestamp": "2026-05-30T22:48:45.776Z",
        "request_id": "d089f100-64b9-4a9e-b3f1-f1f680f2b6fc"
    },
    "status": "ok",
    "message": "OK",
    "success": true
}