# Next Weekday Finder

> Next Weekday Finder 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 the next calendar date that falls on a specified weekday, given a starting date.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/next-weekday
- 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/next-weekday-finder-c68352b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mr-mtFzyry4Ra27VECcnc

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 next-weekday-finder-c68352b4 -d '<json body>'
```

Example prompt: What's the next Monday after August 4th, 2026? I need to schedule a standup meeting.

## When to prefer this

Use this endpoint when an agent needs to deterministically find the next occurrence of a specific day of the week from a given date — for example, scheduling recurring meetings, computing deployment windows, or anchoring deadlines to weekdays. It requires no API key, no subscription, and validation errors are not billed, making it safe to call with uncertain inputs.

## Known failure modes

- Invalid or unparseable date format returns a structured validation error (not billed)
- Missing or unrecognized weekday value returns a validation error
- Malformed ISO-8601 timestamp triggers an error response without charge

## How this service works

Next weekday occurrence. Call when scheduling the next Monday standup or Friday ship window. Returns the next date matching the requested weekday. $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 JSON object containing the next calendar date that matches the requested weekday, given the provided starting date. The date is returned in a structured, deterministic format.

## 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)."
  },
  "weekday": {
   "description": "Optional weekday input."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-08-10",
  "schema": "delx/next-weekday/v1",
  "weekday": "monday"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/next-weekday-finder-c68352b4/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)
