{"uid":"cap_Lgh0dxeiCqo72LgI1R1qY","slug":"x402-toolbox-factorial-calculator-e05be8ce","name":"x402-toolbox Factorial Calculator","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/math/factorial-calculator?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"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_7o-Ipyked9xzGslNZttQZ","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 the factorial of a given non-negative integer, returning the exact result deterministically via a pay-per-call x402 endpoint.","exampleAgentPrompt":"Calculate the factorial of 12 for me using the x402 factorial calculator — just pay the micro fee and give me the result.","exampleUseCases":[{"title":"Combinatorics permutation count","prompt":"I need to know how many ways I can arrange 10 items in a sequence — can you calculate 10 factorial for me?"},{"title":"Probability denominator computation","prompt":"For my probability calculation I need the exact value of 20 factorial — can you compute that and give me the number?"},{"title":"Large integer factorial lookup","prompt":"What is the factorial of 25? I need the exact integer value, not an approximation."}],"resultDescription":"A JSON object with an 'ok' boolean indicating success, a 'paid' boolean confirming the x402 micropayment was processed, and the computed factorial value for the given input integer.","failureModes":["Invalid or missing integer input returns an error response","Negative integer input may return an error since factorial is undefined for negatives","Payment failure via x402 returns a 402 status before computation occurs","Extremely large integers may cause overflow or timeout","Malformed schema parameter causes a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, serverless factorial computation with no signup or API key required — payment via USDC on Base (x402) serves as authentication. Ideal for AI agents that need occasional math utility calls without managing credentials, or when embedding factorial computation into a pay-per-use agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:40:07.051Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-factorial-calculator-e05be8ce"}