# Cron Next-Run Calculator

> Cron Next-Run Calculator is a paid API for AI agents from tools.bip-rep.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-16).

Calculates the next N scheduled run times for a cron expression in a given timezone

## Facts

- Endpoint: POST https://tools.bip-rep.com/cron/next
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cron-next-run-calculator-076a8b47
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-d9EWirFZwtOVYW3AAxhF

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 cron-next-run-calculator-076a8b47 -d '<json body>'
```

Example prompt: What are the next 10 run times for the cron expression '0 9 * * MON-FRI' in the America/New_York timezone?

## When to prefer this

Use this endpoint when you need to programmatically compute upcoming cron fire times — especially useful for previewing, validating, or debugging cron schedules before deploying them. Prefer this over local cron parsing libraries when working in an agent context without native cron parsing, or when timezone-aware next-run computation is needed as a lightweight API call.

## Known failure modes

- Invalid cron expression returns a 4xx error with a parsing message
- Unsupported or misspelled timezone string causes an error
- Count value too large may be rejected or capped
- Malformed request body returns a validation error

## How this service works

Lightweight utility API for agents and operators: DNS lookups, RDAP/WHOIS domain data, HTTP probes, page metadata extraction, cryptographic hashing, JSON validation, scheduled webhooks, and exotic endpoints (Base transaction decode, ENS resolve, USGS earthquakes, cron next-run, TLS certificate report). No shell access; outbound URL tools enforce SSRF protections.

## Output

Returns an array of ISO 8601 timestamps representing the next N scheduled run times, along with the count, timezone, and original cron expression echoed back. Response includes latency_ms.

## Example request

```json
{
 "input": {
  "body": {
   "count": 5,
   "timezone": "UTC",
   "expression": "0 9 * * MON-FRI"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "expression"
     ],
     "properties": {
      "count": {
       "type": "integer",
       "description": "Number of upcoming runs to return (1-50, default 5)"
      },
      "timezone": {
       "type": "string",
       "description": "IANA timezone for schedule evaluation (default UTC)"
      },
      "expression": {
       "type": "string",
       "description": "Cron expression (5 or 6 fields; seconds optional)"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "runs": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "count": {
       "type": "integer"
      },
      "timezone": {
       "type": "string"
      },
      "expression": {
       "type": "string"
      },
      "latency_ms": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cron-next-run-calculator-076a8b47/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.bip-rep.com](https://www.zero.xyz/host/tools.bip-rep.com/llms.txt)
