# Agent Data Tools: Date Add Calculator

> Agent Data Tools: Date Add Calculator is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-03).

Adds a specified number of calendar days, months, or business days to a start date and returns the resulting date with weekday name

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/date/add?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-date-add-calculator-2a612958
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qmp1lwkLyiCWjSI4EIk8c

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 agent-data-tools-date-add-calculator-2a612958
```

Example prompt: What date is 45 business days from March 1 2026? I need the weekday name too.

## When to prefer this

Use this endpoint when you need reliable calendar or business-day arithmetic without spinning up a local date library — especially useful inside agent workflows where adding N days, months, or weekdays to a date is needed as a computation step. Prefer it over general-purpose code execution when the operation is a single date-add and you want a clean, pre-paid, stateless call.

## Known failure modes

- Missing required 'date' query parameter returns an error
- Invalid date format causes a parse error
- No offset specified (no days, months, or businessDays) may return the same date unchanged
- Extremely large offset values may produce unexpected results

## How this service works

Add (or subtract, with negative numbers) years, months, weeks, days, hours and minutes to a date, or add business days (skipping Saturdays and Sundays). Month ends are clamped (31 Jan + 1 month = 28/29 Feb). Use to compute due dates and expiries.

## Output

A JSON object containing the calculated result date as a plain date string (e.g. '2026-02-28'), the full ISO 8601 timestamp, and the weekday name (e.g. 'Saturday').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "date"
 ],
 "properties": {
  "date": {
   "type": "string",
   "description": "Start date or ISO timestamp"
  },
  "days": {
   "type": "integer",
   "description": "Days to add"
  },
  "hours": {
   "type": "integer",
   "description": "Hours to add"
  },
  "weeks": {
   "type": "integer",
   "description": "Weeks to add"
  },
  "years": {
   "type": "integer",
   "description": "Years to add (negative subtracts)"
  },
  "months": {
   "type": "integer",
   "description": "Months to add"
  },
  "minutes": {
   "type": "integer",
   "description": "Minutes to add"
  },
  "businessDays": {
   "type": "integer",
   "description": "Weekdays to add (skips weekends)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string"
  },
  "result": {
   "type": "string"
  },
  "weekday": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-date-add-calculator-2a612958/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
