# Agent Forge Stable JSON Fingerprint

> Agent Forge Stable JSON Fingerprint is a paid API for AI agents from agent-forge.annushka1190.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Generates a stable, deterministic SHA-256 fingerprint of a JSON object, ensuring consistent hashes regardless of key ordering.

## Facts

- Endpoint: POST https://agent-forge.annushka1190.workers.dev/v1/fingerprint
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-forge-stable-json-fingerprint-d81281df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nlkjjjqTxUsCcDAtGs5X2

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 agent-forge-stable-json-fingerprint-d81281df -d '<json body>'
```

Example prompt: Can you generate a stable fingerprint for this JSON object so I can deduplicate records regardless of key ordering? The object is {"name": "Alice", "age": 30, "role": "admin"}.

## When to prefer this

Choose this endpoint when you need a deterministic, key-order-independent hash of a JSON object — particularly useful for deduplication, content-addressable storage, cache key generation, or change detection where key ordering may vary. Prefer this over raw SHA-256 hashing when your input is a JSON object and you need canonical stability. Requires no API key; pay-per-use via USDC x402.

## Known failure modes

- Missing required 'input' field returns a validation error
- Non-JSON body type or mismatched method returns a schema error
- Payment failure via x402 results in 402 Payment Required response
- Malformed or unparseable JSON body may return a 400 error
- Extremely large JSON objects may hit Cloudflare Worker size or CPU limits

## How this service works

Hash and unit utilities for AI agents: SHA-256, SHA-1, HMAC-SHA256, stable JSON fingerprint, ETH/Gwei/Wei conversion, human bytes, and duration parsing. Pay-per-request USDC via x402. No API keys, no accounts.

## Output

Returns a JSON object with ok: true and a stable SHA-256 fingerprint string derived from the canonicalized (key-sorted) representation of the input JSON body, ensuring identical hashes for semantically equivalent objects regardless of key ordering.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "const": "json"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-forge-stable-json-fingerprint-d81281df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-forge.annushka1190.workers.dev](https://www.zero.xyz/host/agent-forge.annushka1190.workers.dev/llms.txt)
