# USGS Quake Feature Parse

> USGS Quake Feature Parse is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Parses magnitude and place from a USGS-like earthquake feature properties object, returning normalized mag and place as deterministic JSON.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/usgs-quake-stub-parse?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/usgs-quake-feature-parse-55e46016
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tt0JOW58AXzuClbYWG8Mr

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-quake-feature-parse-55e46016 -d '<json body>'
```

Example prompt: I just fetched a USGS earthquake feed and have a raw feature properties object — can you parse out the magnitude and place name from it into clean JSON?

## When to prefer this

Use this endpoint when you have already fetched USGS or USGS-compatible earthquake JSON and need a cheap, deterministic, key-free way to extract and normalize magnitude and place without any external API calls, live data feeds, or state changes. Prefer this over custom parsing code when you want a standardized, auditable extraction step in an agent pipeline.

## Known failure modes

- Missing or malformed 'properties' object in input returns an error or null fields
- Non-numeric magnitude value in source data may return null or unparseable mag
- Empty properties object yields null or missing mag/place in response
- Payment of $0.001 USDC via x402 on Base must succeed before processing; failed payment returns 402

## How this service works

Parse magnitude/place from a USGS-like feature properties object. Call when normalizing already-fetched earthquake JSON. Returns mag and place as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

Returns a deterministic JSON object containing the parsed 'mag' (magnitude) and 'place' (location description) fields extracted from the provided USGS-like feature properties input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "object",
   "description": "USGS-like feature properties"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mag": 4.2,
  "place": "10km N of X",
  "schema": "delx/util-usgs-quake-stub-parse/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/usgs-quake-feature-parse-55e46016/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
