{"uid":"cap_St7w-MH8D2GhbE3FyaAum","slug":"x402-trust-layer-zk-prove-0b3ac442","name":"x402 Trust Layer ZK Prove","description":"68 paid x402 trust infrastructure APIs: guard, semantic escrow, mandate diff, certified seller network, KYM, mandates, compliance, disputes, and orchestration.","url":"https://x402trustlayer.xyz/api/protocol/zk/prove?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","allowed","summary"],"properties":{"ok":{"type":"boolean"},"allowed":{"type":"boolean"},"summary":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"allowed":true,"summary":"Paid response after x402 settlement"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QO3ezAswI4sBhIwEoOklX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a zero-knowledge proof for a given HTTP payload, returning an allowed/denied decision with a summary via x402 payment settlement.","exampleAgentPrompt":"Run a zero-knowledge proof on this JSON POST body to verify it's allowed under our trust mandate — use the x402 Trust Layer ZK prove endpoint and tell me if the action is permitted and why.","exampleUseCases":[{"title":"Verify agent action without data exposure","prompt":"I need to prove that this agent's API request is authorized under our mandate without revealing the underlying payload — can you run a zero-knowledge proof on it and tell me if the action is allowed and why?"},{"title":"Compliance check for sensitive transaction","prompt":"Before we settle this transaction, run a ZK compliance check on the POST body through the x402 Trust Layer and confirm whether it passes our mandate rules — give me the decision and a plain-language explanation."},{"title":"Attest seller credentials privately","prompt":"We need to verify this seller is part of our certified network without exposing their private data — use the x402 Trust Layer to generate a zero-knowledge attestation and let me know if they're approved and the reason."}],"resultDescription":"Returns a JSON object with 'ok' (boolean success), 'allowed' (boolean access decision), and 'summary' (string explanation of the proof result) after x402 USDC payment settlement.","failureModes":["Missing required 'input' object returns 400 validation error","Invalid method enum (not POST/PUT/PATCH) returns schema validation failure","Non-JSON/form-data/text bodyType causes rejection","Insufficient x402 payment ($0.15 USDC) results in 402 Payment Required","Malformed body properties cause processing failure","ZK proof computation failure returns ok:false with error summary"],"whenToPreferThis":"Choose this endpoint when you need cryptographic zero-knowledge proof generation and validation for HTTP request payloads within the x402 trust ecosystem, particularly for mandate compliance, agent authorization, or privacy-preserving attestation without exposing underlying data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:39:21.482Z","isFirstParty":false,"canonicalSlug":"x402-trust-layer-zk-prove-0b3ac442"}