/v1/nearby
Stadiums near a coordinate
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}