Get USGS Earthquake Feed
earthquake_get_feedFetch a USGS pre-computed real-time earthquake feed by magnitude tier and time window. These feeds are CDN-cached by USGS and faster and more available than the query API — use them for "what's happening now" queries. "all" includes microseisms (M<1); "significant" is a USGS curation based on magnitude, felt reports, and PAGER impact estimates. "hour" returns 0–10 events typically; "month" can exceed 10,000 for the "all" tier, so results are returned a page at a time: count is the page size, totalCount the whole feed, and nextCursor the input for the following page. The cursor is opaque and must be passed back verbatim — unlike earthquake_search, these feeds have no upstream paging parameter and USGS regenerates them about once a minute, so a numeric offset across two calls would skip or repeat events. For historical or filtered queries, use earthquake_search instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum events to return in this call. Default 100, max 1000. Applies to the first page; later pages carry the page size inside the cursor, so set it on the first call rather than changing it mid-sequence. | |
| cursor | No | Opaque token for the next page, taken verbatim from a previous call's nextCursor. Omit for the first page. Do not construct, parse, or edit it — it encodes a position in the feed snapshot and is rejected if malformed. | |
| time_window | No | Time window for the feed. "hour" typically returns 0–10 events; "month" can exceed 10,000 for the "all" tier. Prefer "hour" or "day" for real-time status checks. | day |
| magnitude_tier | No | Minimum magnitude threshold for the feed. "all" includes microseisms (M<1). "1.0" is M1.0+. "2.5" is M2.5+. "4.5" is M4.5+. "significant" is a USGS curated selection based on magnitude, felt reports, and PAGER impact estimates — not purely magnitude-based. | 2.5 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of events returned in this page, not the whole feed. | |
| error | No | Present when the call failed. Absent on success. | |
| events | No | Earthquake events for this page, newest first. | |
| notice | No | Recovery guidance when the feed contains no events, or how to continue when a page was capped — narrowing the magnitude tier, widening the time window, paging with the cursor, or using earthquake_search for filtered queries. Absent when a single page covers the whole feed. | |
| feed_url | No | Source feed URL. | |
| truncated | No | True when the feed holds more events than this page returned. nextCursor carries the input for the following page. | |
| nextCursor | No | Opaque token to pass back as the cursor input for the next page. Present only when more events remain; absent means this was the last page. | |
| totalCount | No | Number of events in the whole feed, across every page. | |
| generated_at | No | ISO 8601 UTC timestamp when this feed was generated by USGS. |