{"uid":"cap_nlkjjjqTxUsCcDAtGs5X2","slug":"agent-forge-stable-json-fingerprint-d81281df","name":"Agent Forge Stable JSON Fingerprint","description":"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.","url":"https://agent-forge.annushka1190.workers.dev/v1/fingerprint","method":"POST","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YqFpBHnoy4WWd5GXXVWek","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a stable, deterministic SHA-256 fingerprint of a JSON object, ensuring consistent hashes regardless of key ordering.","exampleAgentPrompt":"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\"}.","exampleUseCases":[{"title":"Deduplicating agent memory records","prompt":"I'm storing observations from my AI agent and need to detect duplicates — can you fingerprint this JSON observation so I can compare it against previously seen ones? The object is {\"event\": \"page_view\", \"url\": \"https://example.com\", \"user_id\": \"u123\"}."},{"title":"Cache key generation for API responses","prompt":"I want to cache API responses by content — can you give me a stable fingerprint for this response object so the cache key doesn't break when keys come back in a different order? Object: {\"status\": \"ok\", \"count\": 5, \"items\": [\"a\", \"b\"]}."},{"title":"Config change detection in CI pipeline","prompt":"Can you fingerprint this deployment config JSON so I can tell if anything actually changed between two pipeline runs, even if the keys got shuffled? Config: {\"region\": \"us-east-1\", \"replicas\": 3, \"image\": \"myapp:latest\"}."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:40.072Z","isFirstParty":false}