{"uid":"cap_sxGc8XEPOjFb0r1rB2YB0","slug":"signaldesk-ai-prime-factorization-f64468d2","name":"SignalDesk AI Prime Factorization","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/prime-factors?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer","maximum":1000000000,"minimum":2,"description":"Integer."}}},"responseSchema":{"type":"json","example":{"factors":[{"prime":2,"exponent":3},{"prime":3,"exponent":2},{"prime":5,"exponent":1}]}},"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_f-vi8lAO86NImQLR8kWyJ","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 prime factorization of an integer, returning each prime factor with its exponent","exampleAgentPrompt":"What are the prime factors of 360? Break it down into primes with their exponents.","exampleUseCases":[{"title":"Verify cryptographic key factorization","prompt":"Can you find the prime factorization of 982451653? I need to know which primes it breaks down into and their exponents."},{"title":"Math homework prime decomposition","prompt":"I need to factor 720 into its prime components — show me each prime and how many times it appears."},{"title":"Number theory calculation for coding interview","prompt":"What's the prime factorization of 1000000000? Give me each prime base and its exponent."}],"resultDescription":"A JSON array of objects, each containing a 'prime' (the prime base) and an 'exponent' (how many times it divides the input), collectively representing the full prime factorization of the input integer n.","failureModes":["Input n below 2 or above 1,000,000,000 returns a validation error","Non-integer or float input rejected by schema","Missing 'n' field in request body causes bad request error","Payment of 0.001 USDC not included triggers 402 Payment Required","Network timeout on Cloudflare Worker under load"],"whenToPreferThis":"Use this endpoint when you need a deterministic, paid, on-demand prime factorization of any integer up to one billion without running local computation. Prefer it when your agent workflow needs structured JSON output (prime + exponent pairs) rather than a plain text answer, or when you want a reliable external computation via x402 micropayment rather than a locally written algorithm.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:47.553Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-prime-factorization-f64468d2"}