{"uid":"cap_l2n4rxFI8dFXKdCpzXYTB","slug":"cron-expression-parser-b0ad4394","name":"Cron Expression Parser","description":"Parse a 5/6-field cron expression or @macro: plain-English summary, per-field breakdown, and the next N run times from a base time in any UTC offset.","url":"https://api.24klabs.ai/api/v1/cron-parser?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string"},"count":{"type":"number"},"expression":{"type":"string"}}},"responseSchema":{"type":"json","example":{"next_runs":["..."],"description":"every 15 minutes ..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w-dsAG3jH98NqeG7F88Q2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a 5/6-field cron expression or @macro into a plain-English summary, per-field breakdown, and the next N scheduled run times from a given base time and UTC offset.","exampleAgentPrompt":"Can you parse the cron expression '0 9 * * 1-5' for me, explain what it means in plain English with a per-field breakdown, and show the next 5 run times starting from now at UTC+2?","exampleUseCases":[{"title":"Explain a cron job in plain English","prompt":"I have this cron expression '30 6 1 * *' and I have no idea what it means — can you explain it in plain English, break down each field, and show me the next 3 times it will run starting from today at UTC+0?"},{"title":"Debug a production scheduler","prompt":"Our job runs on '0 0 * * 0' and I need to verify it — can you parse that cron expression, confirm what it does, and list the next 10 run times from 2024-06-01 00:00 UTC so I can cross-check our logs?"},{"title":"Understand a @macro schedule","prompt":"What does the @weekly cron macro actually mean? Give me the plain-English explanation, the field breakdown, and the next 5 scheduled times starting from Monday 2024-07-01 at UTC-5."}],"resultDescription":"Returns a plain-English description of the schedule, a per-field breakdown of the cron expression (minute, hour, day-of-month, month, day-of-week, and optionally seconds), and a list of the next N concrete datetime timestamps when the job will fire, calculated from the specified base time and UTC offset.","failureModes":["Invalid cron expression syntax returns a parse error","Unsupported field count (e.g. 4-field or 7-field expressions) may fail","Unrecognized @macro names return an error","Invalid UTC offset format causes a bad request","Requesting an excessively large N may be rejected or rate-limited"],"whenToPreferThis":"Use this endpoint when you need to explain, validate, or compute the schedule of a cron expression or standard @macro (like @daily, @weekly) and want both a human-readable summary and concrete future run timestamps. Prefer this over a generic date/time library when you need the full package — per-field breakdown plus next-N-times — without writing your own parser, especially in agent workflows where the result needs to be surfaced to non-technical users.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:45:33.758Z","isFirstParty":false,"canonicalSlug":"cron-expression-parser-b0ad4394"}