x402
utility

Factorial (n≤20). Call for combinatorics demos and small counting problems with an explicit n cap. Returns n! for n up to 20; larger n returns a structured error. $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/factorial

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/factorial
  • 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
valueinteger

Changes

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