# time-add

> time-add is a paid API for AI agents from x402.agentindex.world, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-29).

Add a fixed duration (days, hours, minutes, and/or seconds) to an ISO 8601 datetime string and return the resulting datetime.

## Facts

- Endpoint: GET https://x402.agentindex.world/time/add?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/time-add-aedd0f5e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ivthVQd43NwhbqEjivsvk

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 time-add-aedd0f5e
```

Example prompt: What datetime is 2 days, 4 hours, and 30 minutes after 2025-06-15T09:00:00Z?

## When to prefer this

Use this endpoint when you need to arithmetically shift a known ISO 8601 datetime forward by a fixed duration composed of days, hours, minutes, and/or seconds — especially in agent workflows where datetime math must be offloaded as a reliable utility call. Prefer this over client-side computation when you want a consistent, stateless, pay-per-call service without implementing datetime libraries.

## Known failure modes

- Missing or malformed datetime input (not valid ISO 8601) results in an error response
- Non-integer values for days/hours/minutes/seconds may be rejected
- Extremely large duration values may cause overflow errors
- Payment failure (x402 protocol) prevents the call from completing

## How this service works

Add a fixed duration (days/hours/minutes/seconds) to an ISO 8601 datetime.

## Output

Returns the resulting ISO 8601 datetime after adding the specified number of days, hours, minutes, and seconds to the input datetime. The output is a shifted timestamp reflecting the exact duration added.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "days": {
   "type": "integer",
   "title": "Days",
   "default": 0
  },
  "hours": {
   "type": "integer",
   "title": "Hours",
   "default": 0
  },
  "minutes": {
   "type": "integer",
   "title": "Minutes",
   "default": 0
  },
  "seconds": {
   "type": "integer",
   "title": "Seconds",
   "default": 0
  },
  "datetime": {
   "type": "string",
   "title": "Datetime"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "datetime": "2026-01-02T02:00:00"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/time-add-aedd0f5e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentindex.world](https://www.zero.xyz/host/x402.agentindex.world/llms.txt)
