Prime factorization
numtheory.openverbs.com · 6 paid endpoints · listed 2026-10-27
Prime-factorize a positive integer (≤ 10^15 so the computation is always fast). Returns the prime factors with exponents, the divisor count, and whether n is prime.
Paid endpoints
| Method | Endpoint | Price | Networks |
|---|---|---|---|
| POST | numtheory.openverbs.com/v1/factorize Prime-factorize a positive integer (≤ 10^15 so the computation is always fast). Returns the prime factors with exponents, the divisor count, and whether n is pr | $0.004 | Base |
| POST | numtheory.openverbs.com/v1/gcd Greatest common divisor of two or more non-negative integers (arbitrary precision). | $0.004 | Base |
| POST | numtheory.openverbs.com/v1/is-prime Miller-Rabin primality test (with witnesses that are exact for all 64-bit integers) on an arbitrary-precision integer. Returns { prime }. | $0.004 | Base |
| POST | numtheory.openverbs.com/v1/lcm Least common multiple of two or more positive integers (arbitrary precision). | $0.004 | Base |
| POST | numtheory.openverbs.com/v1/modpow Compute (base ^ exponent) mod modulus efficiently for arbitrary-precision integers. The modulus must be positive. | $0.004 | Base |
| POST | numtheory.openverbs.com/v1/totient Euler's totient φ(n) — the count of integers in [1, n] coprime to n — for a positive integer ≤ 10^15 (it is computed from the prime factorization). | $0.004 | Base |
Latest checks
| When | Endpoint | HTTP | ms | Result |
|---|---|---|---|---|
| 5 days ago | numtheory.openverbs.com/v1/factorize | 402 | 567 | valid x402 v2 terms |
Income on Base (7 days)
This provider's payout address is shared by several providers, so its income is not shown as its own.
Is this your API?
<a href="https://logicnodes.io/observatory/p/numtheory.openverbs.com"><img src="https://logicnodes.io/observatory/badge/numtheory.openverbs.com.svg" alt="x402 status"></a>
Claim it for free with
x402_provider_claim (sign with your payout address), and get an alert within minutes when it stops answering with x402_monitor_create ($5 for 30 days). Both work over MCP (https://logicnodes.io/mcp/v2) or POST https://logicnodes.io/v1/tools/<tool>.Income is all USDC received by the provider's payout address on Base, whatever the source. Score: 0-100: 50 x share of checks in the last 72 h that returned valid x402 payment terms + 30 x min(1, log10(1 + USDC received in 7 days) / 4) + 20 x min(1, log10(1 + distinct payers in 7 days) / 3). A provider never checked scores on income only; income is all USDC received by its payout address on Base, whatever the source. JSON: /v1/observatory/providers/numtheory.openverbs.com