USGS Earthquake Feed
Pricing
Pay per usage
Go to Apify Store
USGS Earthquake Feed
Fetch recent seismic events from the USGS Earthquake API. Filter by magnitude, date range, and location. Returns structured earthquake data including magnitude, location, depth, and tsunami alerts.
Fetch recent seismic events from the USGS Earthquake API. Filter by magnitude, date range, and maximum results. Returns structured earthquake data including magnitude, location, depth, and tsunami alerts.
Features
- ๐ Magnitude filter โ set a minimum magnitude threshold (0โ10)
- ๐ Date range โ specify start and end dates (defaults to last 7 days)
- ๐ Structured output โ each earthquake event returned with: event ID, time, place, magnitude, mag type, coordinates, depth, tsunami flag, USGS URLs, status, and last-updated timestamp
- ๐งน Configurable limit โ up to 200 results per run
Input
| Field | Type | Default | Description |
|---|---|---|---|
minMagnitude | number | 2.5 | Minimum earthquake magnitude (0โ10) |
maxResults | integer | 20 | Max number of results (1โ200) |
startTime | string | 7 days ago | Start date in YYYY-MM-DD format |
endTime | string | today | End date in YYYY-MM-DD format |
Output
Each dataset item contains:
| Field | Type | Description |
|---|---|---|
eventId | string | USGS earthquake event ID |
time | string | Event time (ISO 8601) |
place | string | Geographic place name |
magnitude | number | Earthquake magnitude |
magType | string | Magnitude type (e.g. ml, mw, md) |
latitude | number | Latitude of epicenter |
longitude | number | Longitude of epicenter |
depth | number | Depth in kilometers |
tsunamiFlag | integer | 1 if tsunami was recorded, 0 otherwise |
url | string | USGS event details page |
detailUrl | string | USGS GeoJSON detail URL |
status | string | Review status (e.g. reviewed, automatic) |
updated | string | Last update time (ISO 8601) |
Example
{"eventId": "us7000xyz","time": "2026-07-17T14:32:00.000Z","place": "10 km SW of Tokyo, Japan","magnitude": 5.2,"magType": "mb","latitude": 35.5,"longitude": 139.7,"depth": 10.0,"tsunamiFlag": 0,"url": "https://earthquake.usgs.gov/earthquakes/eventpage/us7000xyz","detailUrl": "https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=us7000xyz&format=geojson","status": "reviewed","updated": "2026-07-17T15:00:00.000Z"}
Data source
This actor uses the USGS FDSN Event API, a free, publicly accessible API that requires no authentication. Data is provided by the U.S. Geological Survey.
Local development
# Install dependenciespip install -r requirements.txt# Run the actor locally (requires Apify CLI)apify run --purge