{"uid":"cap_JTQkXjsdUdPKraz45hrIV","slug":"cron-expression-parser-next-run-calculator-34688c66","name":"Cron Expression Parser & Next-Run Calculator","description":"Cron parser API: validate a cron expression and get its next 1-20 run times as ISO timestamps in any timezone. Instantly answers 'when will this fire?' for scheduler-building, automation, and DevOps agents. Invalid expressions return a clear unpaid 400.","url":"https://x402.forgemesh.io/cron-next-runs","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"count":{"type":"string","description":"how many runs, default 5"},"timezone":{"type":"string","description":"IANA tz, default UTC"},"expression":{"type":"string","description":"cron expression, e.g. */15 9-17 * * 1-5"}}},"responseSchema":{"type":"json","example":{"next_runs":["2026-07-16T13:00:00.000Z","2026-07-17T13:00:00.000Z","2026-07-20T13:00: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_fvYVR0dRVtxLqgVT4FRvL","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":"Validates a cron expression and returns the next 1–20 scheduled run times as ISO 8601 timestamps in any IANA timezone.","exampleAgentPrompt":"Can you validate the cron expression '*/15 9-17 * * 1-5' and show me the next 10 times it will fire, in America/New_York timezone?","exampleUseCases":null,"resultDescription":"Returns an ordered list of the next N ISO 8601 timestamps (up to 20) when the cron expression would fire, in the requested IANA timezone. Invalid expressions return a 400 error with a clear explanation.","failureModes":["Invalid cron expression syntax returns a 400 error with a descriptive message","Unsupported or misspelled IANA timezone string causes a 400 error","Count value out of range (e.g. greater than 20 or non-numeric) causes a 400 error","Payment not included or invalid results in a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when an agent needs to validate a cron expression, preview upcoming scheduled run times, or help users build or debug cron-based automations. Ideal for DevOps workflows, scheduler UIs, or any agent that needs to answer 'when will this job next run?' without running a cron engine locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:05:36.520Z","isFirstParty":false}