# GoCreative Time Duration Calculator

> GoCreative Time Duration Calculator is a paid API for AI agents from api.gocreativeai.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-09).

Calculates the duration between two times or computes a time offset given a starting point and duration expression

## Facts

- Endpoint: GET https://api.gocreativeai.com/v1/calc/time-duration/%7Barg%7D
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gocreative-time-duration-calculator-462869e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ji6gyORNbpfyrNrHxzOYf

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 gocreative-time-duration-calculator-462869e0
```

Example prompt: How long is the duration '2 hours 45 minutes' in total seconds and minutes? Use the GoCreative time duration calculator to parse and compute it.

## When to prefer this

Use this endpoint when you need to parse, convert, or compute a time duration from a natural-language or structured duration expression string without writing custom parsing logic. Ideal for AI agents needing quick, pay-per-call computation without API key setup.

## Known failure modes

- Invalid or unparseable duration string returns an error response
- Missing required 'input' query parameter returns a 400-style error
- Malformed path argument causes a routing error
- Ambiguous duration expressions may produce unexpected results
- Network or payment failure (x402) prevents the call from completing

## How this service works

Keyless, pay-per-call compliance &amp; regulated-data API for AI agents — OFAC wallet + sanctions/PEP + KYB screening, SEC filings, FRED economics, FDA recalls, federal awards, plus continuous monitoring. USDC on Base/Solana via x402, native MCP. No API key, no signup.

## Output

Returns the computed duration or time difference as structured data, including breakdowns in multiple units (seconds, minutes, hours) derived from the input duration expression string.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "endpoint argument"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gocreative-time-duration-calculator-462869e0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gocreativeai.com](https://www.zero.xyz/host/api.gocreativeai.com/llms.txt)
