{"uid":"cap_sJH5gUD-o8XRHE3YdsA0u","slug":"fractalai-x402-agent-credential-verifier-5b2f84be","name":"FractalAI x402 Agent Credential Verifier","description":"The first AI-native Layer 1 blockchain built from scratch in Rust. Post-quantum cryptography (CRYSTALS-Dilithium), Proof of Fractal Work consensus, WASM smart contracts, and 460+ RPC endpoints. Mine FRAC tokens with fractal analysis instead of hash puzzles.","url":"https://fractalai.net.co/api/x402/verify-agent?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_credential_algorithm":"dilithium2"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_projRsfXiyHHSlU-sHopX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an AI agent's KYA (Know Your Agent) credential using post-quantum ML-DSA-65 cryptography and returns a signed attestation of the verification result","exampleAgentPrompt":"Can you verify my AI agent's KYA credential — agent_id 'agent-abc123', operator 'MyOrg', scope 'trading' — and give me a signed post-quantum attestation confirming it's valid and not expired?","exampleUseCases":[{"title":"Multi-agent trust handshake","prompt":"Before Agent B accepts instructions from Agent A, verify Agent A's KYA credential with agent_id 'agent-a-7x9', operator 'FleetOrchestrator', scope 'task-delegation' and confirm the ML-DSA-65 signature checks out and it hasn't expired."},{"title":"Regulated workflow agent gating","prompt":"I need to confirm that my autonomous trading agent with agent_id 'trader-001', operator 'QuantFirm', scope 'execute-trades' has a valid, in-date credential before it's allowed to submit any orders — give me the full signed attestation."},{"title":"Audit log attestation for compliance","prompt":"Run a verification on agent_id 'audit-bot-55', operator 'ComplianceCo', scope 'read-only' and return the attestation digest and signed message so I can store post-quantum proof of this check in our audit trail."}],"resultDescription":"Returns a JSON object with: a boolean 'valid' field indicating whether the agent credential passed all checks; 'stage' showing which check determined the verdict (structure, credential_id, signature, expiration, or ok); 'reason' with a human-readable explanation; a base64 ML-DSA-65 (Dilithium-3, NIST FIPS 204) 'signature' (3309 bytes) over a canonical message attesting the verdict; the corresponding 'public_key' (1952 bytes) for offline verification; 'algorithm' and 'algorithm_label' fields; 'attestation_digest' (SHA-256 hex); 'signed_message' for offline verification; 'not_expired' boolean; 'seconds_until_expiry'; optionally the echoed 'claim' object, 'payment' settlement receipt, and 'reputation' on-chain FRC-55 snapshot.","failureModes":["Invalid credential structure returns valid=false with stage='structure' and a descriptive reason","Unrecognized credential_id returns valid=false with stage='credential_id'","Post-quantum signature mismatch returns valid=false with stage='signature'","Expired credential returns valid=false with stage='expiration' and negative seconds_until_expiry","Missing x402 payment header returns HTTP 402 Payment Required","Malformed request body returns HTTP 400 with error detail","Reputation snapshot unavailable returns null for the reputation field"],"whenToPreferThis":"Choose this endpoint when you need post-quantum-secure verification of AI agent KYA credentials with a signed, tamper-evident attestation you can store or relay. It is specifically designed for AI agent identity workflows on the FractalAI blockchain ecosystem and produces ML-DSA-65 (NIST FIPS 204) signatures suitable for compliance audit trails. Prefer this over classical ECDSA or RSA credential verifiers when quantum resistance is a requirement, or when you need on-chain FRC-55 reputation data alongside credential validity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T06:30:19.553Z","isFirstParty":false,"canonicalSlug":"fractalai-x402-agent-credential-verifier-5b2f84be"}