/v1/nearby
Stadiums near a coordinate
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/stadiums-api/v1/nearby" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stadiums-api/v1/nearby", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stadiums-api/v1/nearby");
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/stadiums-api/v1/nearby",
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": {
"count": 2,
"total": 2,
"center": {
"lat": 51.55,
"lon": 7.45
},
"results": [
{
"name": "Wullen Stadium",
"country": "Germany",
"capacity": 12000,
"latitude": 51.446092,
"longitude": 7.360267,
"distance_km": 13.12,
"opened_year": 1926
},
{
"name": "Ischelandstadion",
"country": "Germany",
"capacity": 32000,
"latitude": 51.372239,
"longitude": 7.478072,
"distance_km": 19.86,
"opened_year": 1926
}
],
"radius_km": 25
},
"meta": {
"timestamp": "2026-05-31T08:35:48.281Z",
"request_id": "2974e583-6cff-4a42-822b-704695bd98e0"
},
"status": "ok",
"message": "Nearby stadiums retrieved",
"success": true
}