# GoCreative Date Difference Calculator

> GoCreative Date Difference 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 difference between two dates, returning the number of days, months, or years between them.

## Facts

- Endpoint: GET https://api.gocreativeai.com/v1/calc/date-diff/%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-date-difference-calculator-f783b6d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Id3tRvqgijtr1sccWk4hQ

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-date-difference-calculator-f783b6d6
```

Example prompt: How many days are between January 15, 2023 and November 3, 2024?

## When to prefer this

Use this endpoint when an AI agent needs a quick, reliable, no-signup date arithmetic calculation — specifically the span between two calendar dates — without setting up any API credentials. At $0.005 per call it is suitable for high-frequency agent workflows that need to compute elapsed time, deadline proximity, age, or scheduling gaps.

## Known failure modes

- Invalid or unparseable date strings cause an error response
- Missing required 'input' query parameter returns a 400-level error
- Malformed date format (e.g. ambiguous separators) may cause incorrect parsing
- Swapped start/end dates may return a negative or unexpected value
- Future dates beyond supported range may return an error

## 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 difference between two dates, likely expressed as a count of days (and possibly weeks, months, or years) separating the two input dates.

## 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-date-difference-calculator-f783b6d6/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)
