Cron Expression Parser API

Parse, validate, and describe cron expressions with timezone support, aliases (@daily, @weekly), month/day names (JAN-DEC, MON-SUN), field breakdown, and frequency estimation.

API Endpoint

POST /v1/cron

Parameters

Name Type Required Description
expressionstringYesCron expression (5 fields) or alias: @yearly, @monthly, @weekly, @daily, @hourly. Supports JAN-DEC, MON-SUN
num_nextintegerNoNumber of next run times (1-100, default: 5)
timezonestringNoIANA timezone (e.g. America/New_York, Europe/London). Default: UTC
fromstringNoStart datetime for calculation (ISO 8601)

Quick Example

curl -X POST "https://api.toolcenter.dev/v1/cron" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"expression": "0 9 * * 1-5", "count": 5}'

Features

  • Standard 5-field cron support
  • Human-readable descriptions
  • Next N run time calculations
  • Validation with error messages
  • Timezone-aware scheduling

Use Cases

Validate cron schedules before deployment

Show next run times in admin dashboards

Build cron expression builders

Debug scheduling issues

Start Using Cron Expression Parser API for Free

500 free API calls per month. No credit card required.

Get Started Free