Recent earthquakes — search newest-first USGS seismic events by rolling time window and mi
Recent earthquakes — search newest-first USGS seismic events by rolling time window and minimum magnitude, with revision, freshness, and provenance.
5000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-15
updated
Provider
earthquakes.use.x402atlas.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "5000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "science",
"info": {
"input": {
"method": "GET",
"queryParams": {
"hours": 24,
"limit": 100,
"min_magnitude": 2.5
},
"type": "http"
},
"output": {
"example": {
"count": 1,
"events": [
{
"alert_level": null,
"depth_km": 10,
"event_type": "earthquake",
"felt_reports": null,
"id": "us6000thvj",
"latitude": 49.2319,
"longitude": 157.8994,
"magnitude": 4.9,
"magnitude_type": "mb",
"occurred_at": "2026-08-03T21:42:13.017Z",
"official_url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000thvj",
"place": "204 km SE of Severo-Kuril’sk, Russia",
"significance": 369,
"source_network": "us",
"status": "reviewed",
"tsunami": false,
"updated_at": "2026-08-04T01:16:10.04Z"
}
],
"operation": "recent-earthquakes",
"query": {
"hours": 24,
"limit": 100,
"min_magnitude": 2.5,
"window_end": "2026-08-04T00:00:00Z",
"window_start": "2026-08-03T00:00:00Z"
},
"retrieved_at": "2026-08-04T20:16:02Z",
"schema_version": "usgs-earthquake-v1",
"source": {
"generated_at": "2026-08-04T20:15:57Z",
"name": "USGS"
},
"stale": false,
"warnings": [
"USGS earthquake data can be revised and is not an emergency-warning service."
]
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"hours": {
"default": 24,
"description": "Rolling UTC window in hours",
"maximum": 720,
"minimum": 1,
"type": "integer"
},
"limit": {
"default": 100,
"description": "Maximum normalized events returned",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"min_magnitude": {
"default": 2.5,
"description": "Minimum USGS preferred magnitude",
"maximum": 10,
"minimum": -2,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"_atlas": {
"additionalProperties": false,
"description": "Atlas documentation and related-route metadata added after deployment",
"properties": {
"docs": {
"description": "Documentation URL for this bridge",
"format": "uri",
"maxLength": 512,
"type": "string"
},
"related": {
"description": "Bounded related Atlas routes",
"items": {
"additionalProperties": false,
"description": "One related Atlas route",
"properties": {
"bridge": {
"description": "Related bridge name",
"maxLength": 64,
"type": "string"
},
"docs": {
"description": "Related bridge documentation URL",
"format": "uri",
"maxLength": 512,
"type": "string"
},
"summary": {
"description": "Short capability summary",
"maxLength": 256,
"type": "string"
},
"url": {
"description": "Related route URL",
"format": "uri",
"maxLength": 512,
"type": "string"
}
},
"required": [
"bridge",
"url",
"docs",
"summary"
],
"type": "object"
},
"maxItems": 3,
"type": "array"
}
},
"required": [
"docs"
],
"type": "object"
},
"count": {
"description": "Number of normalized events returned",
"maximum": 200,
"minimum": 0,
"type": "integer"
},
"events": {
"description": "Deduplicated events ordered by occurred time descending then ID",
"items": {
"additionalProperties": false,
"properties": {
"alert_level": {
"description": "USGS PAGER alert level when supplied, or null",
"type": [
"string",
"null"
]
},
"depth_km": {
"description": "Reported source depth in kilometers",
"maximum": 1000,
"minimum": -100,
"type": "number"
},
"event_type": {
"description": "USGS seismic event type when supplied, or null",
"type": [
"string",
"null"
]
},
"felt_reports": {
"description": "Number of USGS DYFI felt reports, or null",
"type": [
"integer",
"null"
]
},
"id": {
"description": "Preferred public event identifier",
"type": "string"
},
"latitude": {
"description": "Epicenter latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"longitude": {
"description": "Epicenter longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"magnitude": {
"description": "USGS preferred magnitude, or null when unknown",
"type": [
"number",
"null"
]
},
"magnitude_type": {
"description": "USGS preferred magnitude method, or null when unknown",
"type": [
"string",
"null"
]
},
"occurred_at": {
"description": "UTC origin time when rupture began",
"format": "date-time",
"type": "string"
},
"official_url": {
"description": "Validated inert official USGS HTTPS event-page URL, or null; never fetched by this bridge",
"type": [
"string",
"null"
]
},
"place": {
"description": "USGS textual place description, or null when unknown",
"type": [
"string",
"null"
]
},
"significance": {
"description": "USGS significance score; not probability, damage, or danger",
"minimum": 0,
"type": "integer"
},
"source_network": {
"description": "Preferred contributing network code, or null",
"type": [
"string",
"null"
]
},
"status": {
"description": "USGS review status when supplied, or null",
"type": [
"string",
"null"
]
},
"tsunami": {
"description": "USGS tsunami flag; it is not a tsunami warning or prediction",
"type": "boolean"
},
"updated_at": {
"description": "UTC time the preferred event record was last revised",
"format": "date-time",
"type": "string"
}
},
"required": [
"id",
"occurred_at",
"updated_at",
"magnitude",
"magnitude_type",
"place",
"longitude",
"latitude",
"depth_km",
"tsunami",
"significance",
"felt_reports",
"alert_level",
"status",
"event_type",
"official_url",
"source_network"
],
"type": "object"
},
"maxItems": 200,
"type": "array"
},
"operation": {
"const": "recent-earthquakes",
"description": "Stable route operation",
"type": "string"
},
"query": {
"additionalProperties": false,
"description": "Normalized effective query identity used for source and cache selection",
"properties": {
"hours": {
"description": "Applied rolling hours",
"maximum": 720,
"minimum": 1,
"type": "integer"
},
"limit": {
"description": "Applied event limit",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"min_magnitude": {
"description": "Applied minimum preferred magnitude",
"maximum": 10,
"minimum": -2,
"type": "number"
},
"window_end": {
"description": "Inclusive UTC end bucket used for source query and cache identity",
"format": "date-time",
"type": "string"
},
"window_start": {
"description": "Inclusive UTC start of the effective bucketed window",
"format": "date-time",
"type": "string"
}
},
"required": [
"window_start",
"window_end",
"hours",
"min_magnitude",
"limit"
],
"type": "object"
},
"retrieved_at": {
"description": "UTC time this validated snapshot was retrieved",
"format": "date-time",
"type": "string"
},
"schema_version": {
"const": "usgs-earthquake-v1",
"description": "Pinned USGS normalization contract",
"type": "string"
},
"source": {
"additionalProperties": false,
"description": "Official USGS provenance for the served normalized snapshot",
"properties": {
"generated_at": {
"description": "USGS source-generation or event-update time",
"format": "date-time",
"type": "string"
},
"name": {
"const": "USGS",
"description": "Official source organization",
"type": "string"
}
},
"required": [
"name",
"generated_at"
],
"type": "object"
},
"stale": {
"description": "True only when an older validated exact-query snapshot was served after source failure",
"type": "boolean"
},
"warnings": {
"description": "Revision, freshness, source-link, and safety limitations",
"items": {
"description": "Actionable interpretation warning",
"type": "string"
},
"type": "array"
}
},
"required": [
"operation",
"schema_version",
"query",
"count",
"events",
"source",
"retrieved_at",
"stale",
"warnings"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
},
"tags": [
"recent-earthquakes",
"seismic",
"magnitude",
"usgs",
"geospatial"
]
}
}Use it
curl
curl "https://earthquakes.use.x402atlas.com/recent" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://earthquakes.use.x402atlas.com/recent");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://earthquakes.use.x402atlas.com/recent")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5355.json, and this resource appears in /discovery/resources and /discovery/search.