{"uid":"cap_R0_Y4-HB0O4m4YEyLSFbk","slug":"delx-weekend-date-check-6d8e815e","name":"Delx Weekend Date Check","description":"Weekend check for a date. Call when routing work, quiet hours, or business-day logic in agents. Returns whether the date falls on Saturday or Sunday. $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.","url":"https://api.delx.ai/api/v1/x402/is-weekend","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_Eznop2xJtAxdwD33iiT6T","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":"Returns whether a given ISO-8601 date or timestamp falls on a Saturday or Sunday.","exampleAgentPrompt":"Can you check if August 4, 2026 falls on a weekend?","exampleUseCases":[{"title":"Skip weekends in task scheduling","prompt":"Before queuing this job, check if 2026-11-28 is a weekend day — I only want it to run on business days."},{"title":"Quiet hours enforcement for notifications","prompt":"I'm about to send a push notification — can you verify whether 2025-07-19 is a weekend so I can hold it until Monday if so?"},{"title":"Business-day validation in onboarding flow","prompt":"The user picked December 27, 2025 as their start date — is that a weekend? If it is I need to bump them to the next weekday."}],"resultDescription":"A deterministic JSON response indicating whether the supplied date is a weekend (Saturday or Sunday), enabling agents to branch on business-day versus weekend logic without any calendar library dependency.","failureModes":["Invalid or missing date field returns a structured validation error (not billed)","Malformed ISO-8601 string causes a parse error response","Network timeout if the endpoint is temporarily unreachable","Payment failure if the x402 USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when an agent needs a simple, stateless, first-party weekend check without importing a date library or maintaining calendar state. Ideal for serverless agents, lightweight pipelines, and routing logic where a deterministic JSON answer is needed and the $0.001 USDC per-call cost is acceptable. Prefer over custom code when you want auditability and consistency across heterogeneous agent runtimes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:29.404Z","isFirstParty":false}