{"uid":"cap_L9KRJu5LSJMlV6LxS_zla","slug":"agentstoolshub-cron-next-runs-a54fd775","name":"AgentsToolsHub Cron Next Runs","description":"List the next N executions of a cron expression with exact timestamps — from now or from any reference datetime. Complements cron-describe (which explains what an expression means) with the concrete schedule agents need when scheduling their own work. Use this when an agent needs to exact upcoming executions for a cron expression.","url":"https://agentstoolshub.com/api/v1/dev/cron-next-runs?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":["cron"],"properties":{"cron":{"type":"string","description":"Cron expression"},"count":{"type":"number","description":"Runs to list"},"fromIso":{"type":"string","description":"From (ISO, optional)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Cy6XlQXA8IsCeRj4t-mBs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the next N concrete execution timestamps for a given cron expression, starting from now or a specified reference datetime.","exampleAgentPrompt":"Show me the next 5 execution times for the cron expression '0 9 * * 1-5', starting from now.","exampleUseCases":[{"title":"Preview recurring job schedule","prompt":"I have a cron job set to run on '0 0 1 * *' — can you list the next 6 times it will fire so I can confirm the monthly schedule looks right?"},{"title":"Schedule agent tasks from a cron","prompt":"My agent pipeline runs on '*/15 * * * *'. What are the next 8 exact execution timestamps starting from 2025-06-01T00:00:00Z so I can pre-plan the work queue?"},{"title":"Validate deployment window timing","prompt":"We deploy every Sunday at midnight using '0 0 * * 0'. Give me the next 3 upcoming execution times to confirm the schedule aligns with our change freeze window."}],"resultDescription":"A list of concrete ISO 8601 timestamps representing the next N scheduled execution times for the provided cron expression, computed from the current time or a specified reference datetime.","failureModes":["Invalid cron expression returns a parse error","Malformed fromIso datetime string returns a validation error","Requesting an extremely large count may time out or return a truncated list","Missing required 'cron' parameter returns a 400 bad request"],"whenToPreferThis":"Use this endpoint when you need exact future timestamps for a cron expression rather than a human-readable description of what it means. It is ideal for agents that need to pre-schedule work, validate scheduling windows, or compute time-to-next-run for any cron-driven pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:30:39.388Z","isFirstParty":false,"canonicalSlug":"agentstoolshub-cron-next-runs-a54fd775"}