# 24K Labs Cron From Text

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

Converts a plain-English schedule description into a valid cron expression.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/cron-from-text
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-cron-from-text-b1fb7571
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tH0cL8lKXzv6LlY44SlCQ

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-from-text-b1fb7571 -d '<json body>'
```

Example prompt: Convert 'every weekday at 9am' into a cron expression for me.

## When to prefer this

Choose this endpoint when you need to programmatically convert human-readable schedule descriptions into cron syntax without manually constructing the expression. Ideal for automation pipelines, developer tools, or AI agents that receive schedule instructions from users in natural language and need to configure cron jobs. Prefer it over manual cron construction or general LLM prompting when you want a consistent, dedicated conversion with predictable output format.

## Known failure modes

- Ambiguous or unrecognizable schedule text returns an error or unexpected cron output
- Schedules with relative references (e.g. 'every other week starting next Tuesday') may not parse correctly
- Very complex or rare recurrence patterns may not be supported
- Non-English input may fail or produce incorrect results

## How this service works

Turn a plain-English schedule into a cron expression.

## Output

A valid cron expression (e.g. '0 9 * * 1-5') corresponding to the plain-English schedule provided, ready to be used in a job scheduler, CI/CD pipeline, or cron daemon.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "description": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cron": "30 9 * * 1-5"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-cron-from-text-b1fb7571/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)
