---
title: "USGS API: Search recent earthquakes from the USGS"
description: "Recent earthquakes worldwide from the USGS catalogue: magnitude, place, time, depth, tsunami flag and PAGER alert, filtered by size and distance."
url: https://perceptlayer.com/apis/usgs/earthquakes
---

[APIs](https://perceptlayer.com/apis) / [USGS](https://perceptlayer.com/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.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `min_magnitude` | number | Optional | Any Smallest magnitude to return, -1 to 10. Default 2.5. |
| `days` | integer | Optional | Any How many days back to search, 1 to 365. Default 7. |
| `latitude` | number | Optional | Any Latitude of a centre point; give with longitude to search a radius. |
| `longitude` | number | Optional | Any Longitude of a centre point; give with latitude. |
| `radius_km` | number | Optional | Any Search radius around the centre point in km, 1 to 20000. Default 250. |
| `order` | string | Optional | time, magnitude Newest first (time) or largest first (magnitude). Default time. |
| `limit` | integer | Optional | Any Events per page, 1 to 500. Default 50. |
| `page` | integer | Optional | Any 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 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/usgs?try=earthquakes#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.

| Field | Type |
| --- | --- |
| `id` | string |
| `magnitude` | number |
| `magnitude_type` | string |
| `place` | string |
| `time` | string |
| `updated` | string |
| `latitude` | number |
| `longitude` | number |
| `depth_km` | number |
| `type` | string |
| `status` | string |
| `tsunami` | boolean |
| `significance` | integer |
| `network` | string |
| `title` | string |
| `url` | url |
| `alert` | string |
| `mmi` | number |
