# AgentKit Cron Batch Schedule Calculator

> AgentKit Cron Batch Schedule 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).

Computes the next N scheduled run times for one or more cron expressions, with timezone support, returning UTC timestamps for each valid expression.

## Facts

- Endpoint: POST https://api.firstmention.uk/s/agentkit/cronbatch?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-cron-batch-schedule-calculator-4296a9db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gtiukrGjf7_GT4UZv-L13

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-cron-batch-schedule-calculator-4296a9db -d '<json body>'
```

Example prompt: Can you tell me the next 5 run times for these two cron expressions — '0 9 * * 1-5' and '30 18 1 * *' — starting from now, in the America/New_York timezone?

## When to prefer this

Use this endpoint when you need to programmatically calculate future run times for one or more cron expressions — especially in batch — with timezone awareness. It is ideal for validating cron syntax, previewing schedules before deploying automation, or computing next-fire times for display in dashboards or agent planning loops. Prefer this over hand-calculating cron schedules or using generic date libraries when you need a simple pay-per-call API with no authentication setup.

## Known failure modes

- Invalid cron expression returns an error field instead of runs for that entry
- Unrecognized timezone string may cause computation failure or default fallback
- Missing or malformed 'from' datetime may result in unexpected start point
- Empty 'crons' array returns empty results with no error
- Count too large may cause slow or truncated responses

## 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 a JSON object with the timezone used and an array of results for each cron expression. Each valid cron entry includes an array of upcoming UTC run timestamps; invalid entries include an error message describing why the expression failed to parse.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tz": {
   "type": "string"
  },
  "from": {
   "type": "string"
  },
  "count": {
   "type": "number"
  },
  "crons": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tz": "UTC",
  "results": [
   {
    "cron": "0 0 * * *",
    "runs": [
     {
      "utc": "2026-11-07T00:00:00.000Z"
     }
    ]
   },
   {
    "cron": "bad",
    "error": "invalid cron expression"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentkit-cron-batch-schedule-calculator-4296a9db/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)
