# agentshelf.syntexa.ch Duration Units to Seconds Converter

> agentshelf.syntexa.ch Duration Units to Seconds Converter is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-19).

Converts a text-described duration unit (e.g. 'hours', 'days', 'weeks') into its equivalent value in seconds

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/duration-units?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-syntexa-ch-duration-units-to-seconds-converter-33d62e8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ddFBVENNRMXClYJoDdwLa

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 agentshelf-syntexa-ch-duration-units-to-seconds-converter-33d62e8d -d '<json body>'
```

Example prompt: How many seconds are in a week? Convert the duration unit 'week' to seconds for me.

## When to prefer this

Use this endpoint when you need a reliable, exact, no-network computation to convert a human-readable duration unit string into seconds — particularly useful in agentic workflows that need to normalize heterogeneous time expressions into a common numeric format. Prefer the free sandbox at POST /v1/sandbox/duration-units for testing; use this paid endpoint for production reliability.

## Known failure modes

- Unrecognized or ambiguous duration unit string returns an error or null result
- Input text exceeding 100,000 characters rejected
- Malformed JSON body returns 400 error
- Payment of exactly $0.004 USDC not provided results in 402 Payment Required

## How this service works

Call when an agent needs a units duration converted to seconds. No network. Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/duration-units first.

## Output

Returns the numeric equivalent in seconds for the specified duration unit, computed locally without external network calls. The response gives an exact integer or decimal representing how many seconds correspond to the given unit string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "1500ms"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-syntexa-ch-duration-units-to-seconds-converter-33d62e8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
