{"uid":"cap_cu1QDwJaxUAFk6vnBB9Ek","slug":"apex-edge-hash-utility-c34f7aa8","name":"apex-edge Hash Utility","description":"x402-paid inference + audit endpoints","url":"https://apex-edge.pearceshrader.workers.dev/api/v1/util/hash?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{"algo":{"type":"string"},"input":{"type":"string"}}}}},"output":{"type":"object","properties":{"example":{"status":"ok"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_il0c0u4K7TTxa3iIIofRQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a cryptographic hash of provided input data as a paid utility endpoint with x402 micropayment authentication","exampleAgentPrompt":"Hash this string for me using the apex-edge utility: 'user:alice@example.com|timestamp:1718000000|action:purchase' — I need the cryptographic digest to use as an integrity check.","exampleUseCases":[{"title":"Payload integrity fingerprint before storage","prompt":"Can you hash this JSON payload for me so I can store the digest alongside it for integrity checking? The payload is: '{\"orderId\":\"ORD-9921\",\"amount\":49.99,\"currency\":\"USD\"}'"},{"title":"Deduplication key generation from content","prompt":"I need a unique fingerprint for this log entry so I can deduplicate events — please hash this string: 'ERROR 2024-06-10T12:34:56Z service=auth msg=token_expired user=42'"},{"title":"Pre-signature checksum for audit trail","prompt":"Generate a cryptographic hash of this audit record before I sign it: 'admin deleted user ID 7734 at 2024-06-10 09:15:00 UTC from IP 203.0.113.42'"}],"resultDescription":"Returns a JSON object containing the computed cryptographic hash digest of the submitted input, typically as a hex-encoded string. The response may include the algorithm used and the resulting hash value suitable for integrity checks, deduplication, or audit logging.","failureModes":["Empty or missing input body returns an error response","Unsupported algorithm parameter yields a 400-style error","Payment not provided or x402 handshake fails returns 402 Payment Required","Malformed JSON request body causes parsing error","Network timeout on the Cloudflare Worker edge node"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-use, auditable cryptographic hashing service with x402 micropayment support, particularly in agentic workflows where you want per-call billing accountability and an audit trail. Prefer it over free or self-hosted hashing when you need provable, third-party-attested computation with a blockchain-compatible payment layer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:36:05.895Z","isFirstParty":false,"canonicalSlug":"apex-edge-hash-utility-c34f7aa8"}