All tools

USGS Earthquakes

Real-time and historical earthquakes from the US Geological Survey: magnitude, location, depth and time, filterable by size, date and region.

usgs1 endpointGovernment & open dataDataearthquake.usgs.gov

Recent earthquakes

/earthquakessync
$0.002 / call

Earthquakes at or above a magnitude in the last N days, newest first, optionally within a radius of a point. Returns magnitude, place, time, depth, coordinates and a USGS link.

Input

FieldTypeRequiredDescription
minMagnitudenumberMinimum magnitude (default 4.5).
daysintegerLook back this many days (default 7).
latitudenumberCentre latitude for a radius search.
longitudenumberCentre longitude for a radius search.
radiusKmnumberRadius in km around the centre (needs latitude + longitude).
limitintegerMax events (default 20).

Run it

curl -s https://www.sooma.dev/v1/run \ -H "Authorization: Bearer $SOOMA_API_KEY" \ -H "Content-Type: application/json" \ -d '{"provider":"usgs","endpoint":"/earthquakes","input":{"minMagnitude":5,"days":7,"limit":5}}'