Aller au contenu
GET /v1/nearby

Volcanoes within a radius of a coordinate

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/volcanoes-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/volcanoes-api/v1/nearby" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/volcanoes-api/v1/nearby", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/volcanoes-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/volcanoes-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": 10,
        "total": 49,
        "center": {
            "lat": 35.68,
            "lon": 139.69
        },
        "results": [
            {
                "id": 283020,
                "name": "Hakoneyama",
                "type": "Complex",
                "region": "Northwestern Pacific Volcanic Regions",
                "country": "Japan",
                "landform": "Composite",
                "latitude": 35.233,
                "longitude": 139.021,
                "subregion": "Izu Volcanic Arc",
                "distance_km": 78.4,
                "elevation_m": 1438,
                "last_eruption": "2015",
                "geologic_epoch": "Holocene",
                "tectonic_setting": "Subduction zone / Continental crust (> 25 km)"
            },
            {
                "id": 283030,
                "name": "Fujisan",
                "type": "Stratovolcano",
                "region": "Northwestern Pacific Volcanic Regions",
                "country": "Japan",
                "landform": "Composite",
                "latitude": 35.361,
                "longitude": 138.728,
                "subregion": "Izu Volcanic Arc",
                "distance_km": 94,
                "elevation_m": 3776,
                "last_eruption": "1708",
                "geologic_epoch": "Holocene",
                "tectonic_setting": "Subduction zone / Continental crust (> 25 km)"
            },
            {
                "id": 283010,
                "name": "Izu-Tobu",
                "type": "Pyroclastic cone(s)",
                "region": "Northwestern Pacific Volcanic Regions",
                "country": "Japan",
                "landform": "Cluster",
                "latitude": 34.9,
                "longitude": 139.098,
                "subregion": "Izu Volcanic Arc",
                "distance_km": 102,
                "elevation_m": 1406,
                "last_eruption": "1989",
                "geologic_epoch": "Holocene",
                "tectonic_setting": "Subduction zone / Continental crust (> 25 km)"
            },
            {
                "id": 283130,
                "name": "Akagisan",
                "type": "Stratovolcano",
                "region": "Northwestern Pacific Volcanic Regions",
                "country": "Japan",
                "landform": "Composite",
                "latitude": 36.56,
                "longitude": 139.193,
                "subregion": "Northeast Japan Volcanic Arc",
                "distance_km": 107.6,
                "elevation_m": 1828,
                "last_eruption": null,
                "geologic_epoch": "Holocene",
                "tectonic_setting": "Subduction zone / Continental crust (> 25 km)"
            },
            {
                "id": 284010,
                "name": "Izu-Oshima",
                "type": "Stratovolcano",
                "region": "Northwestern Pacific Volcanic Regions",
                "country": "Japan",
                
…