← Наука и космос

Недавние землетрясения

GET /earthquakes

Получение недавних землетрясений по всему миру из сейсмической сети USGS (Геологическая служба США). Возвращает местоположение, магнитуду, глубину, время и координаты для каждого события. Фильтрация по минимальной магнитуде (по умолчанию 2.5) и ограничение результатов. Полезно для сейсмологических панелей, инструментов мониторинга стихийных бедствий, систем оповещения о безопасности и образовательных приложений о тектонике плит. Данные обновляются почти в реальном времени.

Параметры

min_magnitude необязательный по умолчанию: 2.5

Minimum magnitude

limit необязательный по умолчанию: 20

Limit

Примеры запросов

Базовое использование
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"

Ответ в реальном времени

{
  "count": 20,
  "data": [
    {
      "depth_km": 2.96,
      "id": "ci40670930",
      "latitude": 33.8335,
      "longitude": -117.662666666667,
      "magnitude": 2.71,
      "place": "10 km WSW of Corona, CA",
      "time": 1786515453170,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/ci40670930"
    },
    {
      "depth_km": 2.4300000667572,
      "id": "ci40670922",
      "latitude": 33.8306655883789,
      "longitude": -117.656997680664,
      "magnitude": 3.10943572112956,
      "place": "9 km WSW of Corona, CA",
      "time": 1786515426410,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/ci40670922"
    },
    {
      "depth_km": 10,
      "id": "us6000tk5j",
      "latitude": -55.9202,
      "longitude": -143.4933,
      "magnitude": 5.1,
      "place": "Pacific-Antarctic Ridge",
      "time": 1786511487487,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tk5j"
    },
    {
      "depth_km": 0.0349,
      "id": "nn00923208",
      "latitude": 38.1496,
      "longitude": -117.9664,
      "magnitude": 2.62,
      "place": "29 km SSE of Mina, Nevada",
      "time": 1786507830329,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/nn00923208"
    },
    {
      "depth_km": 10,
      "id": "us6000tk5c",
      "latitude": 32.4564,
      "longitude": 130.4504,
      "magnitude": 4.9,
      "place": "14 km WSW of Honmachi, Japan",
      "time": 1786507551903,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tk5c"
    },
    {
      "depth_km": 10.73,
      "id": "hv75018296",
      "latitude": 18.879,
      "longitude": -155.233333333333,
      "magnitude": 5.2,
      "place": "42 km ESE of Naalehu, Hawaii",
      "time": 1786506513980,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/hv75018296"
    },
    {
      "depth_km": 10,
      "id": "us6000tk55",
      "latitude": 51.5853,
      "longitude": 15.8885,
      "magnitude": 4.2,
      "place": "4 km WNW of Radwanice, Poland",
      "time": 1786506316110,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tk55"
    },
    {
      "depth_km": 146.743,
      "id": "us6000tk52",
      "latitude": 6.0864,
      "longitude": 126.105,
      "magnitude": 4.4,
      "place": "31 km SSW of Pondaguitan, Philippines",
      "time": 1786505893678,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tk52"
    },
    {
      "depth_km": 13.09,
      "id": "hv75018276",
      "latitude": 18.8843333333333,
      "longitude": -155.2425,
      "magnitude": 3.25,
      "place": "40 km ESE of Naalehu, Hawaii",
      "time": 1786504615850,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/hv75018276"
    },
    {
      "depth_km": 29.679,
      "id": "us6000tk4r",
      "latitude": 18.8722,
      "longitude": -64.5367,
      "magnitude": 3.1,
      "place": "65 km NNE of Cruz Bay, U.S. Virgin Islands",
      "time": 1786499483634,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tk4r"
    },
    {
      "depth_km": 9.45,
      "id": "pr71528153",
      "latitude": 18.872,
      "longitude": -64.5163333333333,
      "magnitude": 3.28,
      "place": "66 km NNE of Cruz Bay, U.S. Virgin Islands",
      "time": 1786498954480,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/pr71528153"
    },
    {
      "depth_km": 7.1,
      "id": "pr71528143",
      "latitude": 19.044,
      "longitude": -66.1133333333333,
      "magnitude": 3.11,
      "place": "63 km N of San Juan, Puerto Rico",
      "time": 1786497845290,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/pr71528143"
    },
    {
      "depth_km": 207.202,
      "id": "us6000tk4d",
      "latitude": 36.6352,
      "longitude": 71.0188,
      "magnitude": 4.1,
      "place": "30 km SSE of Jurm, Afghanistan",
      "time": 1786494412526,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tk4d"
    },
    {
      "depth_km": 41.008,
      "id": "us6000tk46",
      "latitude": 11.6775,
      "longitude": -87.3603,
      "magnitude": 4.4,
      "place": "91 km SSW of Corinto, Nicaragua",
      "time": 1786491274811,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tk46"
    },
    {
      "depth_km": 34.264,
      "id": "us6000tk41",
      "latitude": -3.9381,
      "longitude": 139.9386,
      "magnitude": 4.7,
      "place": "167 km SSW of Abepura, Indonesia",
      "time": 1786491194884,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tk41"
    },
    {
      "depth_km": 147.2,
      "id": "aka2026pvtuaw",
      "latitude": 60.105,
      "longitude": -153.257,
      "magnitude": 3.9,
      "place": "59 km NE of Pedro Bay, Alaska",
      "time": 1786487215321,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026pvtuaw"
    },
    {
      "depth_km": 59.553,
      "id": "us6000tk3b",
      "latitude": 41.5705,
      "longitude": 142.1187,
      "magnitude": 4.8,
      "place": "81 km ENE of Mutsu, Japan",
      "time": 1786484753951,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tk3b"
    },
    {
      "depth_km": 43.011,
      "id": "us6000tk33",
      "latitude": 32.3871,
      "longitude": 69.6826,
      "magnitude": 4.6,
      "place": "14 km NE of Wana, Pakistan",
      "time": 1786484224529,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tk33"
    },
    {
      "depth_km": 2.45000004768372,
      "id": "nc75416222",
      "latitude": 38.8261680603027,
      "longitude": -122.803337097168,
      "magnitude": 2.76,
      "place": "7 km NW of The Geysers, CA",
      "time": 1786484114730,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/nc75416222"
    },
    {
      "depth_km": 2.75999999046326,
      "id": "nc75416217",
      "latitude": 38.8261680603027,
      "longitude": -122.804832458496,
      "magnitude": 2.99,
      "place": "7 km NW of The Geysers, CA",
      "time": 1786484097190,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/nc75416217"
    }
  ],
  "success": true
}