# AgentKit Deadlines Calculator

> AgentKit Deadlines Calculator is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Calculates due dates and weekdays for tasks given a duration and optional start date

## Facts

- Endpoint: POST https://api.firstmention.uk/s/agentkit/deadlines?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentkit-deadlines-calculator-582d77a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pV1ZPqn6RTWjxfZVDhnpu

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 agentkit-deadlines-calculator-582d77a2 -d '<json body>'
```

Example prompt: Can you figure out the due dates for three tasks: one that takes 30 days starting today, one that takes 14 days starting November 1, and one that takes 7 days starting December 15? I want to know the exact date and what day of the week each falls on.

## When to prefer this

Use this endpoint when you need to programmatically compute due dates and weekday names for one or more tasks given a start date and duration in days. It is ideal for batch deadline calculations inside automated workflows, project planning agents, or compliance trackers — particularly when payment via x402/USDC on Base is acceptable and you want a lightweight, pay-per-call alternative to building custom date arithmetic.

## Known failure modes

- Missing or malformed 'tasks' array returns a 400 error
- Invalid date string in 'start' field causes parsing failure
- Non-numeric 'days' value may return an error or unexpected result
- Empty tasks array may return an empty result or error
- Payment not included or insufficient USDC causes 402 response

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns an array of task objects, each containing a 'due' field with the ISO date string of the calculated deadline and a 'weekday' field with the full day name (e.g. 'Tuesday') on which that deadline falls.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "budget": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tasks": [
   {
    "due": "2026-11-10",
    "weekday": "Tuesday"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentkit-deadlines-calculator-582d77a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
