# Clink Forge Congress Bill Lookup

> Clink Forge Congress Bill 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).

Looks up a US Congress bill by ID, returning government-sourced bill data with cryptographic provenance and attestation, paid per-call via x402/USDC.

## Facts

- Endpoint: GET https://api.clinkforge.com/v1/p/congress-bill-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-congress-bill-lookup-779d254f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uy3qgPeVcC3d5XBlsl3ig

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-congress-bill-lookup-779d254f
```

Example prompt: Look up the details for US Congress bill HR-1234 — I need the official government data with provenance so I can verify it's from a legitimate source.

## When to prefer this

Choose this endpoint when you need US congressional bill data with cryptographic provenance and attestation — especially when auditability, source verification, or trustless data access is required. Prefer it over free APIs when you need a signed, provenance-chained record suitable for compliance, legal, or research citation. Ideal for AI agents that must pay per-call without managing API keys or accounts.

## Known failure modes

- Invalid or non-existent bill ID returns empty data or error
- Malformed bill ID exceeding 30 characters rejected by schema validation
- Payment failure via x402 results in no data returned
- Network or upstream government data source unavailability causes timeout or error
- Stale or unindexed bill IDs may return no matching rows

## 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 an array of data rows for the requested congressional bill, along with a provenance chain (source URL, observing authority, hash, timestamp), a cryptographic attestation (signature, result digest, signing key ID), a payment receipt (amount, settlement reference), the product version, and a row count. All data is sourced from US government records.

## 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": 30
      }
     },
     "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-congress-bill-lookup-779d254f/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)
