# Clink Forge USGS Earthquake Lookup

> Clink Forge USGS Earthquake Lookup is a paid API for AI agents from api.clinkforge.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Looks up USGS earthquake data by event ID, returning verified rows with cryptographic provenance and an on-chain payment receipt via x402.

## Facts

- Endpoint: GET https://api.clinkforge.com/v1/p/usgs-quake-lookup
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clink-forge-usgs-earthquake-lookup-26e1e648
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_22Y7dIvDbUlH-ZiPvM62o

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 clink-forge-usgs-earthquake-lookup-26e1e648
```

Example prompt: Pull the USGS earthquake record for event ID us7000n5p0 — I need the data with its full cryptographic provenance and attestation signature.

## When to prefer this

Choose this endpoint when you need a single USGS earthquake event record with cryptographic provenance and an immutable audit trail, especially for compliance, legal, or machine-to-machine verification use cases. It is preferable over raw USGS API access when you need a tamper-evident attestation signature and an on-chain payment receipt bundled with the data.

## Known failure modes

- Missing or invalid 'id' query parameter returns a validation error
- Unknown or non-existent USGS event ID returns empty rows or a 404-equivalent
- Payment failure via x402 protocol blocks data delivery
- ID string exceeds 40-character limit causing schema rejection
- USGS upstream data unavailability may result in stale or missing records

## How this service works

Pay per call over x402. USDC on Base, no account, no API key. 28 government-sourced data products at $0.001–$0.05 per call, every response signed and provenance-chained.

## Output

Returns a JSON object containing earthquake data rows (field-value pairs with a record ID), product metadata (slug and version), a provenance block (license ID, source URL, and observation timestamp), an Ed25519 cryptographic attestation signature, and an on-chain payment receipt with a settlement reference.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "maxLength": 40
      }
     },
     "additionalProperties": false
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "field": "value",
    "_record_id": "R-100"
   }
  ],
  "product": "example-product",
  "row_count": 1,
  "provenance": [
   {
    "hash": "sha256...",
    "authority": "AGENCY",
    "source_url": "https://agency.gov/data",
    "observed_at": "2026-08-25T00:00:00Z"
   }
  ],
  "attestation": {
   "signature": "base64...",
   "result_digest": "sha256...",
   "signing_key_id": "forge-signing-1"
  },
  "payment_receipt": {
   "amount_usd": 0.01,
   "settlement_ref": "0xtx..."
  },
  "product_version": 1
 },
 "description": "data rows + provenance chain + attestation"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clink-forge-usgs-earthquake-lookup-26e1e648/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.clinkforge.com](https://www.zero.xyz/host/api.clinkforge.com/llms.txt)
