{"uid":"cap_mxeSZj-GHi5CQR0Fuqs9v","slug":"sitecheck-cron-expression-parser-cea07a3e","name":"SiteCheck Cron Expression Parser","description":"Explains a cron expression in plain English and lists its next runs in UTC and in a time zone. Five fields (minute hour day month weekday), or six with seconds first. Names (MON, JAN) and steps are supported. Computed in the Worker; no network call.","url":"https://api.sitecheck-api.workers.dev/api/cron?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["expression"],"properties":{"tz":{"type":"string","description":"IANA time zone for the local times, e.g. Europe/Berlin (default UTC)"},"count":{"type":"string","description":"Next runs, 1 to 20 (default 5)"},"expression":{"type":"string","description":"Cron expression, 5 or 6 fields"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"source":"built-in cron parser (no network)","nextRuns":[{"local":"2026-10-14 09:15:00","utcOffset":"+02:00"},{"local":"2026-10-14 09:30:00","utcOffset":"+02:00"},{"local":"2026-10-14 09:45:00","utcOffset":"+02:00"}],"timezone":"Europe/Berlin","checkedAt":"2026-10-14T07:00:59.160Z","expression":"*/15 9-17 * * 1-5","explanation":"Every 15 minutes, from 09:00 to 17:59, on Monday to Friday","nextRunsUtc":["2026-10-14T07:15:00.000Z","2026-10-14T07:30:00.000Z","2026-10-14T07:45:00.000Z"]}},"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_GBj_0I13ES4On5BroljFS","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 cron expression and returns the next N scheduled run times with human-readable explanations, optionally localized to a given timezone.","exampleAgentPrompt":"Can you parse the cron expression '*/15 9-17 * * 1-5' and show me the next 5 run times in the Europe/Berlin timezone so I know exactly when it will fire?","exampleUseCases":[{"title":"Preview cron job schedule before deploying","prompt":"Before I deploy this job, can you tell me when '0 8 * * 1' will next run — show me the next 5 occurrences in America/New_York time?"},{"title":"Explain cryptic cron expression to non-technical teammate","prompt":"What does the cron expression '30 6 1 * *' actually mean in plain English, and when will it fire next — show me 3 upcoming runs in UTC?"},{"title":"Audit scheduled tasks firing too frequently","prompt":"I have a cron set to '*/5 * * * *' — can you show me the next 10 times it will run in Asia/Tokyo time so I can confirm it's not triggering too often?"}],"resultDescription":"Returns a JSON object with: a plain-English explanation of the cron expression, an array of next run times in local time with UTC offset, the corresponding UTC timestamps, the timezone used, and a checkedAt ISO timestamp. Computed entirely server-side with no external network calls.","failureModes":["Invalid or malformed cron expression returns an error","count outside 1-20 range may be rejected or clamped","Unrecognized IANA timezone string causes a timezone resolution error","6-field cron expressions may not be supported by all parsers — behavior may vary"],"whenToPreferThis":"Choose this endpoint when you need to quickly compute and preview upcoming cron job fire times without setting up a local cron library. Ideal for DevOps agents validating deployment schedules, automation builders previewing task cadences, or any workflow that needs a human-readable explanation of a cron expression in a specific timezone — all with a single cheap API call at $0.001.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T18:47:46.052Z","isFirstParty":false,"canonicalSlug":"sitecheck-cron-expression-parser-cea07a3e"}