← Tiede ja avaruus

Viimeaikaiset maanjäristykset

GET /earthquakes

Hae viimeaikaisia maanjäristyksiä maailmanlaajuisesti USGS:n (United States Geological Survey) seismisestä verkostosta. Palauttaa sijainnin, magnitudin, syvyyden, ajan ja koordinaatit jokaiselle tapahtumalle. Suodata vähimmäismagnitudin mukaan (oletus 2,5) ja rajoita tuloksia. Hyödyllinen seismologian kojelaudoille, luonnonkatastrofien seurantatyökaluille, turvallisuushälytysjärjestelmille ja laattatektoniikkaa käsitteleville opetussovelluksille. Data päivittyy lähes reaaliaikaisesti.

Parametrit

min_magnitude valinnainen oletus: 2.5

Minimum magnitude

limit valinnainen oletus: 20

Limit

Esimerkkipyynnöt

Peruskäyttö
curl https://nordapi.ee/api/v1/earthquakes
All earthquakes above magnitude 4
curl "https://nordapi.ee/api/v1/earthquakes?min_magnitude=4&limit=10"
Last 50 earthquakes worldwide
curl "https://nordapi.ee/api/v1/earthquakes?limit=50"
Only significant earthquakes (mag 6+)
curl "https://nordapi.ee/api/v1/earthquakes?min_magnitude=6"

Reaaliaikainen vastaus

{
  "count": 20,
  "data": [
    {
      "depth_km": 108.134,
      "id": "us6000ucqu",
      "latitude": -10.7957,
      "longitude": -75.9635,
      "magnitude": 5,
      "place": "15 km NNE of Carhuamayo, Peru",
      "time": 1795326718624,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ucqu"
    },
    {
      "depth_km": 51.2,
      "id": "aka2026xcrtkj",
      "latitude": 60.366,
      "longitude": -150.897,
      "magnitude": 2.6,
      "place": "16 km SSE of Soldotna, Alaska",
      "time": 1795324743676,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026xcrtkj"
    },
    {
      "depth_km": 98.4,
      "id": "aka2026xcqggs",
      "latitude": 58.374,
      "longitude": -154.25,
      "magnitude": 2.5,
      "place": "86 km WNW of Aleneva, Alaska",
      "time": 1795322039407,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026xcqggs"
    },
    {
      "depth_km": 77.4,
      "id": "aka2026xchufl",
      "latitude": 58.238,
      "longitude": -154.097,
      "magnitude": 2.9,
      "place": "72 km WNW of Aleneva, Alaska",
      "time": 1795306810581,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026xchufl"
    },
    {
      "depth_km": 31.078,
      "id": "us6000ucpj",
      "latitude": -2.442,
      "longitude": 140.1129,
      "magnitude": 4.6,
      "place": "60 km WNW of Abepura, Indonesia",
      "time": 1795302965571,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ucpj"
    },
    {
      "depth_km": 542.33,
      "id": "us6000ucpi",
      "latitude": -23.879,
      "longitude": 179.99,
      "magnitude": 4.3,
      "place": "south of the Fiji Islands",
      "time": 1795302586835,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ucpi"
    },
    {
      "depth_km": 3.11,
      "id": "ci41364663",
      "latitude": 33.15517,
      "longitude": -115.63217,
      "magnitude": 2.59,
      "place": "11 km WNW of Calipatria, CA",
      "time": 1795297591560,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/ci41364663"
    },
    {
      "depth_km": 6.48999977111816,
      "id": "nc75469982",
      "latitude": 36.5988349914551,
      "longitude": -121.233833312988,
      "magnitude": 2.89,
      "place": "11 km NW of Pinnacles, CA",
      "time": 1795292498630,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/nc75469982"
    },
    {
      "depth_km": 147.806,
      "id": "us6000ucnl",
      "latitude": -0.9875,
      "longitude": 100.7174,
      "magnitude": 4.2,
      "place": "21 km SSE of Solok, Indonesia",
      "time": 1795290746507,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ucnl"
    },
    {
      "depth_km": 16.8,
      "id": "aka2026xbypfs",
      "latitude": 51.15,
      "longitude": -179.173,
      "magnitude": 4,
      "place": "193 km WSW of Adak, Alaska",
      "time": 1795290274265,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026xbypfs"
    },
    {
      "depth_km": 209.784,
      "id": "us6000ucni",
      "latitude": -23.0294,
      "longitude": -66.519,
      "magnitude": 4.9,
      "place": "88 km WNW of El Aguilar, Argentina",
      "time": 1795287784170,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ucni"
    },
    {
      "depth_km": 124.788,
      "id": "us6000ucn9",
      "latitude": -21.2842,
      "longitude": -68.3927,
      "magnitude": 4.3,
      "place": "15 km WSW of Ollagüe, Chile",
      "time": 1795282862389,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ucn9"
    },
    {
      "depth_km": 65.465,
      "id": "us6000ucn8",
      "latitude": 34.4089,
      "longitude": 140.131,
      "magnitude": 4.6,
      "place": "68 km SSE of Tateyama, Japan",
      "time": 1795282244504,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ucn8"
    },
    {
      "depth_km": 10,
      "id": "us6000ucn2",
      "latitude": 8.0091,
      "longitude": -80.988,
      "magnitude": 4.5,
      "place": "0 km SSW of La Colorada, Panama",
      "time": 1795281261477,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ucn2"
    },
    {
      "depth_km": 21.9,
      "id": "aka2026xbsutp",
      "latitude": 59.206,
      "longitude": -145.629,
      "magnitude": 2.6,
      "place": "149 km S of Cordova, Alaska",
      "time": 1795280005513,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026xbsutp"
    },
    {
      "depth_km": 25.1,
      "id": "aka2026xbrrnr",
      "latitude": 50.933,
      "longitude": 179.502,
      "magnitude": 3.6,
      "place": "288 km WSW of Adak, Alaska",
      "time": 1795277839204,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026xbrrnr"
    },
    {
      "depth_km": 101.751,
      "id": "us6000ucmv",
      "latitude": -22.8557,
      "longitude": -68.8598,
      "magnitude": 4,
      "place": "44 km S of Calama, Chile",
      "time": 1795277079659,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ucmv"
    },
    {
      "depth_km": 339.404,
      "id": "us6000ucmt",
      "latitude": -6.5369,
      "longitude": 127.8223,
      "magnitude": 4.1,
      "place": "237 km NNE of Lospalos, Timor Leste",
      "time": 1795276567655,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ucmt"
    },
    {
      "depth_km": -0.189999997615814,
      "id": "hv75074192",
      "latitude": 19.1909999847412,
      "longitude": -155.487335205078,
      "magnitude": 2.87,
      "place": "1 km SW of Pāhala, Hawaii",
      "time": 1795276429910,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/hv75074192"
    },
    {
      "depth_km": 31.1399993896484,
      "id": "hv75074197",
      "latitude": 19.21266746521,
      "longitude": -155.477493286133,
      "magnitude": 2.84,
      "place": "1 km N of Pāhala, Hawaii",
      "time": 1795276424550,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/hv75074197"
    }
  ],
  "success": true
}