$ man earthquakes-recent
/earthquakes-recent
PRICE / CALL
$0.003
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
localeCATEGORY
uncategorized
STATUS
● live
NAME
earthquakes-recent — returns recent earthquakes from usgs for any time window (hour, day, week, month) above a magnitude threshold
SYNOPSIS
POST https://x402.agentutility.ai/earthquakes-recent
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Returns recent earthquakes from USGS for any time window (hour, day, week, month) above a magnitude threshold. 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. Use it as a recent earthquakes API or USGS earthquake feed.
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.agentutility.ai/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 the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the earthquakes-recent tool from your MCP-aware agent.
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.003 USDC per call
ADJACENT — other endpoints in locale
| endpoint | description | price |
|---|---|---|
| air-quality | Returns current air quality readings and AQI category for any latitude/longitude, with optional hourly forecast rows for the next 1-72 hours. | $0.005 |
| airport-code-lookup | Resolves airport codes to airport name, municipality, country, region, coordinates, elevation, scheduled-service flag, homepage, and Wiki… | $0.005 |
| astro-times | Sunrise sunset times. | $0.005 |
| climate-data | Returns historical daily temperature, precipitation, humidity, wind, and solar radiation for any latitude/longitude. | $0.005 |
| country-info | Country info lookup. | $0.005 |
| current-weather | Looks up current weather conditions for a latitude/longitude: temperature, humidity, precipitation, wind, and WMO condition code. | $0.005 |
| holiday-lookup | Holiday calendar. | $0.005 |
| iata-airport-info | Looks up airport metadata from an IATA or ICAO code. | $0.005 |
SEE ALSO