Cron Expression Parser API
Explain a five-field cron expression and list its next run times (UTC).
POST /api/v1/tools/cron-expression-parserMCP cron_expression_parserTime & DateExplain any 5-field cron expression in plain English, catch syntax errors, and preview the next 10 run times in UTC or your local time zone.
Input
Send these as a JSON object. Unknown fields are rejected.
- expression
- The cron expression, e.g. 0 9 * * 1-5. (string, required)
- count
- How many next runs to list (1 to 50). (integer, 1 to 50, default 5)
- from
- ISO 8601 start time for next runs. Defaults to now. (string, up to 40 characters)
curl https://pithlab.com/api/v1/tools/cron-expression-parser \n -H "Authorization: Bearer $PITHLAB_KEY" \n -H "Content-Type: application/json" \n -d '{"expression":"0 9 * * 1-5","count":3,"from":"2026-10-20T00:00:00Z"}'Example response
{
"ok": true,
"result": {
"description": "At 09:00 on Monday through Friday",
"nextRuns": [
"2026-10-20T09:00:00.000Z",
"2026-10-21T09:00:00.000Z",
"2026-10-22T09:00:00.000Z"
]
}
}