{"uid":"cap_nemtxTP5koOdaSJxs6gK8","slug":"delx-commerce-is-weekend-date-checker-bc2c52e4","name":"Delx Commerce — Is-Weekend Date Checker","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-weekend?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"date":{"type":"string","format":"date-time","description":"ISO-8601 date or timestamp (e.g. 2026-08-04 or 2026-08-04T12:00:00Z)."}}},"responseSchema":{"type":"json","example":{"date":"2026-08-04","schema":"delx/is-weekend/v1","weekday":"Tuesday","is_weekend":false}},"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_UtX5EMYTM8LCxfTmwaQL8","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":"Given an ISO-8601 date or timestamp, returns whether that date falls on a weekend and its weekday name.","exampleAgentPrompt":"Is August 4, 2026 a weekend day or a weekday?","exampleUseCases":[{"title":"Weekend deadline check for scheduling","prompt":"My project deadline is November 14, 2025 — is that a weekend day or a regular workday?"},{"title":"Event date validation for business logic","prompt":"We're planning to send an automated invoice on March 15, 2026. Can you tell me if that date falls on a weekend so we can shift it if needed?"},{"title":"Holiday planning overlap check","prompt":"Is December 26, 2025 a weekend day? I'm trying to figure out if it's part of a long weekend."}],"resultDescription":"Returns a JSON object with the normalized date string, the full weekday name (e.g. 'Tuesday'), and a boolean `is_weekend` field indicating whether the date is a Saturday or Sunday. Also includes a schema identifier ('delx/is-weekend/v1').","failureModes":["Invalid or malformed date string returns an error response","Missing date field in request body causes a 400-level error","Future dates beyond supported range may return unexpected results","Ambiguous date formats not conforming to ISO-8601 may fail parsing","Payment failure via x402 prevents the call from completing"],"whenToPreferThis":"Choose this endpoint when you need a simple, trustless, pay-per-call weekend/weekday classification for a specific date without needing to manage API keys or subscriptions. It is ideal for agent workflows that need to conditionally branch based on whether a date is a weekend, particularly when integrated with x402 micropayment flows on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:34:05.625Z","isFirstParty":false,"canonicalSlug":"delx-commerce-is-weekend-date-checker-bc2c52e4"}