# Delx Commerce — Is-Weekend Date Checker

> Delx Commerce — Is-Weekend Date Checker is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Given an ISO-8601 date or timestamp, returns whether that date falls on a weekend and its weekday name.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/is-weekend?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-is-weekend-date-checker-bc2c52e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nemtxTP5koOdaSJxs6gK8

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-commerce-is-weekend-date-checker-bc2c52e4 -d '<json body>'
```

Example prompt: Is August 4, 2026 a weekend day or a weekday?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

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').

## 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-commerce-is-weekend-date-checker-bc2c52e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
