# Natural Language to Cron Expression Generator

> Natural Language to Cron Expression Generator is a paid API for AI agents from pagos.andreax.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Converts a natural language frequency description into a valid cron expression

## Facts

- Endpoint: GET https://pagos.andreax.dev/api/taller/peaje/cron
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/natural-language-to-cron-expression-generator-da128aba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kIt-iNLu0UPbM4u0wRvio

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 natural-language-to-cron-expression-generator-da128aba
```

Example prompt: Can you give me the cron expression for running a job every weekday at 8am?

## When to prefer this

Choose this endpoint when you need to quickly translate a human-readable schedule description into a machine-usable cron expression without writing custom parsing logic. It is ideal for automation pipelines, chatbot scheduling assistants, or developer tools where users specify schedules in plain language. Prefer this over manual cron construction when the frequency description is provided by end users.

## Known failure modes

- Ambiguous or unparseable frequency input returns an error or unexpected cron expression
- Very complex or unusual schedules (e.g. 'every third Tuesday of the month except holidays') may not be supported
- Non-English input may produce incorrect results since the service appears designed for Spanish/English natural language
- Empty or missing 'input' query parameter results in a validation error

## How this service works

Genera una expresión cron desde lenguaje natural. input=frecuencia.

## Output

Returns a valid cron expression string corresponding to the natural language frequency input, suitable for use in cron schedulers, CI/CD pipelines, or task runners.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "cada cuánto ejecutar"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/natural-language-to-cron-expression-generator-da128aba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pagos.andreax.dev](https://www.zero.xyz/host/pagos.andreax.dev/llms.txt)
