x402
utility

Leap year check. Use for date validation and calendar math without external data. Returns a boolean leap-year result for a Gregorian year. $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-leap-year

Request

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

Request body

yearinteger required

year

Response

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

schemastring
yearinteger
is_leap_yearboolean

Changes

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