# agentshield.live Workday Date Calculator

> agentshield.live Workday Date Calculator is a paid API for AI agents from agentshield.live, paid per call via x402, $0.004/call, status unknown (last checked 2026-11-20).

Calculates a date offset by a specified number of weekdays (Monday–Friday), without skipping public holidays

## Facts

- Endpoint: GET https://agentshield.live/workday?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshield-live-workday-date-calculator-f2d9fede
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GI715ZPG5rM8XbchNCiyB

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 agentshield-live-workday-date-calculator-f2d9fede
```

Example prompt: What date falls exactly 5 weekdays after 2025-11-03? Note that public holidays are not skipped, just weekends.

## When to prefer this

Use this endpoint when you need to add or subtract a precise number of weekdays (Monday–Friday) from a date and do not need public holidays to be excluded — it skips only weekends. Prefer this over full business-calendar services when holiday-awareness is unnecessary or when you want a lightweight, fast computation. It is ideal for deadline calculations, scheduling windows, or SLA date arithmetic where weekend skipping is the only requirement.

## Known failure modes

- Invalid or missing 'date' parameter returns an error response
- Non-integer or missing 'days' parameter may default to 1 or return an error
- Dates outside a supported range may return known:false or an error
- Malformed date format (not YYYY-MM-DD) will likely cause a 400-level error

## How this service works

Call when an agent needs a date plus or minus a number of weekdays. Public holidays are not skipped.

## Output

A JSON object with a 'known' boolean (always true for valid inputs) and a 'result' string containing the calculated date in YYYY-MM-DD format, offset by the requested number of weekdays from the input date.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "date"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD."
      },
      "days": {
       "type": "string",
       "description": "Integer day count. Defaults to 1."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "known": true,
  "result": "2026-10-26"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshield-live-workday-date-calculator-f2d9fede/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshield.live](https://www.zero.xyz/host/agentshield.live/llms.txt)
