# USGS Recent Earthquakes Feed

> USGS Recent Earthquakes Feed is a paid API for AI agents from engedi.digi-life17.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns recent earthquake data from USGS filtered by lookback days, result limit, and minimum magnitude

## Facts

- Endpoint: GET https://engedi.digi-life17.workers.dev/api/earthquakes
- 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-recent-earthquakes-feed-c853bbbe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i-MmP7khHZDX0hgYOJnzY

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-recent-earthquakes-feed-c853bbbe
```

Example prompt: Show me all earthquakes from the past 14 days with a magnitude of at least 5.0, and limit it to the top 30 results.

## When to prefer this

Use this endpoint when you need structured, USGS-sourced earthquake data with simple magnitude and time filters. It is ideal for monitoring recent seismic events globally without needing to parse raw USGS feeds directly. Choose this over raw USGS APIs when you want a pre-filtered, agent-friendly JSON response with caching and confidence metadata.

## Known failure modes

- Invalid parameter types (e.g. non-numeric days or magnitude) may return an error
- Upstream USGS data unavailability may cause stale cached results or failure
- Extremely large limit values may be capped or slow to respond
- No earthquakes matching the filter criteria returns an empty data set

## How this service works

Returns earthquake data from the USGS feed with filtering by minimum magnitude, result limit, and day range. Includes metadata such as source, freshness, and cache status.

## Output

Returns a JSON object with a data field containing recent earthquake events sourced from USGS, along with metadata including cache status, source name, confidence score, and last updated timestamp. Each earthquake record includes location, magnitude, and timing details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {
      "days": {
       "type": "number",
       "description": "Lookback days (default 7)"
      },
      "limit": {
       "type": "number",
       "description": "Max results (default 20)"
      },
      "minMagnitude": {
       "type": "number",
       "description": "Min magnitude (default 4.5)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "data": {
     "type": "object"
    },
    "_meta": {
     "type": "object",
     "properties": {
      "cached": {
       "type": "boolean"
      },
      "source": {
       "type": "string"
      },
      "confidence": {
       "type": "number"
      },
      "last_updated": {
       "type": "string"
      }
     }
    },
    "success": {
     "type": "boolean"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/usgs-recent-earthquakes-feed-c853bbbe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from engedi.digi-life17.workers.dev](https://www.zero.xyz/host/engedi.digi-life17.workers.dev/llms.txt)
