{"uid":"cap_vBbTMeerS6aDfUMHPXKGv","slug":"fractalai-post-quantum-signature-verification-22541fc8","name":"FractalAI Post-Quantum Signature Verification","description":"Pay-per-Verify: an agent pays $0.01 to verify a post-quantum (ML-DSA-65 / Dilithium-3 or Dilithium-2, NIST FIPS 204; scheme auto-detected by size) signature over a message against a public key. A generic machine-to-machine PQC proof primitive for autonomous agents. x402-native.","url":"https://fractalai.net.co/api/x402/verify-proof?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":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"valid":true,"algorithm":"ml-dsa-65","verified_algorithm":"dilithium2"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xQM5WIKAfP7I3BqMfQfjx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies a post-quantum cryptographic signature (ML-DSA-65 / Dilithium-2) over a message and returns a signed attestation of the verdict","exampleAgentPrompt":"Can you verify this ML-DSA-65 post-quantum signature — here's the base64 message, the base64 signature, and the base64 public key — and give me a signed attestation receipt I can use as proof it was validated?","exampleUseCases":[{"title":"Audit trail for signed blockchain transactions","prompt":"I have a Dilithium-2 signature from a FractalAI blockchain transaction. Can you verify it against this public key and message, and return a server-signed attestation I can store as an audit record?"},{"title":"Verify quantum-resistant document signature","prompt":"Someone sent me a document signed with ML-DSA-65 post-quantum cryptography. Here's the base64 message, their signature, and their public key — can you confirm whether the signature is genuine and give me a verification receipt?"},{"title":"Integration test for post-quantum signing pipeline","prompt":"I'm testing my Dilithium signing code. Please verify this test signature against the message and public key I'm providing and tell me if it's valid, plus show me the algorithm that was detected."}],"resultDescription":"A JSON object containing: a boolean 'valid' field indicating whether the client's post-quantum signature is authentic; 'verified_algorithm' identifying whether ML-DSA-65 or Dilithium-2 was detected; echoed 'input_signature' and 'input_public_key' for reproducibility; a server-generated ML-DSA-65 attestation 'signature' (3309 bytes) over a canonical signed_message string; the server's 'public_key' (1952 bytes) for offline verification; and optionally a 'payment' settlement receipt with transaction hash and payer details.","failureModes":["Invalid or malformed base64 input for message, signature, or public key returns an error","Signature length mismatch (not 2420 bytes for Dilithium-2 or 3293 bytes for ML-DSA-65) causes rejection","Public key length mismatch causes scheme auto-detection to fail","Payment failure or insufficient USDC balance prevents the call from being processed","Server-side attestation signer temporarily unavailable returns null signature with served_signature_error flag but still delivers the paid verdict","Incorrect or mismatched public key/signature pair returns valid=false"],"whenToPreferThis":"Choose this endpoint when you need a verifiable, server-attested proof of post-quantum signature validation — not just a local library check. Ideal when you need an auditable receipt (the server's own ML-DSA-65 attestation signature) that a third party can independently verify offline. Prefer this over self-contained library verification when operating in regulated, audit-required, or zero-trust environments where an external attestation from an independent party strengthens non-repudiation. Also suitable when you need automatic scheme detection between Dilithium-2 and ML-DSA-65 (NIST FIPS 204).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:00:22.537Z","isFirstParty":false,"canonicalSlug":"fractalai-post-quantum-signature-verification-22541fc8"}