# Beggar Bot Earthquake Feed (/v1/quakes)

> Beggar Bot Earthquake Feed (/v1/quakes) is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-23).

Returns recent earthquake events near a given location, filtered by magnitude, radius, and time window, via a paid x402 API

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/quakes?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-earthquake-feed-v1-quakes-07866259
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ig0HmipTNMT0YtyAoO_4e

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 beggar-bot-earthquake-feed-v1-quakes-07866259
```

Example prompt: Can you pull the last 14 days of earthquakes within 300km of Tokyo (35.6762° N, 139.6503° E) with a minimum magnitude of 5.0, and show me the top 20 results?

## When to prefer this

Use this endpoint when an AI agent needs structured, filterable earthquake event data for a specific geographic area, particularly when you need to combine location (lat/lon or city), magnitude threshold, time window, and radius controls in a single call. Prefer this over general web search when you need machine-readable seismic data for downstream analysis, risk assessment, or automated monitoring pipelines. The x402 micropayment model makes it suitable for pay-per-call agent workflows without subscription overhead.

## Known failure modes

- Payment not sent or insufficient USDC balance — returns 402 Payment Required
- Invalid or missing lat/lon — returns 400 Bad Request
- radius_km out of range (must be 10–5000) — validation error
- days out of range (must be 1–30) — validation error
- limit out of range (must be 1–50) — validation error
- No earthquakes found matching filters — returns empty list
- Upstream seismic data source unavailable — may return 503

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

A JSON list of earthquake events matching the query filters, each including magnitude, timestamp, geographic coordinates, depth, and location description, sorted by recency or relevance within the specified radius and time window.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lat": {
       "type": "string",
       "description": "latitude"
      },
      "lon": {
       "type": "string",
       "description": "longitude"
      },
      "days": {
       "type": "string",
       "description": "1-30, default 7"
      },
      "limit": {
       "type": "string",
       "description": "1-50"
      },
      "place": {
       "type": "string",
       "description": "optional city"
      },
      "min_mag": {
       "type": "string",
       "description": "default 4.5"
      },
      "radius_km": {
       "type": "string",
       "description": "10-5000, default 500"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-earthquake-feed-v1-quakes-07866259/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
