Skip to main content
Public records1 credit per run

USGS Earthquakes

Earthquakes from the USGS ComCat catalog: magnitude, place, time, coordinates, depth, PAGER alert level and tsunami flag, by time window, magnitude and distance from a point.

What goes in, what comes back

Input

The request body: the fields of params, then run options that sit next to params.

USGS Earthquakes input parameters
FieldTypeNotes
params.daysnumberLook back this many days from now (1 to 3660). Use this or starttime.
params.starttimestringWindow start, YYYY-MM-DD or ISO 8601 UTC.
params.endtimestringWindow end (default now).
params.minmagnitudenumberSmallest magnitude.
params.maxmagnitudenumberLargest magnitude.
params.latitudenumberCentre latitude (with longitude and maxradiuskm).
params.longitudenumberCentre longitude.
params.maxradiuskmnumberRadius around the centre, 1 to 20001 km.
params.alertlevelstringPAGER alert level: green, yellow, orange or red.
params.orderbystringtime (default), time-asc, magnitude or magnitude-asc.
maxResultsnumberMost events to return (1 to 1000, default 100). Sent next to params, not inside it.
previewbooleantrue returns up to 5 rows and costs nothing. Sent next to params, not inside it.

Result

Every row in rows has these fields.

USGS Earthquakes result fields
FieldTypeNotes
event_idstringUSGS event id
magnitudenumber
magnitude_typestringe.g. mww, ml, md
placestringNearest named place
timestringOrigin time, ISO 8601 UTC
updatedstringLast catalog update, ISO 8601 UTC
longitudenumber
latitudenumber
depth_kmnumber
pager_alertstringPAGER alert: green, yellow, orange, red
tsunami_flagboolean
felt_reportsnumber"Did You Feel It?" responses
significancenumber0 to 1000+
review_statusstringautomatic or reviewed
event_typestring
networkstring
event_urlstring

Sample request

  • M4.5+ worldwide, last 30 days: {"params":{"days":30,"minmagnitude":4.5}}
  • Within 200 km of Los Angeles since Oct 1: {"params":{"starttime":"2026-10-01","latitude":34.05,"longitude":-118.24,"maxradiuskm":200}}

Every snippet reads your key from SUPERSCRAPER_API_KEY.

Cost: 1 credit per run that returns rows; previews and empty runs are free. Add "preview": true to see up to 5 rows first.

curl -X POST https://api.superscraper.dev/v1/sources/usgs-earthquakes/run \
  -H "Authorization: Bearer $SUPERSCRAPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"days":30,"minmagnitude":4.5}}'

Get a key

Free to start. 1 credit per run that returns rows; previews and empty runs are free.