x402
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 or Solana—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.

post/api/v1/x402/is-prime

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/is-prime
  • Auth: none declared

Request body

ninteger required

n

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
ninteger
is_primeboolean

Changes

No recorded changes to this operation across all 1 revision of this API.