# USGS Earthquakes API – Live Feed & Historical Search

Search every earthquake recorded by the USGS by date, magnitude, depth, location radius or bounding box, or pull the live past-hour, day, week and month feeds. Returns magnitude, place, time, coordinates, depth, tsunami flag, PAGER alert and felt reports.

$0.16 per 1,000 events

[Get an API key](https://pushbuild.com/apis/app/signup?api=usgs-earthquakes)

Example request

```
POST /usgs-earthquakes/run
{
  "maxItems": 20
}
```

## What a response looks like

POST /usgs-earthquakes/run{"maxItems": 5}

```
{"count": 5, "items": [{ "alert": null, "depthKm": 10.5500001907349, "id": "nc75464422", "latitude": 35.9794998168945, "longitude": -120.787330627441, "magnitude": 1.11, "magnitudeType": "md", "place": "12 km ESE of San Ardo, CA", "significance": 19, "status": "automatic", … ]}
```

`depthKm` by `id` in this sample response

| alert | depthKm | id | latitude | longitude | magnitude |
| --- | --- | --- | --- | --- | --- |
|  | 10.55 | nc75464422 | 35.98 | -120.8 | 1.11 |
|  | 5.587 | tx2026wbxhyh | 31.66 | -104.4 | 3 |
|  | 12.62 | ci41360231 | 33.51 | -116.5 | 0.61 |
|  | 26.98 | pr71538883 | 19.02 | -64.93 | 2.78 |
|  | 10 | us7000tx47 | -28.19 | 74.37 | 4.9 |

Real rows returned by this API on 2026-11-09 for the request shown.

## What it returns

Every earthquake in the USGS ComCat catalog, worldwide, from the official USGS Earthquake Hazards Program. Public domain.

## Common uses

Risk and insurance analytics, logistics and supply-chain alerts, news, research and dashboards. Pay per event.

## Request

`POST https://api.pushbuild.com/usgs-earthquakes/run` with a JSON body. Send your key in the `X-API-Key` header.

| Field | Type | Description |
| --- | --- | --- |
| `feed` | string: significant:month, 4.5:week, 4.5:day, 2.5:day, 1.0:hour, all:hour, all:day, significant:week, 4.5:month, 2.5:week | Use a live USGS summary feed instead of a search (magnitude:period). |
| `days` | integer | Search the last N days when no start time is given. Default: `30`. |
| `startTime` | string | YYYY-MM-DD or ISO time (UTC). |
| `endTime` | string | YYYY-MM-DD or ISO time (UTC). |
| `minMagnitude` | number | e.g. 4.5 |
| `maxMagnitude` | number | e.g. 9 |
| `minDepthKm` | number |  |
| `maxDepthKm` | number |  |
| `near` | string | 'lat,lon' center for a radius search. |
| `radiusKm` | number | With near; default 100, max 20001. |
| `boundingBox` | string | 'minLat,minLon,maxLat,maxLon'. |
| `alertLevel` | string: green, yellow, orange, red | Only events at this PAGER impact level. |
| `minFeltReports` | integer | Only events felt by at least this many people. |
| `tsunamiOnly` | boolean | Only events with a tsunami flag. Default: `false`. |
| `sort` | string: time, time-asc, magnitude, magnitude-asc | Order of results. Default: `"time"`. |
| `maxItems` | integer | Maximum items to return (1-500). Default: `100`. |

### Example

```
curl -X POST https://api.pushbuild.com/usgs-earthquakes/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"maxItems": 20}'
```

### Response

```
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
```

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

## Pricing

Pay only for results returned: $0.16 per 1,000 events. No charge for errors or empty searches.

| Events | Cost |
| --- | --- |
| 1,000 | $0.16 |
| 10,000 | $1.60 |
| 100,000 | $16.00 |
| 1,000,000 | $160.00 |
| 6,249 a month | Free ($1 monthly credit) |

## Use it from Claude, ChatGPT or Cursor

This API is also an MCP server: `https://api.pushbuild.com/mcp/usgs-earthquakes`. Add it to any assistant that supports remote MCP servers, with your key in the `X-API-Key` header. Same prices. [Setup for each app](https://pushbuild.com/apis/mcp.html).

## Related APIs

- [Japan Earthquake API](https://pushbuild.com/apis/japan-earthquakes.html): Recent earthquakes reported by the Japan Meteorological Agency: origin time, epicentre region in English and Japanese, magnitude, depth, coordinates and maximum seismic intensity (shindo)..
- [New Zealand Earthquake API](https://pushbuild.com/apis/new-zealand-earthquakes.html): New Zealand earthquakes and volcanoes from GeoNet: recent quakes with time, magnitude, depth, locality, coordinates and shaking intensity (MMI), plus current volcanic alert levels and aviation colour codes..
- [USGS River Streamflow API](https://pushbuild.com/apis/usgs-river-streamflow.html): Live and recent readings from about 10,000 USGS river and stream gauges: discharge (cubic feet per second), gage height, water temperature and more, by gauge ID, state, bounding box, watershed (HUC) or county.
- [Hacker News API](https://pushbuild.com/apis/hacker-news.html): Search every Hacker News story and comment by keyword, date and points, or pull the live Top, New, Best, Ask, Show and Jobs feeds.
- [Volcano Alert API](https://pushbuild.com/apis/usgs-volcano-alerts.html): US volcano status from the USGS Volcano Hazards Program: every volcano at an elevated alert level with alert level and aviation color code, recent notices and daily updates from the Alaska, Cascades, Hawaii, California and Yellowstone observatories, and all monitored volcanoes..
- [US Wildfire Incidents API](https://pushbuild.com/apis/us-wildfire-incidents.html): Active and historical US wildfires from the national interagency fire system (NIFC WFIGS): name, acres burned, percent contained, discovery date, cause, personnel, cost, state, county, landowner and coordinates.

## Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

[hello@pushbuild.com](mailto:hello@pushbuild.com?subject=API%20question)

## New APIs and data, twice a month

New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.

---
As of 2026-12-03. Source: https://pushbuild.com/apis/usgs-earthquakes.html
