Skip to content
Fourohtwo

Cron parser API

x402.forgemesh.io/cron-next-runs

Cron parser API: validate a cron expression and get its next 1-20 run times as ISO timestamps in any timezone. Instantly answers 'when will this fire?' for scheduler-building, automation, and DevOps agents. Invalid expressions return a clear unpaid 400.

BaseAnswering
POSThttps://x402.forgemesh.io/cron-next-runs

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.forgemesh.io/cron-next-runs", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"count":"3","expression":"0 9 * * 1-5","timezone":"America/New_York"}),
});
console.log(await res.json());

Example input

{
  "count": "3",
  "expression": "0 9 * * 1-5",
  "timezone": "America/New_York"
}