# Life Dates & Milestones – Date Countdown & Interval Calculator

> Life Dates & Milestones – Date Countdown & Interval Calculator is a paid API for AI agents from life-dates.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-27).

Calculates the signed number of days, weeks, months, and years between two dates, including weekday (Monday–Friday) count and weekend day breakdown.

## Facts

- Endpoint: GET https://life-dates.x402tookit.com/date-countdown?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/life-dates-milestones-date-countdown-interval-calculator-33175a1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9zzC2w7yN_hl2Pj2dJ73H

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 life-dates-milestones-date-countdown-interval-calculator-33175a1b
```

Example prompt: How many days — including weekdays and weekends separately — are there between today and December 31, 2025?

## When to prefer this

Use this endpoint when you need a precise, multi-format breakdown of the interval between two calendar dates — especially when you need both total days and weekday-only (Mon–Fri) counts, or want the result expressed simultaneously as weeks+days and years+months+days. Prefer it over generic date libraries when a signed (past/future) result with a summary narrative is needed without running local code.

## Known failure modes

- Missing required 'to' query parameter returns an error
- Malformed date format (not YYYY-MM-DD) causes a parse error
- Dates outside supported range may return degraded results
- Network timeout or service unavailability returns no data

## How this service works

Days between two dates (signed), as weeks plus days and years/months/days, with Monday-to-Friday days counted.

## Output

Returns a structured object with: signed total days (daysSigned), absolute days, weeks, remainder days, years, months, remainder days, weekdays Monday–Friday count, weekend day count, the weekday names for both start and end dates, a direction label (past/future), a human-readable summary, and optional disclaimer or degraded-mode flags.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Target date YYYY-MM-DD"
      },
      "from": {
       "type": "string",
       "description": "Start date YYYY-MM-DD (default today, UTC)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "to": {
       "type": [
        "null",
        "string"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "days": {
       "type": [
        "null",
        "number"
       ]
      },
      "from": {
       "type": [
        "null",
        "string"
       ]
      },
      "weeks": {
       "type": [
        "null",
        "number"
       ]
      },
      "years": {
       "type": [
        "null",
        "number"
       ]
      },
      "months": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "direction": {
       "type": [
        "null",
        "string"
       ]
      },
      "toWeekday": {
       "type": [
        "null",
        "string"
       ]
      },
      "daysSigned": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
    
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/life-dates-milestones-date-countdown-interval-calculator-33175a1b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from life-dates.x402tookit.com](https://www.zero.xyz/host/life-dates.x402tookit.com/llms.txt)
