S

Schedule & Timezone Tools · Rrule Expand

by Schedule & Timezone Tools

POSTBaseArbitrumPolygon

$0.005

per call · USD Coin on Base

RRULE recurrence expander — generate bounded RFC 5545 iCalendar occurrences in IANA timezones with windows, work limits, and daylight-saving (DST) policies.

Endpoint

POST https://schedule-tools.use.x402atlas.com/rrule-expand

2

Calls / 30d

1

Unique payers / 30d

Sep 1

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://schedule-tools.use.x402atlas.com/rrule-expand", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "ambiguous_time": "reject",
    "dtstart_local": "1997-09-02T09:00:00",
    "limit": 8,
    "nonexistent_time": "reject",
    "rrule": "FREQ=WEEKLY;COUNT=10;BYDAY=TU,TH",
    "timezone": "America/New_York",
    "window_end": "1997-10-01T00:00:00-04:00",
    "window_start": "1997-09-02T09:00:00-04:00"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://schedule-tools.use.x402atlas.com/rrule-expand" \
  -H "Content-Type: application/json" \
  -d '{"ambiguous_time":"reject","dtstart_local":"1997-09-02T09:00:00","limit":8,"nonexistent_time":"reject","rrule":"FREQ=WEEKLY;COUNT=10;BYDAY=TU,TH","timezone":"America/New_York","window_end":"1997-10-01T00:00:00-04:00","window_start":"1997-09-02T09:00:00-04:00"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "algorithm_version": "schedule-v1",
  "ambiguous_time": "reject",
  "dtstart_local": "1997-09-02T09:00:00",
  "go_toolchain_version": "go1.26.3",
  "iana_tzdata_version": "2026a",
  "limit": 8,
  "nonexistent_time": "reject",
  "normalized_rrule": "FREQ=WEEKLY;INTERVAL=1;COUNT=10;BYDAY=TU,TH;WKST=MO",
  "occurrence_count": 8,
  "occurrences": [
    {
      "local": {
        "abbreviation": "EDT",
        "local_time": "1997-09-02T09:00:00-04:00",
        "offset_seconds": -14400,
        "timezone": "America/New_York"
      },
      "utc": "1997-09-02T13:00:00Z"
    },
    {
      "local": {
        "abbreviation": "EDT",
        "local_time": "1997-09-04T09:00:00-04:00",
        "offset_seconds": -14400,
        "timezone": "America/New_York"
      },
      "utc": "1997-09-04T13:00:00Z"
    },
    {
      "local": {
        "abbreviation": "EDT",
        "local_time": "1997-09-09T09:00:00-04:00",
        "offset_seconds": -14400,
        "timezone": "America/New_York"
      },
      "utc": "1997-09-09T13:00:00Z"
    },
    {
      "local": {
        "abbreviation": "EDT",
        "local_time": "1997-09-11T09:00:00-04:00",
        "offset_seconds": -14400,
        "timezone": "America/New_York"
      },
      "utc": "1997-09-11T13:00:00Z"
    },
    {
      "local": {
        "abbreviation": "EDT",
        "local_time": "1997-09-16T09:00:00-04:00",
        "offset_seconds": -14400,
        "timezone": "America/New_York"
      },
      "utc": "1997-09-16T13:00:00Z"
    },
    {
      "local": {
        "abbreviation": "EDT",
        "local_time": "1997-09-18T09:00:00-04:00",
        "offset_seconds": -14400,
        "timezone": "America/New_York"
      },
      "utc": "1997-09-18T13:00:00Z"
    },
    {
      "local": {
        "abbreviation": "EDT",
        "local_time": "1997-09-23T09:00:00-04:00",
        "offset_seconds": -14400,
        "timezone": "America/New_York"
      },
      "utc": "1997-09-23T13:00:00Z"
    },
    {
      "local": {
        "abbreviation": "EDT",
        "local_time": "1997-09-25T09:00:00-04:00",
        "offset_seconds": -14400,
        "timezone": "America/New_York"
      },
      "utc": "1997-09-25T13:00:00Z"
    }
  ],
  "operation": "rrule-expand",
  "timezone": "America/New_York",
  "tzdata_source": "bridge-embedded",
  "warnings": [],
  "window_end": "1997-10-01T04:00:00Z",
  "window_start": "1997-09-02T13:00:00Z",
  "work": {
    "candidate_occurrences": 8,
    "combination_checks": 52,
    "periods_checked": 4
  }
}

Payment details

Pay to0x8c128f1ee62bb5e47867cfbae2ad89be325df1b2
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Social & Community and the homepage with a featured placement.

Get featured →

More from Schedule & Timezone Tools & similar services