{"uid":"cap_nijjzlUEB1QpsxQEVXMpu","slug":"api-strale-io-223ea82a","name":"Crontab Generate — Natural Language to Cron Expression Converter","description":"Convert natural language schedule to cron expression, or explain an existing cron expression. Returns next run times.","url":"https://api.strale.io/x402/crontab-generate","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","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["description"],"properties":{"description":{"type":"string","description":"Schedule in natural language or cron expression"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"description":"every weekday at 8:30am"},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.054000000000000006,"settlement_id":"0x23beb7b53cbff0bec49e8220c6b2feb744ad3d8314aaae6cd796b172342c7bc2"},"capability":"crontab-generate","latency_ms":1936,"provenance":{"source":"claude-haiku","fetched_at":"2026-06-13T04:24:20.407Z"}},"next_5_runs":["2024-01-08T08:30:00Z","2024-01-09T08:30:00Z","2024-01-10T08:30:00Z","2024-01-11T08:30:00Z","2024-01-12T08:30:00Z"],"timezone_note":"Times shown in UTC (Z). Adjust times based on your system timezone. Use TZ environment variable or cron configuration to set desired timezone.","human_readable":"Every weekday (Monday through Friday) at 8:30 AM","cron_expression":"30 8 * * 1-5","input_description":"every weekday at 8:30am"}},"exampleRequest":{"description":"every weekday at 8:30am"},"tags":["x402"],"displayCostAmount":"0.054001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_viwU2bI-3a0ui1kCYDmQ4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a natural language schedule description into a cron expression, or explains an existing cron expression, and returns next scheduled run times.","exampleAgentPrompt":"What's the cron expression for 'every weekday at 8:30am', and when will it next run?","exampleUseCases":[{"title":"Automate compliance report scheduling","prompt":"I need to set up a job that runs our financial audit every first Monday of the month at 2 PM. Can you turn that into a cron expression and show me when it'll actually run?"},{"title":"Configure CI/CD pipeline triggers","prompt":"Help me create a cron job that deploys our staging environment every Tuesday and Thursday at 11 PM, right before our team's morning standup. What's the cron syntax for that?"},{"title":"Decode legacy schedule rules","prompt":"We inherited this cron expression from our previous DevOps team: `0 9 * * 1-5`. What does it actually do, and can you show me the next few times it'll execute?"}],"resultDescription":"Returns a valid cron expression derived from the natural language input (or an explanation if a cron expression was provided), along with the next several scheduled run times so the user can verify correctness.","failureModes":["Ambiguous or unparseable natural language schedule — returns error or best-guess cron with low confidence","Invalid cron expression provided — returns parsing error","Missing required 'description' query parameter — returns 400 bad request","Overly complex or unsupported schedule patterns (e.g. 'last business day of month') may not convert accurately"],"whenToPreferThis":"Choose this endpoint when you need to programmatically convert a human-readable schedule description into a machine-executable cron expression, or when you need to explain/document what an existing cron expression does. Ideal for DevOps automation, CI/CD pipeline configuration, and helping non-technical users set up scheduled jobs without learning cron syntax.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:58:55.356Z","isFirstParty":false}