# BYTE Library x402 Gateway – Earthquake Feed

> BYTE Library x402 Gateway – Earthquake Feed is a paid API for AI agents from x402.payperbyte.io, paid per call via x402, $0.001465/call, status unknown (last checked 2026-09-13, last successful call 2026-07-06).

Returns cryptographically signed, EIP-712 provenance-stamped earthquake data payable per-call in USDC via x402, with no API key required.

## Facts

- Endpoint: GET https://x402.payperbyte.io/feeds/earthquakes
- Price: $0.001465/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Last successful call: 2026-07-06
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/byte-library-x402-gateway-earthquake-feed-f1eab79c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2OUvioNmEGgLBZDMq6Fih

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 byte-library-x402-gateway-earthquake-feed-f1eab79c
```

Example prompt: Pull the latest earthquake feed from BYTE Library — I need cryptographically signed seismic data with EIP-712 provenance, and pay for it in USDC via x402 from my Base wallet.

## When to prefer this

Choose this endpoint when your AI agent needs verifiable, provenance-stamped earthquake data with cryptographic integrity guarantees, and you want to pay per call in USDC without managing API keys. Ideal for trustless, autonomous agent workflows where data authenticity matters and you settle on Base.

## Known failure modes

- Payment not included or insufficient USDC — 402 Payment Required response
- Malformed x402 payment header — authentication/payment error
- Network or gateway downtime — 5xx server error
- Invalid or expired payment authorization — rejected transaction
- Base network congestion causing settlement delay

## How this service works

USGS recent earthquakes worldwide (M2.5+)

## Output

A JSON payload containing recent earthquake data, cryptographically signed and stamped with an EIP-712 PayloadAttestation for provenance verification; the feed key will be 'earthquakes'. Pricing is $0.001465 USDC per call, settled on Base (eip155:8453).

## Example request

```json
{
 "properties": "latitude,longitude,magnitude,depth,timestamp"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "feed": "earthquakes"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/byte-library-x402-gateway-earthquake-feed-f1eab79c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.payperbyte.io](https://www.zero.xyz/host/x402.payperbyte.io/llms.txt)
