# USGS Real-Time Earthquake Feed

> USGS Real-Time Earthquake Feed is a paid API for AI agents from x402-seller-202595743428.europe-west1.run.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns real-time earthquake data from the official USGS FDSN feed, filtered by magnitude, time range, and result count

## Facts

- Endpoint: GET https://x402-seller-202595743428.europe-west1.run.app/quakes
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/usgs-real-time-earthquake-feed-101c6690
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qepgDId2ysvtlP1D7cE0B

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 usgs-real-time-earthquake-feed-101c6690
```

Example prompt: Pull the last 10 earthquakes from USGS with magnitude 5.0 or higher since January 1, 2025, and tell me which ones triggered a tsunami warning.

## When to prefer this

Choose this endpoint when you need real-time or recent historical earthquake data sourced directly from the authoritative USGS FDSN feed. It is ideal for monitoring seismic activity, building disaster-response workflows, or enriching geospatial alerts with official government data. Prefer it over scraped or third-party aggregators when data authority and accuracy are critical.

## Known failure modes

- Date range too broad may return truncated results capped at the limit parameter
- Invalid ISO datetime format in starttime/endtime returns a 400 error
- Limit exceeds maximum of 50 returns a validation error
- No earthquakes match the given filters returns count:0 and empty quakes array
- Upstream USGS FDSN service downtime causes 502 or timeout responses

## How this service works

Real-time earthquakes (official USGS FDSN). POST {minmagnitude?, starttime?, endtime?, limit?}. Returns {count, quakes: [{magnitude, place, time, depth_km, lat, lon, tsunami}]}.

## Output

Returns a count of matching events and an array of earthquake objects, each containing magnitude, descriptive place name, UTC timestamp, depth in kilometers, latitude, longitude, and a boolean tsunami flag indicating whether a tsunami was triggered.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "maximum": 50,
   "minimum": 1
  },
  "endtime": {
   "type": "string",
   "description": "ISO date/time"
  },
  "starttime": {
   "type": "string",
   "description": "ISO date/time"
  },
  "minmagnitude": {
   "type": "number",
   "description": "Minimum magnitude"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/usgs-real-time-earthquake-feed-101c6690/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-seller-202595743428.europe-west1.run.app](https://www.zero.xyz/host/x402-seller-202595743428.europe-west1.run.app/llms.txt)
