# Date Difference — REST API endpoint `date-difference`

Compute the difference between two dates in years/months/weeks/days/hours/minutes/seconds.

- Category: datetime
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/date-difference/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/date-difference/
- Same tool on the other surface: https://findutils.com/mcp/date-difference/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/date-difference/execute \
  -H "Content-Type: application/json" \
  -d '{
    "start": "2020-01-01",
    "end": "2021-01-01"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/date-difference
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `start` | string | yes | Start date (ISO 8601 or YYYY-MM-DD). |
| `end` | string | no | End date. Defaults to today. |

Example arguments (verified):

```json
{
  "start": "2020-01-01",
  "end": "2021-01-01"
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:date_difference`. Full MCP reference: https://findutils.com/mcp/date-difference/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
