Pushbuild

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

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.

FieldTypeDescription
feedstring: 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:weekUse a live USGS summary feed instead of a search (magnitude:period).
daysintegerSearch the last N days when no start time is given. Default: 30.
startTimestringYYYY-MM-DD or ISO time (UTC).
endTimestringYYYY-MM-DD or ISO time (UTC).
minMagnitudenumbere.g. 4.5
maxMagnitudenumbere.g. 9
minDepthKmnumber
maxDepthKmnumber
nearstring'lat,lon' center for a radius search.
radiusKmnumberWith near; default 100, max 20001.
boundingBoxstring'minLat,minLon,maxLat,maxLon'.
alertLevelstring: green, yellow, orange, redOnly events at this PAGER impact level.
minFeltReportsintegerOnly events felt by at least this many people.
tsunamiOnlybooleanOnly events with a tsunami flag. Default: false.
sortstring: time, time-asc, magnitude, magnitude-ascOrder of results. Default: "time".
maxItemsintegerMaximum 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.

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

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.