the402 endpoint detail

← All endpoints

numtheory.openverbs.com v1 is-prime

https://numtheory.openverbs.com/v1/is-prime

answers 402

Miller-Rabin primality test (with witnesses that are exact for all 64-bit integers) on an arbitrary-precision integer. Returns { prime }.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.004
Network
base
Pay to
0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
226 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:20:10.809Z (23d ago)
Category
other

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fnumtheory.openverbs.com%2Fv1%2Fis-prime"