# Clink Forge Federal Registry Document Lookup

> Clink Forge Federal Registry Document 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-15).

Retrieves federal registry documents by ID with cryptographic provenance attestation, sold per-call via x402 micropayment

## Facts

- Endpoint: GET https://api.clinkforge.com/v1/p/fedreg-doc-lookup
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clink-forge-federal-registry-document-lookup-fbec8907
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xDqcXYQDJao9-i7yWmjmw

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-federal-registry-document-lookup-fbec8907
```

Example prompt: Can you pull the federal registry document with ID 'FR-2024-00123' and give me its data along with the cryptographic proof of where it came from?

## When to prefer this

Choose this endpoint when you need a federal registry document by a known ID and require cryptographic provenance attestation alongside the data — not just raw data retrieval. Ideal for compliance, legal, and audit workflows where chain-of-custody verification matters. Prefer this over general web scraping or unverified government data APIs when you need a machine-readable Ed25519 signature and on-chain payment receipt as proof of data integrity. The per-call micropayment model makes it cost-effective for low-volume, on-demand lookups rather than bulk batch processing.

## Known failure modes

- Missing or invalid 'id' query parameter returns a 400 or validation error
- Unknown document ID returns empty rows array or 404
- Payment failure via x402 protocol (insufficient funds, invalid payment) blocks the request
- ID exceeding 40 characters is rejected by schema validation
- Service unavailability or upstream federal data source outage results in 5xx error
- Stale or uncached records may return older observation timestamps

## 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: an array of data rows with payload fields and record IDs, product metadata (slug and version), a provenance chain (license ID, source URL, observation timestamp), an Ed25519 cryptographic attestation signature, and a payment receipt with an on-chain settlement reference. This allows callers to verify data authenticity and trace its origin to the authoritative government source.

## 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-federal-registry-document-lookup-fbec8907/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)
