{"uid":"cap_h56DocXZW1rhh97yep3Yi","slug":"swift-bot-labs-toolbox-cron-next-occurrence-calculator-24a3cf7a","name":"Swift Bot Labs Toolbox – Cron Next Occurrence Calculator","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/cron/next?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","HEAD"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["expression"],"properties":{"tz":{"type":"string"},"from":{"type":"string","description":"Start time (default now)"},"count":{"type":"string"},"expression":{"type":"string"}},"additionalProperties":false},"discoverable":{"type":"boolean"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"cron-next","result":{"next":[{"utc":"2026-10-27T13:30:00.000Z","local":"2026-10-27T09:30:00-04:00"}],"expression":"30 9 * * mon-fri"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_t_1pmuaTfSez90qGrOWlF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the next N scheduled fire times for a cron expression, optionally anchored to a specific start time and timezone.","exampleAgentPrompt":"When will '30 9 * * mon-fri' next fire after now, shown in America/New_York time — give me the next 3 occurrences.","exampleUseCases":[{"title":"Verify weekday job schedule","prompt":"I have a cron expression '30 9 * * mon-fri' — can you tell me the next 5 times it will run, displayed in Eastern time?"},{"title":"Debug delayed pipeline trigger","prompt":"My data pipeline uses the cron '0 2 * * *' and I think it missed a run. Starting from 2024-06-15T00:00:00Z, when was the next time it should have fired in UTC?"},{"title":"Preview monthly report schedule","prompt":"When will '0 8 1 * *' next trigger? Show me the next 3 occurrences in Europe/London time so I can plan the report review meeting."}],"resultDescription":"Returns a JSON object with ok:true, the tool name 'cron-next', and a result containing the evaluated cron expression plus an array of upcoming fire times each with a UTC ISO timestamp and a local timezone-adjusted ISO timestamp.","failureModes":["Invalid or malformed cron expression returns an error response","Unrecognized timezone string may cause computation failure or fallback to UTC","Missing required 'expression' query parameter returns a 400-level error","count value out of supported range may be ignored or cause an error","Payment not provided or insufficient USDC causes HTTP 402 response before processing"],"whenToPreferThis":"Use this endpoint when you need a quick, deterministic calculation of upcoming cron fire times without spinning up a cron library locally. Ideal for agents validating scheduled job configurations, previewing automation schedules, or debugging missed triggers. Prefer it over general-purpose code execution when you want a pay-per-call, stateless solution with no account setup required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:31.204Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-toolbox-cron-next-occurrence-calculator-24a3cf7a"}