Cron Expression Parser
The /cron endpoint parses a 5-field cron expression and returns a human-readable description along with the next scheduled execution timestamps.
Use Cases
Preview upcoming job runs before scheduling a task, display a human-readable description of a cron expression in a UI, debug cron timing issues across time zones, or validate that an expression fires at the expected intervals.
curl -X GET \ "https://api.moxon.dev/v4/cron"Send the request to see the response here.
exprstringrequired5-field cron expression (
minute hour dom month dow). Example:*/5 * * * *.countnumberoptionalDefault:
5.Number of upcoming execution timestamps to return (1–20).
fromstringoptionalDefault:
now.Start date for computing next runs (ISO 8601). Defaults to the current time.
timezonestringoptionalDefault:
UTC.IANA timezone for computing and formatting timestamps (e.g.
Europe/Paris).- UTC
- Europe/Paris
- America/New_York
- Asia/Tokyo
- Australia/Sydney
expressionstringThe cron expression as provided
descriptionstringHuman-readable description (e.g.
Every 5 minutes,At 09:00 daily)timezonestringTimezone used for computation
nextstring[]Array of next execution timestamps in ISO 8601 format
- 400
Please provide a cron expression (?expr=...)Theexprparameter is missing - 400
Invalid cron expressionThe expression does not match the 5-field cron format - 400
Count must be between 1 and 20Thecountparameter is out of the allowed range - 400
Please provide a valid ISO 8601 date (?from=...)Thefromparameter is not a valid ISO 8601 date - 400
Please provide a valid timezone (?timezone=...)Thetimezoneparameter is not a valid IANA timezone
Last updated on May 11, 2026