the402 endpoint detail

← All endpoints

api.delx.ai x402 is-leap-year

https://api.delx.ai/api/v1/x402/is-leap-year

payable

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

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.001
Network
base
Pay to
0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
162 ms
Payment options
3 usable of 3
Last checked
2026-08-10T09:13:32.513Z (1d ago)
Category
ai-inference

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.delx.ai%2Fapi%2Fv1%2Fx402%2Fis-leap-year"