Cron Expression Parser API

Parse, validate, and describe cron expressions. Get human-readable descriptions and calculate upcoming run times.

API Endpoint

POST /v1/cron

Parameters

Name Type Required Description
expressionstringYesCron expression to parse (e.g., "0 9 * * 1-5")
countintegerNoNumber of next run times to return (default: 5)

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