Earthquakes Scraper
Pricing
from $6.80 / 1,000 results
Earthquakes Scraper
Scrape recent earthquakes worldwide: magnitude, place, depth, coordinates, time, tsunami flag and event link. Filter by minimum magnitude. Export to JSON, CSV or Excel.
Pricing
from $6.80 / 1,000 results
Rating
0.0
(0)
Developer
Scrapers Lat
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 hours ago
Last modified
Categories
Share
Earthquakes Scraper
Here is one real result, with every field the actor returns:
{"id": "us6000tjl2","magnitude": 7.4,"place": "5 km S of San José del Palmar, Colombia","time": "2026-08-10T12:34:28.125Z","updated": "2026-08-10T14:18:13.244Z","url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tjl2","felt": 616,"tsunami": 0,"longitude": -76.2422,"latitude": 4.8436,"depth": 110.285,"type": "earthquake","title": "M 7.4 - 5 km S of San José del Palmar, Colombia","magType": "mww","alert": "orange","cdi": 7.9,"mmi": 6.891,"significance": 1487,"status": "reviewed","networkCode": "us","code": "6000tjl2","stationCount": 151,"azimuthalGap": 19,"rms": 0.86,"detailUrl": "https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=us6000tjl2&format=geojson","source": "USGS","observedAt": "2026-08-10T14:19:05.653Z"}
The most complete USGS earthquake scraper available. It returns every field the USGS earthquake feed exposes for each event, including magnitude and its type, place, precise coordinates and depth, tsunami flag, felt reports and shaking intensity (CDI / MMI / PAGER alert), significance, and the seismic-network detail (station count, azimuthal gap, RMS), and gives you filters for magnitude range and time window to target exactly the events you need.
📥 Input · 📤 Output · 💰 Pricing · ▶️ Examples
Table of contents
- What it does
- Quickstart
- Input reference
- Output reference
- Example output record
- Run via API and CLI
- Fetch results
- Billing and limits
- FAQ and troubleshooting
What it does
The actor queries the USGS earthquake catalog (FDSN event service), applies the magnitude and time filters you pass as input, and writes one normalized record per event to the run's dataset, most recent first. Each record carries magnitude and magnitude type, place, event time and last-updated time (UTC), coordinates and depth, tsunami flag, felt reports, shaking intensity metrics (CDI, MMI, PAGER alert), significance, review status, and the underlying seismic-network detail. Times are ISO 8601 (UTC), and missing source values are returned as null.
Coverage is worldwide: the catalog spans events globally, and you can pull the most recent events or a historical window.
Quickstart
Open the actor, paste this into the input, and press Run. It returns the 10 most recent earthquakes of magnitude 2.5 or higher.
{"maxEarthquakes": 10,"minMagnitude": "2.5"}
Every input field is optional. With an empty input the actor returns the most recent earthquakes at or above magnitude 2.5 (the default). Set startTime and endTime to query a historical window.
Input reference
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
maxEarthquakes | integer | no | 10 | Maximum number of earthquakes to collect, most recent first. Minimum 1, maximum 1000000. |
minMagnitude | string | no | 2.5 | Only return earthquakes at or above this magnitude, for example 2.5, 4.5, 6. |
maxMagnitude | string | no | (none) | Only return earthquakes at or below this magnitude. |
startTime | string | no | (none) | Earliest event time, for example 2026-01-01 or 2026-01-01T00:00:00. Query a historical window. |
endTime | string | no | (none) | Latest event time, for example 2026-02-01 or 2026-02-01T00:00:00. |
Output reference
One dataset item per earthquake event. Types: string, number, integer, or null when the source value is absent.
| Field | Type | Description |
|---|---|---|
id | string | USGS event id. |
magnitude | number | Magnitude. |
place | string | Human-readable location description. |
time | string | Event time (UTC, ISO 8601). |
updated | string | Last update time (UTC, ISO 8601). |
url | string | USGS event page link. |
felt | integer | Number of felt reports, or null. |
tsunami | integer | Tsunami flag (1 if a tsunami event, else 0). |
longitude | number | Longitude. |
latitude | number | Latitude. |
depth | number | Depth (km). |
type | string | Event type (for example earthquake). |
title | string | Event title. |
magType | string | Magnitude type (for example mww, ml). |
alert | string | PAGER alert level (green, yellow, orange, red), or null. |
cdi | number | Max reported intensity (CDI), or null. |
mmi | number | Max estimated intensity (MMI), or null. |
significance | integer | Significance score. |
status | string | Review status (reviewed or automatic). |
networkCode | string | Contributing network. |
code | string | Event code. |
stationCount | integer | Number of reporting stations, or null. |
azimuthalGap | number | Largest azimuthal gap between stations (degrees), or null. |
rms | number | Root-mean-square travel-time residual, or null. |
detailUrl | string | Detail GeoJSON URL for the event. |
source | string | Data source (USGS). |
observedAt | string | ISO 8601 timestamp of when the record was collected. |
On a failed run, the actor writes a single item with a populated error field instead of event records, and does not charge for it.
Example output record
Real record from a live run (input {"maxEarthquakes": 10, "minMagnitude": "2.5"}):
{"id": "us6000tjl2","magnitude": 7.4,"place": "5 km S of San José del Palmar, Colombia","time": "2026-08-10T12:34:28.125Z","updated": "2026-08-10T14:18:13.244Z","url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tjl2","felt": 616,"tsunami": 0,"longitude": -76.2422,"latitude": 4.8436,"depth": 110.285,"type": "earthquake","title": "M 7.4 - 5 km S of San José del Palmar, Colombia","magType": "mww","alert": "orange","cdi": 7.9,"mmi": 6.891,"significance": 1487,"status": "reviewed","networkCode": "us","code": "6000tjl2","stationCount": 151,"azimuthalGap": 19,"rms": 0.86,"detailUrl": "https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=us6000tjl2&format=geojson","source": "USGS","observedAt": "2026-08-10T14:19:05.653Z"}
Run via API and CLI
Start a run and wait for it to finish, then read the dataset. Replace <TOKEN> with your Apify API token.
Run synchronously and get dataset items in one call:
curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~usgs-earthquakes-scraper/run-sync-get-dataset-items?token=<TOKEN>" \-H "Content-Type: application/json" \-d '{"maxEarthquakes":25,"minMagnitude":"4.5"}'
Start a run asynchronously:
curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~usgs-earthquakes-scraper/runs?token=<TOKEN>" \-H "Content-Type: application/json" \-d '{"minMagnitude":"6","startTime":"2026-01-01","endTime":"2026-02-01","maxEarthquakes":100}'
Apify CLI:
apify call scrapers_lat/usgs-earthquakes-scraper \--input '{"minMagnitude":"5","maxEarthquakes":50}'
Fetch results
Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing format:
# JSONcurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"# CSVcurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"# Paginate large datasetscurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"
<DATASET_ID> is returned as defaultDatasetId in the run object. Use offset and limit to page through large result sets. clean=true drops empty and internal fields.
Billing and limits
- Pay per result. You are charged per record returned (
resultevent). See the pricing tab for the current per-result price. - No charge on failure. If a run errors, the actor writes a single item with a populated
errorfield and does not charge for it. Empty runs cost nothing. - Spend cap respected. Set
maxTotalChargeUsdon the run; once reached, the actor stops emitting and charging further billable results. - Free Apify plans are capped at 10 records per run. Upgrade for higher
maxEarthquakes.
FAQ and troubleshooting
A run returned 0 records. Why?
No events matched the filters in the requested window. Lower minMagnitude or widen the startTime / endTime range. Zero-result runs are not charged.
What is the difference between alert, cdi, and mmi?
alert is the USGS PAGER impact alert level (green to red); cdi is the maximum community-reported intensity (Did You Feel It?); mmi is the maximum instrumentally estimated intensity. Any of them can be null for smaller or newer events.
Why is status sometimes automatic?
New events are first published automatically and later reviewed by an analyst. automatic means the solution has not yet been human-reviewed; reviewed means it has.
Can I pull historical earthquakes?
Yes. Set startTime and endTime to a past window. Results are returned most recent first up to maxEarthquakes.
Is this an official USGS tool? No. This actor is independent and has no affiliation with the USGS. It reads only data that is publicly available through the USGS earthquake feeds. Use it in accordance with the USGS terms of service.
Related scrapers
- NIH Research Grants & Funding Scraper: NIH research grants and funding.
- USAspending Federal Award Scraper: US federal prime awards.
- Federal Register Document Scraper: US Federal Register documents.
- openFDA Food Recalls Scraper: US food recall enforcement records.
More scrapers at scrapers.lat
Built and maintained by scrapers.lat, where we publish scrapers for US and Latin American public platforms: company registries, government data, finance, e-commerce and more. Browse the catalog or request a custom scraper at scrapers.lat.
Independent tool, not affiliated with the USGS. Accesses only publicly available USGS earthquake data. Use in accordance with the USGS terms of service.
