{"uid":"cap_R6T2ZFtZt41m9l51yRp4u","slug":"agentshelf-cron-next-5-5-field-a21c7f63","name":"Agentshelf Cron Next-5 (5-Field)","description":"Call when an agent needs the next 5 UTC times for a 5-field cron expression. Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/cron-next-5-5 first.","url":"https://agentshelf.syntexa.ch/v1/cron-next-5-5?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"from":{"type":"string","format":"date-time","examples":["2026-01-01T00:00:00.000Z"],"description":"ISO datetime to count forward from. Omit it to start at the current time."},"expression":{"type":"string","examples":["0 * * * *"],"maxLength":200,"minLength":1,"description":"Cron expression. The route says whether it is 5 fields or 6 fields. Example: 0 9 * * 1-5."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_U1V5bMnE9ZzEpDsrkBF7H","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Given a 5-field cron expression and an optional starting datetime, returns the next 5 UTC scheduled execution times.","exampleAgentPrompt":"What are the next 5 times this cron expression will fire: '0 9 * * 1-5', starting from 2025-06-01T00:00:00Z?","exampleUseCases":[{"title":"Preview weekday job schedule","prompt":"I have a cron expression '0 9 * * 1-5' for a Monday-to-Friday 9am job — can you show me the next 5 UTC times it will run starting from 2025-07-01T00:00:00Z?"},{"title":"Debug midnight batch job timing","prompt":"My batch pipeline runs on '0 0 1 * *' — what are the next 5 UTC times it will trigger after 2025-06-15T12:00:00Z so I can plan around it?"},{"title":"Verify hourly alert schedule","prompt":"Check when my hourly alert cron '0 * * * *' will next fire 5 times starting now at 2025-06-10T08:30:00Z."}],"resultDescription":"Returns an ordered list of the next 5 UTC datetimes at which the given 5-field cron expression would trigger, computed from the specified 'from' datetime (or now if omitted).","failureModes":["Invalid cron expression format returns an error","Expression with fewer or more than 5 fields is rejected","Malformed or out-of-range 'from' datetime causes a parse error","Payment of exactly $0.004 USDC required; insufficient payment returns 402","Expressions with no future occurrences (e.g. impossible schedules) may return an error or empty list"],"whenToPreferThis":"Use this endpoint when an agent needs deterministic, pure-computation cron schedule previewing without any LLM involvement or external network calls — ideal for scheduling automation pipelines, validating cron configurations, or showing users when their next job runs. Prefer the free sandbox endpoint (/v1/sandbox/cron-next-5-5) first if available; use this paid endpoint when sandbox is unavailable or rate-limited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:25.064Z","isFirstParty":false,"canonicalSlug":"agentshelf-cron-next-5-5-field-a21c7f63"}