{"uid":"cap_RxPHmeqd83mhoTcKEkQqu","slug":"signaldesk-ai-factorial-calculator-d2451003","name":"SignalDesk AI Factorial Calculator","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/math/factorial?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer","maximum":300,"minimum":0,"description":"n."}}},"responseSchema":{"type":"json","example":{"factorial":"3628800"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CYSHIkHIpnAHHaiOk-XfT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the exact factorial of a non-negative integer n (0 ≤ n ≤ 300) and returns the result as a string","exampleAgentPrompt":"What is the factorial of 150? Give me the exact full integer value.","exampleUseCases":[{"title":"Combinatorics calculation for statistics","prompt":"I need to calculate 52 factorial exactly — it comes up in the number of possible orderings of a standard deck of cards. Can you get me the precise integer?"},{"title":"Verify large factorial for homework","prompt":"My math homework asks for the exact value of 25 factorial. Can you compute 25! and give me the full number?"},{"title":"Boundary test with maximum input","prompt":"What is the factorial of 300? I need the complete exact result, not a scientific notation approximation."}],"resultDescription":"A JSON object containing a 'factorial' field with the exact result of n! as a string (e.g. {\"factorial\": \"3628800\"} for n=10). Large factorials (e.g. n=300) return very long numeric strings with full precision.","failureModes":["Input n exceeds maximum of 300 — returns validation error","Input n is negative — rejected by schema validation","Non-integer input — schema validation failure","Payment of 0.001 USDC not fulfilled — x402 payment required error before computation","Network timeout on Cloudflare Worker edge node"],"whenToPreferThis":"Use this endpoint when you need the exact integer value of a factorial (no floating-point approximation) for values of n up to 300. It is preferable to local computation when the agent environment lacks arbitrary-precision math libraries, or when a verifiable, paid API result is required for audit or evidence purposes. Avoid if n > 300 or if approximate scientific notation is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:12.385Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-factorial-calculator-d2451003"}