# 24K Labs — Cron Expression Generator from Natural Language Text

> 24K Labs — Cron Expression Generator from Natural Language 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-13).

Converts a natural language description of a schedule into a valid cron expression string.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/cron-from-text
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-cron-expression-generator-from-natural-language-text-78c02ada
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eqtrLZ-ZN4458F6yL2HtB

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-generator-from-natural-language-text-78c02ada -d '<json body>'
```

Example prompt: Turn this into a cron expression for me: run every weekday at 9:30am.

## When to prefer this

Choose this endpoint when you need to programmatically generate cron expressions from human-readable schedule descriptions without requiring the caller to know cron syntax. Ideal for natural language automation interfaces, chatbot-driven scheduling, or any workflow where users specify schedules in plain English and the system must produce machine-executable cron strings.

## Known failure modes

- Ambiguous or unparseable natural language input may return an error or an incorrect cron expression
- Edge cases like 'last day of month' or 'every other week' may not be supported by all cron syntaxes
- Very complex schedules spanning multiple independent time windows may produce an oversimplified result
- Missing or empty input body returns a validation error

## 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

A JSON object containing a single 'cron' field with the standard 5-field cron expression string (e.g. '30 9 * * 1-5') corresponding to the natural language schedule provided.

## 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-expression-generator-from-natural-language-text-78c02ada/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)
