Earthquake events
usgs:earthquakes uses the FDSN event web service
in front of the ANSS Comprehensive Catalog,
at https://earthquake.usgs.gov/fdsnws/event/1/query. Service version 2.7.0
was checked on 2026-09-16.
- Both timestamps are required and inclusive, in UTC. A location, bbox, or point selects a bounding box; without one the query is global, which is where the 20,000-event cap matters.
-p min_magnitude=2.5and-p max_magnitude=bound the magnitude, on whatever scale each event'smagTypenames.-p min_depth=and-p max_depth=bound the hypocenter depth in kilometers, from -100 to 1000 as the service allows. A lower bound above its upper bound is rejected before any request.variablesis rejected: the CSV columns are fixed, and rows are filtered locally. Free text is rejected as everywhere.- Listing calls the service's
countmethod with the same filters, then makes one asset per page of at most 20,000 events, ordered by time ascending withlimitand a one-basedoffset, so page membership is stable for a given catalog state. Zero matching events is an empty listing; a manifest source then needsallow_empty: true. - Each asset is the service's CSV page:
time,latitude,longitude,depth,mag,magType,nst,gap,dmin,rms,net,id,updated,place,type,horizontalError,depthError,magError,magNst,status,locationSource,magSource.statusisautomaticuntil a network reviews the event. - Sizes are not known before download;
--dry-runreports them as unknown. - Access was verified without credentials. The service documents no rate limit; keep queries bounded rather than paging the world.
Events are revised after publication: magnitudes and locations move as
networks review them, and updated records when. A pinned page therefore
changes bytes when any event in it is revised, which a locked restore reports
as drift.
Upstream revisions
Agencies revise files in place. A locked restore downloads each pinned URL
and fails with a checksum mismatch when the bytes have changed; accept the
new bytes for chosen entries with pull --update, or re-resolve the whole
manifest with pull --force. A lockfile detects changed data; it does not
archive it. Keep the cache with the manifest and lockfile. See
provenance and drift.
Probes used to verify the endpoint and its limits:
curl 'https://earthquake.usgs.gov/fdsnws/event/1/count?starttime=2024-05-06T00:00:00&endtime=2024-05-07T23:59:59&minlatitude=33.6&maxlatitude=37.0&minlongitude=-103.0&maxlongitude=-94.4'
curl 'https://earthquake.usgs.gov/fdsnws/event/1/query?format=csv&orderby=time-asc&limit=3&offset=1&starttime=2024-05-06T00:00:00&endtime=2024-05-07T23:59:59&minlatitude=33.6&maxlatitude=37.0&minlongitude=-103.0&maxlongitude=-94.4'
curl 'https://earthquake.usgs.gov/fdsnws/event/1/query?format=csv&starttime=2020-01-01&endtime=2024-01-01' # 400: exceeds search limit of 20000
Metadata sources
Every value in the catalog entry's resolution, cadence, citation, terms, variables, and limits comes from one of these pages. A field the agency does not publish is left empty rather than estimated.
- Parameters, ranges, the 20,000-event cap, and the CSV columns: the FDSN event service documentation.
- Resolution and updates: the ComCat documentation, which describes automatic postings from contributing networks superseded by reviewed versions, and event times and locations as the networks report them.
- Citation: the ComCat page's recommended form, doi:10.5066/F7MS3QZH.
- Terms: the USGS copyrights and credits page, which places USGS-produced data in the public domain and asks for credit.
- Latency is empty: the documentation states no figure for how quickly an event appears after it occurs.
Reference
usgs:earthquakes · Released · Included since usdata 0.19. Earthquake Catalog (ComCat).
At a glance
- Files: CSV
- Selection: Events inside an inclusive UTC window and optional box, magnitude, and depth bounds
- Required inputs: Both timestamps; optionally a location or bbox and magnitude or depth bounds
- Open locally:
usdata[pandas]· Reader guide - On usdata.dev: Earthquake events, with a walkthrough
Parameters
Pass these as --param name=value to the CLI, as params: entries in a manifest, or as keyword arguments to build_query.
| Parameter | Meaning |
|---|---|
max_depth |
Deepest depth to include, in kilometers, inclusive. |
max_magnitude |
Largest magnitude to include, inclusive. |
min_depth |
Shallowest depth to include, in kilometers, inclusive. |
min_magnitude |
Smallest magnitude to include, inclusive. |
Variables
| Variable | Units | Meaning |
|---|---|---|
time |
ISO 8601 UTC | Origin time of the event |
latitude |
degrees north | Epicenter latitude |
longitude |
degrees east | Epicenter longitude |
depth |
km | Hypocenter depth below sea level |
mag |
magnitude | Magnitude on the scale magType names |
magType |
— | Magnitude scale, such as ml or mw |
place |
— | Nearby place and distance, as a phrase |
type |
— | Event type; earthquake unless otherwise |
status |
— | automatic or reviewed |
updated |
ISO 8601 UTC | When the event was last revised |
Catalog facts
- Availability: since 0.19
- Domain: Natural hazards
- Spatial resolution: Point epicenters in decimal degrees, as located by the contributing network
- Temporal resolution: Origin times to the millisecond
- Updates: Continuous; events post automatically from contributing networks and are superseded by reviewed versions
- Terms of use: https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits
- Citation: U.S. Geological Survey, Earthquake Hazards Program, 2017, Advanced National Seismic System (ANSS) Comprehensive Catalog of Earthquake Events and Products, doi:10.5066/F7MS3QZH
- Geographic bounds (WGS84): west -180°, south -90°, east 180°, north 90°
- Catalog date range: 1900-01-01 to open-ended
- Coverage varies by station, product, and date; the range above does not guarantee observations.
- Upstream documentation
- License: US Government Work (public domain)
- Transport:
http - Adapter:
usdata.providers.usgs.earthquakes:Earthquakes