# 24K Labs Cron Expression Parser

> 24K Labs Cron Expression Parser is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Parses a cron expression and returns the next scheduled run times along with a human-readable description of the schedule.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/cron-parser
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-cron-expression-parser-6244fd48
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qgZkJj7cD8sT4ociPzAVG

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 24k-labs-cron-expression-parser-6244fd48 -d '<json body>'
```

Example prompt: Parse the cron expression '*/15 * * * *' for me and show the next 5 run times along with a plain-English description of the schedule.

## When to prefer this

Choose this endpoint when you need to programmatically interpret or validate a cron string, compute its next execution times, or translate it into a human-readable description — especially in automated pipelines, scheduling UIs, or when confirming task timing without running a local cron parser.

## Known failure modes

- Invalid cron expression returns an error indicating the syntax is malformed
- Missing cron expression field returns a 400-level error
- Unusual cron syntax (e.g. non-standard 6-field with seconds) may not be supported and returns an error
- Very distant future schedules or extreme repetition counts may cause timeouts

## How this service works

A curated directory of x402 services — each one on the list on purpose, with the health, uptime, and independent trust grades from across the ecosystem gathered in one place.

## Output

Returns a JSON object containing an array of upcoming run timestamps (next_runs) and a human-readable string description of the cron schedule (e.g. 'every 15 minutes'), allowing developers and agents to verify and communicate scheduled task timing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "base": {
   "type": "string"
  },
  "count": {
   "type": "number"
  },
  "expression": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "next_runs": [
   "..."
  ],
  "description": "every 15 minutes ..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-cron-expression-parser-6244fd48/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
