{"uid":"cap_F_u5E8UST0VDBYoOWCTOO","slug":"delx-commerce-is-leap-year-cd195e05","name":"Delx Commerce — Is Leap Year","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/is-leap-year?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"year":{"type":"integer","maximum":9999,"minimum":1,"description":"Gregorian calendar year."}}},"responseSchema":{"type":"json","example":{"year":2028,"schema":"delx/is-leap-year/v1","is_leap_year":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dLr9I5g0SssXs_SyWCXJ4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Determines whether a given Gregorian calendar year is a leap year, returning a boolean result for a small per-call USDC micropayment.","exampleAgentPrompt":"Is 2032 a leap year?","exampleUseCases":[{"title":"February 29 event scheduling","prompt":"I'm planning an event for February 29th, 2028 — can you confirm that 2028 is actually a leap year so that date exists?"},{"title":"Historical date validation","prompt":"I need to check whether 1900 was a leap year — I'm debugging a date calculation in some legacy code and the result is unexpected."},{"title":"Countdown app calendar logic","prompt":"Is 2100 a leap year? I'm building a countdown timer and need to know if I should account for 366 days that year."}],"resultDescription":"A JSON object containing the queried year, a boolean field `is_leap_year` indicating whether it is a leap year, and a schema version string (e.g. `delx/is-leap-year/v1`).","failureModes":["Year out of range (below 1 or above 9999) returns a validation error","Non-integer or missing year field returns a 400 bad request","Payment failure or insufficient USDC balance blocks the call via x402 protocol","Network timeout returns no result"],"whenToPreferThis":"Use this endpoint when you need a lightweight, trustless, pay-per-call leap year check with verifiable delivery over USDC on Base or Solana — ideal for AI agents that need calendar correctness without managing an API key or subscription, and where a single authoritative yes/no answer is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:56.442Z","isFirstParty":false,"canonicalSlug":"delx-commerce-is-leap-year-cd195e05"}