USGS Earthquake Monitor (New Events JSON)
Pricing
from $1.20 / 1,000 earthquake delivereds
USGS Earthquake Monitor (New Events JSON)
Monitor USGS earthquakes from the official GeoJSON feeds: one validated JSON item per new event (event_id, magnitude, place, time, coordinates, depth, tsunami flag, event-page URL). Events are deduplicated by event_id, so no event is emitted or charged twice. No browser, no login, no API key.
Pricing
from $1.20 / 1,000 earthquake delivereds
Rating
0.0
(0)
Developer
Steadfetch
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
This Actor returns earthquake events from the official, keyless USGS GeoJSON earthquake feeds: one validated JSON item per event with the USGS event ID, magnitude and magnitude type, place, origin and update times, epicenter coordinates and depth, contributing network, event type, review status, tsunami flag and the official USGS event-page URL. It is meant for hazard monitoring, alerting and risk analytics that need new seismic events as structured data. No browser, login or API key is required.
Tested daily. Last verified: 2026-10-30
What it does
The Actor reads one official USGS summary feed per run and writes one dataset item per earthquake event.
- Feeds:
1.0_day,2.5_day(default),4.5_day,all_day,all_weekandall_month, all served under the USGS summary feed path. - Magnitude filter:
minMagnitudeis applied locally after the feed is read, so events below the threshold are not emitted or billed. - Monitor deduplication: every delivered
event_idis stored in a named key-value store that persists between runs (the default store is run-scoped). An event is emitted at most once; later USGS updates to the same event are not re-emitted or re-charged. - Budget:
maxEventscaps how many new events a single run can deliver, keeping cost predictable. - Validation: every item is checked against
.actor/dataset_schema.jsonbefore it reaches the dataset; withstrictSchematrue (the default) an invalid item fails the run. The item schema is strict (additionalProperties: false), and records missing a required field are skipped and counted, never invented. - Privacy: the Actor returns events only. There are no personal names, contact fields, emails or phone numbers in the output schema; the data is public US government geophysical data.
How to use
- Pick a
feedand, if you want to trim the noise, set a localminMagnitudeand amaxEventsbudget. - Run the shipped example input to pull recent magnitude 4.5+ events from the weekly feed.
- To watch for new events over time, schedule the run; the named key-value store skips
event_ids already delivered, so a scheduled monitor is idempotent and cheap. - Read results from the dataset, the
overviewview, or through the API.
Run the shipped example input from the CLI:
$apify call steadfetch/usgs-earthquake-monitor --input='{"feed":"all_week","minMagnitude":4.5,"maxEvents":10,"strictSchema":true}'
Input
Input fields
| Field | Type | Required | Default/Prefill | Description | Example |
|---|---|---|---|---|---|
feed | string | No | 2.5_day | USGS summary feed to read. One of 1.0_day, 2.5_day, 4.5_day, all_day, all_week, all_month. Larger feeds take longer and may exceed maxEvents. | all_week |
minMagnitude | number | No | 0 | Only emit events with magnitude greater than or equal to this value (local filter). Range 0 to 10. | 4.5 |
maxEvents | integer | No | 100 | Maximum number of new events to save to the dataset per run. Range 1 to 5000. | 10 |
strictSchema | boolean | No | true | Fail the run when an item does not match the output schema. | true |
monitorMode | boolean | No | true | Only emit event_ids not delivered by an earlier run (global dedupe). false re-delivers the selected feed up to maxEvents for a one-off backfill; the daily Store/QA probe uses false so it always has a small, non-empty deterministic input. | false |
The monitor state is global to the Actor: with monitorMode: true, an event_id already delivered is never emitted again, even if it appears in a wider feed later. That is what makes a scheduled monitor idempotent and cheap. Set monitorMode: false only for a deliberate backfill (it can re-deliver and charge events already seen by another run).
Example input
{"feed": "all_week","minMagnitude": 4.5,"maxEvents": 10,"strictSchema": true}
A wider run over the monthly feed:
{"feed": "all_month","minMagnitude": 5,"maxEvents": 50}
Output
Example output
{"url": "https://earthquake.usgs.gov/earthquakes/eventpage/nc75452606","event_id": "nc75452606","mag": 1.04,"mag_type": "md","place": "1 km SW of Anderson Springs, CA","time": "2026-10-20T17:02:30.890Z","updated": "2026-10-20T17:04:04.742Z","detail_url": "https://earthquake.usgs.gov/earthquakes/eventpage/nc75452606","coordinates": {"lon": -122.701667785645,"lat": 38.7693328857422,"depth_km": 1.4099999666214},"net": "nc","event_type": "earthquake","status": "automatic","tsunami": 0,"scrapedAt": "2026-10-20T17:20:00.000Z","source_url": "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.geojson"}
The url field is the required Steadfetch envelope alias of the official USGS event page and is identical to detail_url. source_url is the exact USGS feed used in the run.
Output fields
| Field | Type | Description |
|---|---|---|
url | string | Official USGS event page. Required Steadfetch envelope field, identical to detail_url. |
event_id | string | Official USGS event identifier; used as the monitor deduplication key. |
mag | number | Event magnitude as published by USGS. |
mag_type | string | Magnitude scale reported by USGS (for example md, ml, mb, mww). |
place | string | Human-readable description of the event location. |
time | string | Event origin time in ISO 8601 UTC. |
updated | string | Time of the last update published by USGS, in ISO 8601 UTC. |
detail_url | string | Official USGS event page. |
coordinates | object | Event epicenter and depth: lon, lat and depth_km. |
net | string | USGS contributing seismic network code. |
event_type | string | USGS event type, for example earthquake, quarry blast or explosion. |
status | string | USGS review status, for example automatic or reviewed. |
tsunami | integer | USGS tsunami flag: 1 when the event triggered the flag, otherwise 0. |
scrapedAt | string | ISO 8601 UTC timestamp of the run. |
source_url | string | Official USGS GeoJSON feed used to retrieve this event. |
Pricing
This Actor uses Apify pay-per-event pricing with the two synthetic platform events from .actor/pay_per_event.json:
apify-actor-start: 0.00005 USD per run. This is the Apify-recommended default and it includes the first 5 seconds of compute per run.apify-default-dataset-item: 0.0015 USD per event, that is 1.50 USD per 1,000 events. Cost per 1,000 events: one HTTP request (theall_monthfeed is about 7 MB) and, measured locally with the committed fixtures, under 0.2 seconds at 256 MB - well below 0.02 USD per 1,000 events, so the gross margin at 1.50 USD is above 98%.monitor-check: 0.5 USD per 1,000 watchlist checks (0.0005 USD per check), charged once per watched item actually checked in a monitor run; search and backfill runs never charge it.
Results are never double billed: the monitor-check event bills the check itself, and apify-default-dataset-item charges each pushed event once. Items that fail schema validation, runs that return nothing, retries and events skipped by monitor deduplication are not billed as dataset items.
Works on the Apify free plan - about 3,333 earthquakes for the $5 monthly credit ((5.00 USD - 0.0002 USD run-start at the default 4 GB memory) / 0.0015 USD per earthquake).
Other Steadfetch Actors
- FDA Recall Monitor - another keyless US public feed with the same monitor and deduplication pattern.
- CPSC Recall Monitor - consumer product safety alerts to run alongside seismic alerts in one notification pipeline.
- EU Safety Gate Monitor - EU rapid-alert safety notices for broader product and hazard watchlists.
- Federal Register Monitor - US government regulatory changes that often follow the public events this Actor tracks.
FAQ
Do I need a USGS API key? No. The summary feeds are keyless and public, and no login or browser is used.
How does monitor deduplication work?
Every delivered event_id is stored in a named key-value store that persists between runs (the default store is run-scoped). The next run filters those IDs out before applying maxEvents, so only new events are pushed and billed. The state keeps the most recent event IDs, enough for several months of the all_month feed.
Does it return personal data? No. Only geophysical event fields and USGS URLs are returned; there are no personal names, emails or phone numbers.
When am I charged?
Once per run start (apify-actor-start) and once per new, validated event (apify-default-dataset-item). Failed requests, retries, empty results and events already delivered by a previous run are not charged.
What is the difference between feed and minMagnitude?
The feed sets the base set USGS publishes; minMagnitude then filters locally, so events below the threshold are never emitted or billed. A wider feed plus a higher minMagnitude is a cheap way to catch big events.
What are the limits?
maxEvents defaults to 100 and can be set up to 5000. Larger feeds (for example all_month) can return more events than maxEvents allows in a single run.
Support
Report bugs through the Issues tab on this Actor's Apify Store page or through the steadfetch actors repository issues. Please include the run ID and the input you used so the run can be reproduced.
Maintenance
Target: tested daily. The Actor is registered for the Steadfetch daily catalog QA (enablement pending as of 2026-10-22); tests run in CI on every push. When the scheduled runs are enabled they check that the official USGS feeds are reachable and that the output still matches the published schema. Failures are reported as issues in the Steadfetch Actors repository.