# Clink Forge Self-Test As-Of Data Product

> Clink Forge Self-Test As-Of Data Product 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 a versioned, cryptographically attested data record by ID as of a specific timestamp, with full provenance chain, via pay-per-call x402 micropayment.

## Facts

- Endpoint: GET https://api.clinkforge.com/v1/p/forge-selftest-asof
- 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-self-test-as-of-data-product-b520cc3a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sWXb2ni2-I9h0njxBU-o9

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-self-test-as-of-data-product-b520cc3a
```

Example prompt: Pull the Clink Forge self-test product record for ID 'abc123' as of 2026-08-25T00:00:00Z and show me the attested payload and provenance details.

## When to prefer this

Choose this endpoint when you need a cryptographically attested, time-anchored data snapshot with full provenance chain for a specific record ID — particularly for audit, compliance, or data integrity workflows where Ed25519 signatures and on-chain payment receipts are required. Prefer this over generic REST data APIs when verifiable provenance and machine-readable attestation are non-negotiable requirements.

## Known failure modes

- Missing or invalid 'id' query parameter returns a 400 error
- Missing or malformed 'as_of' datetime (must be ISO 8601) returns a 400 error
- Record ID not found for the given timestamp returns a 404 error
- Payment failure or insufficient USDC balance results in 402 Payment Required
- Invalid or expired x402 payment token returns an authentication error
- Rate limiting on the API may return 429 if called excessively

## 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 data rows with field-value payloads, product metadata (slug and version), a provenance chain (license ID, source URL, observed timestamp), an Ed25519 cryptographic attestation signature, and a payment receipt with on-chain 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",
      "as_of"
     ],
     "properties": {
      "id": {
       "type": "string",
       "maxLength": 40
      },
      "as_of": {
       "type": "string",
       "format": "date-time"
      }
     },
     "additionalProperties": false
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rows": [
   {
    "payload": {
     "field": "value"
    },
    "record_id": "R-100"
   }
  ],
  "product": {
   "slug": "example-product",
   "version": 1
  },
  "provenance": {
   "license_id": "US-GOV-PD",
   "source_url": "https://agency.gov/data",
   "observed_at": "2026-08-25T00:00:00Z"
  },
  "attestation": {
   "algorithm": "Ed25519",
   "signature": "base64..."
  },
  "payment_receipt": {
   "settlement_ref": "0xtx..."
  }
 },
 "description": "data rows + provenance chain + attestation"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clink-forge-self-test-as-of-data-product-b520cc3a/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)
