Naar de inhoud
GET /v1/search

Forward geocoding (address → coordinates)

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/geocoding-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "count": 1,
        "query": "Brandenburg Gate Berlin",
        "results": [
            {
                "lat": 52.5162699,
                "lon": 13.3777034,
                "name": "Brandenburg Gate",
                "type": "attraction",
                "osm_id": 518071791,
                "address": {
                    "city": "Berlin",
                    "road": "Pariser Platz",
                    "suburb": "Mitte",
                    "borough": "Mitte",
                    "country": "Germany",
                    "quarter": "Friedrich-Wilhelm-Stadt",
                    "tourism": "Brandenburg Gate",
                    "postcode": "10117",
                    "country_code": "de",
                    "house_number": "1",
                    "ISO3166-2-lvl4": "DE-BE"
                },
                "category": "tourism",
                "osm_type": "way",
                "place_id": 145792549,
                "importance": 0.5504719991549523,
                "place_rank": 30,
                "addresstype": "tourism",
                "boundingbox": [
                    52.516117,
                    52.5164328,
                    13.3775798,
                    13.3778251
                ],
                "display_name": "Brandenburg Gate, 1, Pariser Platz, Friedrich-Wilhelm-Stadt, Mitte, Berlin, 10117, Germany"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-05-29T20:06:49.401Z",
        "request_id": "6743b5b3-20fc-4c2d-9327-62a12c0aaf30"
    },
    "status": "ok",
    "message": "Geocoding results retrieved successfully",
    "success": true
}