# Delx Weekend Date Check

> Delx Weekend Date Check is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns whether a given ISO-8601 date or timestamp falls on a Saturday or Sunday.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/is-weekend
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-weekend-date-check-6d8e815e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R0_Y4-HB0O4m4YEyLSFbk

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-weekend-date-check-6d8e815e -d '<json body>'
```

Example prompt: Can you check if August 4, 2026 falls on a weekend?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-08-04",
  "schema": "delx/is-weekend/v1",
  "weekday": "Tuesday",
  "is_weekend": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-weekend-date-check-6d8e815e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
