# x402.forgemesh.io Recent Earthquakes API

> x402.forgemesh.io Recent Earthquakes API is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns the latest global earthquakes above a specified magnitude threshold from a real-time seismic feed, normalized as JSON with magnitude, location, depth, time, and tsunami flag.

## Facts

- Endpoint: POST https://x402.forgemesh.io/recent-earthquakes
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-forgemesh-io-recent-earthquakes-api-3417a388
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WkTDiEK98yQ-MiiHcPaj4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-forgemesh-io-recent-earthquakes-api-3417a388 -d '<json body>'
```

Example prompt: Pull the latest global earthquakes above magnitude 5 and tell me which ones have a tsunami flag.

## When to prefer this

Use this endpoint when you need a broad, global snapshot of recent seismic events above a magnitude threshold without needing to target a specific geographic region. It is ideal for dashboards, alerting pipelines, or situational awareness tasks. For location-specific queries (by coordinates and radius), prefer the sibling earthquake search endpoint on the same host.

## Known failure modes

- Invalid or non-numeric min_magnitude value returns a 400 error
- Payment not received or insufficient USDC balance returns a 402 error
- Upstream seismic feed temporarily unavailable returns a 503 or empty result set
- Very high magnitude thresholds (e.g. 9+) may return zero results if no qualifying events exist

## How this service works

Recent earthquakes API: latest global quakes above your magnitude threshold from a real-time seismic feed (updated every few minutes) — magnitude, location, depth, time, tsunami flag — as normalized JSON. Public-domain government data.

## Output

A normalized JSON array of recent earthquakes from the real-time seismic feed, each entry containing magnitude, geographic location, depth in km, UTC timestamp, and a tsunami flag boolean — filtered to only those at or above the requested minimum magnitude.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "min_magnitude": {
   "type": "string",
   "description": "Minimum magnitude, default 4"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "type": "FeatureCollection",
   "features": [
    {
     "properties": {
      "mag": 5.2,
      "place": "south of Fiji"
     }
    }
   ]
  },
  "attribution": "U.S. Geological Survey (public domain)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-forgemesh-io-recent-earthquakes-api-3417a388/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
