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

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

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": 7.40000009536743,
      "id": "nc75339487",
      "latitude": 36.7434997558594,
      "longitude": -121.46216583252,
      "magnitude": 2.66,
      "place": "12 km SW of Ridgemark, CA",
      "time": 1775424300580,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/nc75339487"
    },
    {
      "depth_km": 29.88,
      "id": "pr71512993",
      "latitude": 18.2171666666667,
      "longitude": -66.1466666666667,
      "magnitude": 2.55,
      "place": "1 km W of Santa Clara, Puerto Rico",
      "time": 1775421205540,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/pr71512993"
    },
    {
      "depth_km": 35,
      "id": "us6000smxd",
      "latitude": 1.0968,
      "longitude": 126.5141,
      "magnitude": 4.5,
      "place": "102 km WNW of Ternate, Indonesia",
      "time": 1775415303213,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smxd"
    },
    {
      "depth_km": 10,
      "id": "us6000smxe",
      "latitude": 33.1057,
      "longitude": 106.2456,
      "magnitude": 4.2,
      "place": "26 km SSE of Lüeyang Chengguanzhen, China",
      "time": 1775413921804,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smxe"
    },
    {
      "depth_km": 136.838,
      "id": "us6000smx2",
      "latitude": 5.1615,
      "longitude": 127.5233,
      "magnitude": 4.2,
      "place": "199 km SE of Pondaguitan, Philippines",
      "time": 1775412568423,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smx2"
    },
    {
      "depth_km": 26.82,
      "id": "ci41433224",
      "latitude": 32.2238333333333,
      "longitude": -115.012166666667,
      "magnitude": 2.59,
      "place": "3 km NNW of Estacion Coahuila, B.C., MX",
      "time": 1775412231900,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/ci41433224"
    },
    {
      "depth_km": 3.4300000667572,
      "id": "nc75339397",
      "latitude": 38.7991676330566,
      "longitude": -122.778167724609,
      "magnitude": 2.86,
      "place": "3 km NW of The Geysers, CA",
      "time": 1775411299930,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/nc75339397"
    },
    {
      "depth_km": 535.661,
      "id": "us6000smwy",
      "latitude": -22.2424,
      "longitude": -63.8449,
      "magnitude": 4.5,
      "place": "30 km SW of Yacuiba, Bolivia",
      "time": 1775411089657,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smwy"
    },
    {
      "depth_km": 168.943,
      "id": "us6000smx0",
      "latitude": 1.4713,
      "longitude": 127.2699,
      "magnitude": 4.2,
      "place": "76 km N of Ternate, Indonesia",
      "time": 1775410822146,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smx0"
    },
    {
      "depth_km": 11,
      "id": "us6000smwq",
      "latitude": -32.0691,
      "longitude": -177.9594,
      "magnitude": 5.4,
      "place": "south of the Kermadec Islands",
      "time": 1775409647491,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smwq"
    },
    {
      "depth_km": 10,
      "id": "us6000smww",
      "latitude": -32.0921,
      "longitude": -178.0867,
      "magnitude": 5.2,
      "place": "south of the Kermadec Islands",
      "time": 1775409591822,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smww"
    },
    {
      "depth_km": 35,
      "id": "us6000smwn",
      "latitude": -31.9405,
      "longitude": -178.5931,
      "magnitude": 5.1,
      "place": "Kermadec Islands region",
      "time": 1775409041726,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smwn"
    },
    {
      "depth_km": 31.4,
      "id": "aka2026grusft",
      "latitude": 58.762,
      "longitude": -149.908,
      "magnitude": 2.9,
      "place": "119 km SE of Halibut Cove, Alaska",
      "time": 1775405934440,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026grusft"
    },
    {
      "depth_km": 18.2399997711182,
      "id": "nc75339342",
      "latitude": 36.5605010986328,
      "longitude": -121.16283416748,
      "magnitude": 2.82,
      "place": "4 km NNW of Pinnacles, CA",
      "time": 1775405671420,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/nc75339342"
    },
    {
      "depth_km": 5,
      "id": "us6000smw7",
      "latitude": 32.6494,
      "longitude": -104.4305,
      "magnitude": 3,
      "place": "13 km SSW of Atoka, New Mexico",
      "time": 1775405308694,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smw7"
    },
    {
      "depth_km": 135.203,
      "id": "us6000smvy",
      "latitude": 24.8579,
      "longitude": 123.066,
      "magnitude": 4.6,
      "place": "43 km N of Yonakuni, Japan",
      "time": 1775403241749,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smvy"
    },
    {
      "depth_km": 0,
      "id": "aka2026grrcxc",
      "latitude": 62.847,
      "longitude": -149.09,
      "magnitude": 3.2,
      "place": "61 km S of Cantwell, Alaska",
      "time": 1775399431442,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026grrcxc"
    },
    {
      "depth_km": 35,
      "id": "us6000smv5",
      "latitude": 1.1939,
      "longitude": 126.0842,
      "magnitude": 4.4,
      "place": "109 km ESE of Bitung, Indonesia",
      "time": 1775398536893,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smv5"
    },
    {
      "depth_km": 10,
      "id": "us6000smul",
      "latitude": 39.5371,
      "longitude": 74.6933,
      "magnitude": 4.9,
      "place": "111 km W of Kashgar, China",
      "time": 1775395470692,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smul"
    },
    {
      "depth_km": 10,
      "id": "us6000smui",
      "latitude": -32.0412,
      "longitude": -177.8645,
      "magnitude": 5.5,
      "place": "south of the Kermadec Islands",
      "time": 1775395335957,
      "tsunami": false,
      "type": "earthquake",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000smui"
    }
  ],
  "success": true
}