APIs / USGS / Search recent earthquakes from the USGS

USGS: Search recent earthquakes from the USGS

Recent earthquakes worldwide from the USGS catalogue: magnitude, place, time, depth, tsunami flag and PAGER alert, filtered by size and distance.

GET /v1/usgs/earthquakes

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
min_magnitudenumberOptionalAny
Smallest magnitude to return, -1 to 10. Default 2.5.
daysintegerOptionalAny
How many days back to search, 1 to 365. Default 7.
latitudenumberOptionalAny
Latitude of a centre point; give with longitude to search a radius.
longitudenumberOptionalAny
Longitude of a centre point; give with latitude.
radius_kmnumberOptionalAny
Search radius around the centre point in km, 1 to 20000. Default 250.
orderstringOptionaltime, magnitude
Newest first (time) or largest first (magnitude). Default time.
limitintegerOptionalAny
Events per page, 1 to 500. Default 50.
pageintegerOptionalAny
Page number, from 1. Default 1.

Example request

USGS
GET/v1/usgs/earthquakes?min_magnitude=4.5&days=7
{
  "success": true,
  "data": {
    "page": 1,
    "has_more": true,
    "count": 50,
    "items": [
      {
        "id": "us6000ug2p",
        "magnitude": 4.5,
        "magnitude_type": "mb",
        "place": "101 km N of Baukau, Timor Leste",
        "time": "2026-12-06T07:15:49.423Z",
        "updated": "2026-12-06T07:38:09.040Z",
        "latitude": -7.5563,
        "longitude": 126.4171,
        "depth_km": 13.904,
        "type": "earthquake",
        "status": "reviewed",
        "tsunami": false,
        "significance": 312,
        "network": "us",
        "title": "M 4.5 - 101 km N of Baukau, Timor Leste",
        "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ug2p"
      },
      {
        "id": "us6000ug1q",
        "magnitude": 5.6,
        "magnitude_type": "mww",
        "place": "108 km NNE of Bangkalan, Indonesia",
        "time": "2026-12-06T06:03:19.431Z",
        "updated": "2026-12-06T08:11:47.236Z",
        "latitude": -6.1264,
        "longitude": 113.084,
        "depth_km": 588.668,
        "type": "earthquake",
        "status": "reviewed",
        "tsunami": false,
        "alert": "green",
        "significance": 482,
        "mmi": 1.332,
        "network": "us",
        "title": "M 5.6 - 108 km NNE of Bangkalan, Indonesia",
        "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ug1q"
      },
      {
        "id": "us6000ug08",
        "magnitude": 4.5,
        "magnitude_type": "mb",
        "place": "92 km SW of Modisi, Indonesia",
        "time": "2026-12-05T22:23:46.613Z",
        "updated": "2026-12-06T04:15:18.040Z",
        "latitude": -0.0184,
        "longitude": 123.7545,
        "depth_km": 123.138,
        "type": "earthquake",
        "status": "reviewed",
        "tsunami": false,
        "significance": 312,
        "network": "us",
        "title": "M 4.5 - 92 km SW of Modisi, Indonesia",
        "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ug08"
      }
    ]
  },
  "meta": {
    "request_id": "req_6059748dc6fd47e19d2189832fa68240",
    "credits_charged": 1,
    "credits_remaining": 483
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.items has these 18 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
magnitudenumber
magnitude_typestring
placestring
timestring
updatedstring
latitudenumber
longitudenumber
depth_kmnumber
typestring
statusstring
tsunamiboolean
significanceinteger
networkstring
titlestring
urlurl
alertstring
mminumber