Earthquakes Scraper avatar

Earthquakes Scraper

Pricing

from $6.80 / 1,000 results

Go to Apify Store
Earthquakes Scraper

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

Scrapers Lat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 hours ago

Last modified

Share

Earthquakes Scraper

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

Apify Coverage Output Billing

Table of contents

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

FieldTypeRequiredDefaultDescription
maxEarthquakesintegerno10Maximum number of earthquakes to collect, most recent first. Minimum 1, maximum 1000000.
minMagnitudestringno2.5Only return earthquakes at or above this magnitude, for example 2.5, 4.5, 6.
maxMagnitudestringno(none)Only return earthquakes at or below this magnitude.
startTimestringno(none)Earliest event time, for example 2026-01-01 or 2026-01-01T00:00:00. Query a historical window.
endTimestringno(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.

FieldTypeDescription
idstringUSGS event id.
magnitudenumberMagnitude.
placestringHuman-readable location description.
timestringEvent time (UTC, ISO 8601).
updatedstringLast update time (UTC, ISO 8601).
urlstringUSGS event page link.
feltintegerNumber of felt reports, or null.
tsunamiintegerTsunami flag (1 if a tsunami event, else 0).
longitudenumberLongitude.
latitudenumberLatitude.
depthnumberDepth (km).
typestringEvent type (for example earthquake).
titlestringEvent title.
magTypestringMagnitude type (for example mww, ml).
alertstringPAGER alert level (green, yellow, orange, red), or null.
cdinumberMax reported intensity (CDI), or null.
mminumberMax estimated intensity (MMI), or null.
significanceintegerSignificance score.
statusstringReview status (reviewed or automatic).
networkCodestringContributing network.
codestringEvent code.
stationCountintegerNumber of reporting stations, or null.
azimuthalGapnumberLargest azimuthal gap between stations (degrees), or null.
rmsnumberRoot-mean-square travel-time residual, or null.
detailUrlstringDetail GeoJSON URL for the event.
sourcestringData source (USGS).
observedAtstringISO 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:

# JSON
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"
# CSV
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"
# Paginate large datasets
curl "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 (result event). 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 error field and does not charge for it. Empty runs cost nothing.
  • Spend cap respected. Set maxTotalChargeUsd on 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.

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.