{"openapi":"3.1.0","info":{"title":"CronKit API","version":"1.0.0","description":"Explain, validate, and compute next run times for cron expressions. Free single-expression GET; paid batch POST. Standard 5-field and 6-field cron."},"servers":[{"url":"https://cron.wrapper-agency.com"}],"paths":{"/api/v1/cron":{"get":{"summary":"Explain a cron expression and compute next run times","parameters":[{"name":"expr","in":"query","required":true,"schema":{"type":"string","example":"0 0 * * *"},"description":"A cron expression (5 or 6 fields)"},{"name":"tz","in":"query","required":false,"schema":{"type":"string","example":"UTC"},"description":"IANA timezone, default UTC"},{"name":"n","in":"query","required":false,"schema":{"type":"integer","example":5},"description":"Number of next runs (1-50)"}],"responses":{"200":{"description":"Explanation, validity, and next runs","content":{"application/json":{"example":{"expr":"0 0 * * *","valid":true,"human":"At 12:00 AM","error":null,"timezone":"UTC","nextRuns":[{"iso":"2026-06-20T00:00:00.000Z","pretty":"Sat, Jun 20, 2026, 00:00:00 UTC","relative":"in 7h"}],"source":"cron-parser & cronstrue"}}}},"400":{"description":"Missing or invalid cron expression"}}}},"/api/v1/pro/cron":{"post":{"summary":"Batch-validate and explain many cron expressions (paid, x402)","requestBody":{"required":true,"content":{"application/json":{"example":{"expressions":["0 9 * * 1-5","*/5 * * * *"],"tz":"Europe/Paris","n":3}}}},"responses":{"200":{"description":"Per-expression results with valid/invalid counts"},"402":{"description":"Payment required (x402)"}}}}}}