$ man earthquakes-recent
/earthquakes-recent(1)
PRICE / CALL
$0.002
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
localeCATEGORY
uncategorized
STATUS
● live
NAME
earthquakes-recent — earthquake feed / seismic activity / usgs / recent quakes / quake monitor / tremor data / fault line activity / tsunami alerts
SYNOPSIS
POST https://x402.org/v1/earthquakes-recent
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Earthquake feed / seismic activity / USGS / recent quakes / quake monitor / tremor data / fault line activity / tsunami alerts. Returns recent earthquakes from the past hour / day / week / month, filtered by minimum magnitude and an optional bounding box. Each quake includes magnitude + type, depth (km), place, ISO8601 time, lat/lon, tsunami flag, USGS event URL, and felt-report count when available. Wraps USGS GeoJSON summary feeds — public domain, no auth.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| time_range | string | Time window for the feed. Default 'day'. enum: hour · day · week · month | optional |
| min_magnitude | number | Lower bound on quake magnitude (Richter/moment). Default 2.5. | optional |
| bounds | object | Optional geographic bounding box { north, south, east, west } in decimal degrees. Antimeridian-crossing boxes (west > east) supported. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| count | string | Number of earthquakes returned in this response after magnitude and bounding-box filtering. |
| range | string | Time window covered (hour, day, week, or month) corresponding to the USGS feed selected. |
| earthquakes | string | Array of quake records with magnitude, depth km, place, ISO8601 time, lat/lon, tsunami flag, and USGS URL. |
| source | string | Upstream USGS GeoJSON summary feed URL the records were pulled from. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/earthquakes-recent \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the earthquakes-recent tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- localeearthquakesseismicusgstsunami-alertsmagnitude-filterquake-feed
- methods
- POST
- cluster
- locale
- price
- $0.002 USDC per call
ADJACENT — other endpoints in locale
| endpoint | description | price |
|---|---|---|
| astro-times | sunrise-sunset / golden-hour / civil twilight / nautical dusk / day-length / solar-noon / dawn-dusk / astronomy times. | $0.002 |
| country-info | Country info / ISO 3166 / country code lookup / capital city lookup / currencies by country / population / region resolver. | $0.002 |
| holiday-lookup | Public holidays / bank holidays / national holidays / federal holidays / holiday calendar / per-country dates. | $0.002 |
| sunrise-sunset | Sunrise sunset times. | $0.002 |
| timezone-convert | Timezone convert / IANA tz conversion / DST-aware time arithmetic / wall-clock to UTC / convert across cities. | $0.001 |
| timezone-lookup | Timezone lookup / IANA tz / UTC offset / DST status / local time at lat-lng / which timezone. | $0.001 |
| iata-airport-info | IATA / ICAO airport code lookup. | $0.005 |
| satellite-tile | Satellite imagery tile / lat-lon to satellite PNG / Sentinel-2 tile API / cloud-free satellite snapshot / agent-callable satellite imagery. | $0.005 |
SEE ALSO