# Polyform Earthquake Data API

> Polyform Earthquake Data API is a paid API for AI agents from api.polyform.org, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-11).

Returns recent earthquake activity, seismic risk level, and max magnitude for a given US location query

## Facts

- Endpoint: GET https://api.polyform.org/v1/geo/earthquakes?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polyform-earthquake-data-api-43f8d0e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IiMjgNeLm7XJyPDZkVQ48

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 polyform-earthquake-data-api-43f8d0e2
```

Example prompt: What's the recent earthquake activity and seismic risk level near Los Angeles, CA?

## When to prefer this

Use this endpoint when you need a fast, pay-per-call seismic risk and earthquake activity summary for a US location without setting up an account or API key. Prefer it over free USGS APIs when you need a pre-summarized risk label and count rather than raw event data, and when your agent workflow uses x402 micropayments on Base.

## Known failure modes

- Non-US or ambiguous location query may return no results or fail to resolve
- Empty quakes array if no recent seismic activity detected in area
- Malformed or missing query parameter returns a 400-level error
- Payment failure or insufficient USDC balance returns 402 Payment Required

## How this service works

Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.

## Output

Returns a JSON object with the location query string, total earthquake count, a seismic risk classification (e.g. LOW, MODERATE, HIGH, SEVERE), the maximum magnitude observed, and an array of individual quake records for the queried area.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 12,
  "query": "Los Angeles, CA",
  "quakes": [],
  "seismicRisk": "MODERATE",
  "maxMagnitude": 4.2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polyform-earthquake-data-api-43f8d0e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.polyform.org](https://www.zero.xyz/host/api.polyform.org/llms.txt)
