InputPOST /api/v1/x402/is-prime
{
"n": 42
}
Web and API intelligence · utility
Primality check. Call for teaching demos, ID heuristics, or lightweight number filters (bounded integers). Returns whether n is prime with a clear boolean field. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/is-prime -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"n":42}'
{
"n": 42
}
{
"schema": "delx/is-prime/v1",
"n": 42,
"is_prime": false
}
Machine-readable evidence