{"uid":"cap_7kmeCF4NsGMHIz-u-pZIj","slug":"cron-next-utc-time-5-field-single-result-9f1a61d2","name":"Cron Next UTC Time (5-Field, Single Result)","description":"Call when an agent needs the next 1 UTC time for a 5-field cron expression. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/cron-next-5-1 first.","url":"https://agentshelf.syntexa.ch/v1/cron-next-5-1?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.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_wQLCTmiwzH3IRgEzpH1-3","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":"Returns the next single UTC datetime that a 5-field cron expression will fire, calculated from a given start time.","exampleAgentPrompt":"What's the next UTC time that the cron expression '0 9 * * 1-5' will fire, starting from 2024-06-10T08:00:00Z?","exampleUseCases":[{"title":"Scheduled job next run check","prompt":"I have a cron job with the expression '30 14 * * *' — when is the next time it will run after 2024-07-15T14:00:00Z in UTC?"},{"title":"Weekday morning alert timing","prompt":"For the cron expression '0 8 * * 1-5', what's the very next UTC time it would fire starting from 2024-06-12T07:59:00Z?"},{"title":"Monthly report trigger planning","prompt":"My monthly report cron runs on '0 6 1 * *' — what's the next UTC datetime it will trigger if today is 2024-05-20T00:00:00Z?"}],"resultDescription":"Returns the next single UTC datetime at which the provided 5-field cron expression will fire, computed relative to the provided 'from' datetime. The response indicates the exact next scheduled occurrence.","failureModes":["Invalid cron expression format returns an error (e.g. wrong number of fields or illegal field values)","Malformed or missing 'from' datetime causes a validation error","Expression with no future occurrences (e.g. fixed past date) may return an error or null","Payment failure (x402) if USDC not available or incorrectly sent"],"whenToPreferThis":"Use this endpoint when you need to compute the immediate next UTC fire time for a standard 5-field cron expression from a specific starting datetime, especially in agentic scheduling workflows where you need to determine when a task will next execute. Prefer the unpaid sandbox endpoint (/v1/sandbox/cron-next-5-1) for testing; use this paid endpoint for production use cases requiring reliable results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:19.860Z","isFirstParty":false,"canonicalSlug":"cron-next-utc-time-5-field-single-result-9f1a61d2"}