/v1/lookup
Location for a postal code
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/postalcode-api/v1/lookup" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/postalcode-api/v1/lookup", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/postalcode-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/postalcode-api/v1/lookup",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"places": [
{
"state": "California",
"latitude": 34.0901,
"longitude": -118.4065,
"place_name": "Beverly Hills",
"state_code": "CA"
}
],
"country": "United States",
"post_code": "90210",
"country_code": "US"
},
"meta": {
"timestamp": "2026-05-30T04:15:36.843Z",
"request_id": "133755be-2944-40c1-939c-86b3d4dae267"
},
"status": "ok",
"message": "Postal code resolved",
"success": true
}