/v1/reverse
Nearest postcodes to coordinates
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/postcode-api/v1/reverse" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/postcode-api/v1/reverse", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/postcode-api/v1/reverse");
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/postcode-api/v1/reverse",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 1,
"latitude": 51.501,
"longitude": -0.1416,
"postcodes": [
{
"ccg": "NHS North West London",
"lsoa": "Westminster 018C",
"msoa": "Westminster 018",
"nuts": "Westminster",
"incode": "1AA",
"parish": "Westminster, unparished area",
"region": "London",
"country": "England",
"outcode": "SW1A",
"quality": 1,
"eastings": 529090,
"latitude": 51.50101,
"postcode": "SW1A 1AA",
"longitude": -0.141563,
"northings": 179645,
"admin_ward": "St James's",
"distance_m": 2.7920763597315994,
"admin_county": null,
"admin_district": "Westminster",
"primary_care_trust": "Westminster",
"nhs_health_authority": "London",
"european_electoral_region": "London",
"parliamentary_constituency": "Cities of London and Westminster"
}
]
},
"meta": {
"timestamp": "2026-06-08T01:19:43.734Z",
"request_id": "ea20a0aa-70e3-48d9-b68a-36d3d154c9e2"
},
"status": "ok",
"message": "Reverse geocode completed successfully",
"success": true
}