/v1/lookup
Full details for a postcode
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/lookup" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/postcode-api/v1/lookup", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/postcode-api/v1/lookup");
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/lookup",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"postcode": {
"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",
"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.312Z",
"request_id": "f1a99214-d985-43f0-afe5-69128e33ab32"
},
"status": "ok",
"message": "Postcode retrieved successfully",
"success": true
}