{
"tzid": "America/New_York",
"dtstart": "2026-02-23T09:00:00",
"rrule": "FREQ=WEEKLY;BYDAY=MO;COUNT=4",
"text": "every week on Monday for 4 times",
"all_day": false,
"count": 4,
"truncated": false,
"occurrences": [
{
"local": "2026-02-23T09:00:00",
"utc": "2026-02-23T14:00:00Z",
"offset": "-05:00"
},
{
"local": "2026-03-02T09:00:00",
"utc": "2026-03-02T14:00:00Z",
"offset": "-05:00"
},
{
"local": "2026-03-09T09:00:00",
"utc": "2026-03-09T13:00:00Z",
"offset": "-04:00"
},
{
"local": "2026-03-16T09:00:00",
"utc": "2026-03-16T13:00:00Z",
"offset": "-04:00"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15436/rrule+time+zone+dst+calendar+api/41461/expand+an+rrule+query-string+form' --header 'Authorization: Bearer YOUR_API_KEY'
{
"tzid": "America/New_York",
"dtstart": "2026-02-23T09:00:00",
"rrule": "FREQ=WEEKLY;BYDAY=MO;COUNT=4",
"text": "every week on Monday for 4 times",
"all_day": false,
"count": 4,
"truncated": false,
"occurrences": [
{
"local": "2026-02-23T09:00:00",
"utc": "2026-02-23T14:00:00Z",
"offset": "-05:00"
},
{
"local": "2026-03-02T09:00:00",
"utc": "2026-03-02T14:00:00Z",
"offset": "-05:00"
},
{
"local": "2026-03-09T09:00:00",
"utc": "2026-03-09T13:00:00Z",
"offset": "-04:00"
},
{
"local": "2026-03-16T09:00:00",
"utc": "2026-03-16T13:00:00Z",
"offset": "-04:00"
}
]
}
curl --location --request POST 'https://zylalabs.com/api/15436/rrule+time+zone+dst+calendar+api/41462/expand+an+rrule+into+dates+time-zone+and+dst+aware' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"rrule":"FREQ=WEEKLY;BYDAY=MO;COUNT=4","dtstart":"2026-02-23T09:00:00","tzid":"America/New_York"}'
{
"valid": true,
"rrule": "FREQ=MONTHLY;BYDAY=-1FR",
"text": "every month on the last Friday",
"finite": false
}
curl --location --request GET 'https://zylalabs.com/api/15436/rrule+time+zone+dst+calendar+api/41463/validate+an+rrule+and+describe+it+in+plain+english' --header 'Authorization: Bearer YOUR_API_KEY'
{
"valid": true,
"rrule": "FREQ=MONTHLY;BYDAY=-1FR",
"text": "every month on the last Friday",
"finite": false
}
curl --location --request POST 'https://zylalabs.com/api/15436/rrule+time+zone+dst+calendar+api/41464/validate+an+rrule+json+body' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"rrule":"FREQ=MONTHLY;BYDAY=-1FR"}'
{
"ics": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//Seed//Recurrence and Calendar API//EN\r\nCALSCALE:GREGORIAN\r\nMETHOD:PUBLISH\r\nX-WR-CALNAME:Team\r\nBEGIN:VTIMEZONE\r\nTZID:America/New_York\r\nBEGIN:DAYLIGHT\r\nDTSTART:20250309T020000\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nDTSTART:20251102T020000\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:20260308T020000\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nDTSTART:20261101T020000\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:20270314T020000\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nDTSTART:20271107T020000\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:20280312T020000\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nDTSTART:20281105T020000\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:20290311T020000\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nDTSTART:20291104T020000\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:20300310T020000\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nDTSTART:20301103T020000\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:20310309T020000\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nDTSTART:20311102T020000\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:20320314T020000\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nDTSTART:20321107T020000\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:20330313T020000\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nDTSTART:20331106T020000\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:20340312T020000\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nDTSTART:20341105T020000\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:20350311T020000\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nEND:DAYLIGHT\r\nBEGIN:STANDARD\r\nDTSTART:20351104T020000\r\nTZOFFSETFROM:-0400\r\nTZOFFSETTO:-0500\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nDTSTART:20360309T020000\r\nTZOFFSETFROM:-0500\r\nTZOFFSETTO:-0400\r\nEND:DAYLIGHT\r\nEND:VTIMEZONE\r\nBEGIN:VEVENT\r\nUID:4d7aa97d-537a-479c-9f21-10b60ff5ac17@seed-calendar-api\r\nDTSTAMP:20261124T001800Z\r\nDTSTART;TZID=America/New_York:20260302T090000\r\nDTEND;TZID=America/New_York:20260302T091500\r\nRRULE:FREQ=WEEKLY;BYDAY=MO,WE,FR;COUNT=10\r\nSUMMARY:Standup\r\nLOCATION:Room 1\r\nEND:VEVENT\r\nBEGIN:VEVENT\r\nUID:54b1f0cf-1550-4bf4-ac12-eb70384e8804@seed-calendar-api\r\nDTSTAMP:20261124T001800Z\r\nDTSTART;VALUE=DATE:20260704\r\nDTEND;VALUE=DATE:20260705\r\nSUMMARY:Independence Day\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n",
"links": [
{
"title": "Standup",
"google": "https://calendar.google.com/calendar/render?action=TEMPLATE&text=Standup&dates=20260302T140000Z%2F20260302T141500Z&ctz=America%2FNew_York&location=Room+1&recur=RRULE%3AFREQ%3DWEEKLY%3BBYDAY%3DMO%2CWE%2CFR%3BCOUNT%3D10",
"outlook": "https://outlook.live.com/calendar/0/action/compose?subject=Standup&startdt=2026-03-02T14%3A00%3A00Z&enddt=2026-03-02T14%3A15%3A00Z&location=Room+1",
"note": "Outlook web links cannot carry recurrence; use the .ics file for recurring events."
},
{
"title": "Independence Day",
"google": "https://calendar.google.com/calendar/render?action=TEMPLATE&text=Independence+Day&dates=20260704%2F20260705",
"outlook": "https://outlook.live.com/calendar/0/action/compose?subject=Independence+Day&startdt=2026-07-04&enddt=2026-07-05&allday=true"
}
]
}
curl --location --request POST 'https://zylalabs.com/api/15436/rrule+time+zone+dst+calendar+api/41465/create+an+ics+file+plus+add-to-calendar+links' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"calendar_name":"Team","events":[{"title":"Standup","start":"2026-03-02T09:00:00","end":"2026-03-02T09:15:00","tzid":"America/New_York","rrule":"FREQ=WEEKLY;BYDAY=MO,WE,FR;COUNT=10","location":"Room 1"},{"title":"Independence Day","start":"2026-07-04"}]}'
{
"source": {
"url": "https://www.thunderbird.net/media/caldata/autogen/USHolidays.ics",
"cached": false,
"robots": {
"allowed": true,
"rule": null,
"note": "robots.txt returned 404"
}
},
"window": {
"start": "2026-12-01T00:00:00Z",
"end": "2027-01-15T00:00:00Z"
},
"total_in_window": 23,
"truncated": true,
"occurrences": [
{
"uid": "e398c79dbb022098a3cf13d43d8faa5a-2026-al",
"title": "Rosa Parks Day (Alabama)",
"location": null,
"all_day": true,
"start": "2026-12-01",
"end": "2026-12-02",
"start_local": null,
"tzid": "floating",
"recurring": false
},
{
"uid": "e398c79dbb022098a3cf13d43d8faa5a-2026-oh",
"title": "Rosa Parks Day (Ohio)",
"location": null,
"all_day": true,
"start": "2026-12-01",
"end": "2026-12-02",
"start_local": null,
"tzid": "floating",
"recurring": false
},
{
"uid": "b6e99df2aa90f32c71a994ab37818163-2026-wy",
"title": "Pearl Harbor Remembrance Day (Wyoming)",
"location": null,
"all_day": true,
"start": "2026-12-07",
"end": "2026-12-08",
"start_local": null,
"tzid": "floating",
"recurring": false
},
{
"uid": "b6e99df2aa90f32c71a994ab37818163-2026-ak",
"title": "Pearl Harbor Remembrance Day (Alaska)",
"location": null,
"all_day": true,
"start": "2026-12-07",
"end": "2026-12-08",
"start_local": null,
"tzid": "floating",
"recurring": false
},
{
"uid": "6f6363951114f510fc3e5774b2d84de7-2026-de",
"title": "Delaware Day (Delaware)",
"location": null,
"all_day": true,
"start": "2026-12-07",
"end": "2026-12-08",
"start_local": null,
"tzid": "floating",
"recurring": false
},
{
"uid": "3705e97549424c387eddf252fb9f32e5-2026-wy",
"title": "Wyoming Day (Wyoming)",
"location": null,
"all_day": true,
"start": "2026-12-10",
"end": "2026-12-11",
"start_local": null,
"tzid": "floating",
"recurring": false
},
{
"uid": "cf499c9e16bdf03af9a73331dc71c0eb-2026-mi-ks-(partly)-nc-nd-ok-sc-tx-wi-va-(partly)-ky",
"title": "Christmas Eve (MI, KS (partly), NC, ND, OK, SC, TX, WI, VA (partly), KY)",
"location": null,
"all_day": true,
"start": "2026-12-24",
"end": "2026-12-25",
"start_local": null,
"tzid": "floating",
"recurring": false
},
{
"uid": "cf499c9e16bdf03af9a73331dc71c0eb-2026-ar",
"title": "Christmas Eve (Arkansas)",
"location": null,
"all_day": true,
"start": "2026-12-24",
"end": "2026-12-25",
"start_local": null,
"tzid": "floating",
"recurring": false
}
],
"calendar_name": null,
"events_in_feed": 700
}
curl --location --request GET 'https://zylalabs.com/api/15436/rrule+time+zone+dst+calendar+api/41466/expand+a+public+ics+feed+into+event+occurrences+in+a+date+window' --header 'Authorization: Bearer YOUR_API_KEY'
{
"tzid": "America/New_York",
"year": 2026,
"transitions": [
{
"utc": "2026-03-08T07:00:00Z",
"local_before": "2026-03-08T01:59:59",
"local_after": "2026-03-08T03:00:00",
"offset_from": "-05:00",
"offset_to": "-04:00",
"kind": "dst_start"
},
{
"utc": "2026-11-01T06:00:00Z",
"local_before": "2026-11-01T01:59:59",
"local_after": "2026-11-01T01:00:00",
"offset_from": "-04:00",
"offset_to": "-05:00",
"kind": "dst_end"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15436/rrule+time+zone+dst+calendar+api/41467/daylight-saving+transitions+for+an+iana+zone+in+a+year' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the RRULE Time Zone DST Calendar API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Expand RRULE recurring events in any IANA time zone with correct DST, create ICS files, and expand public calendar feeds into concrete occurrence dates.
Each occurrence includes `local`, the wall-clock time in the requested IANA zone; `utc`, its UTC instant in ISO 8601 format; and `offset`, the applied UTC offset. This lets you display the intended local time while storing or comparing an unambiguous UTC value.
Validation returns `valid`, the normalized or submitted `rrule`, a short English `text` description when interpretable, and `finite`. `finite` indicates whether the rule has a natural endpoint, such as `COUNT` or `UNTIL`; recurring rules without one are not finite.
The ICS contains calendar metadata, event definitions, recurrence rules, and generated `VTIMEZONE` components for the zones used. The JSON form also provides add-to-calendar links, while `format=ics` returns the calendar as `text/calendar` for download or import.
Feed results include the event `uid`, `title`, `location`, `all_day`, `start`, `end`, `start_local`, `tzid`, and `recurring`. The response also reports the source URL, cache status, robots decision, requested window, total matches, and whether results were truncated.
For the requested `tzid` and year, it returns each transition’s UTC instant, local time immediately before and after the change, offsets before and after, and `kind` such as `dst_start` or `dst_end`. This supports timezone-aware scheduling and offset calculations.
Each occurrence includes the local wall time in the given IANA zone, the UTC instant, the UTC offset, and a dst_note when the time falls in a spring-forward gap or a fall-back overlap. A plain-English description of the rule is also returned.
The API follows RFC 5545. A local time that does not exist on a spring-forward day is shifted forward and flagged as nonexistent_shifted. An ambiguous fall-back time uses the first occurrence and is flagged as ambiguous_first_used. Local wall time otherwise stays fixed while the UTC instant moves with the offset.
Yes. POST or GET /v1/ics/expand with the URL of a public ICS feed. The API honors the host robots.txt for the user-agent token SeedCalendarBot, refuses private or local hosts, caches feeds for 10 minutes, and applies recurrences, exceptions, moved instances, and cancellations.
RRULE expansion returns at most 500 occurrences and accepts rule windows up to 10 years. Feed expansion accepts windows up to 3 years, feeds up to 300 KB, and at most 6 uncached fetches per minute to any one host. Create ICS accepts up to 100 events per call. No calendar data is stored beyond the 10-minute feed cache.
Configure Access Control as a Header named X-Zyla-Secret, and set the value to the origin secret. The hub must attach that header to every request it sends to the origin. Customers never see the origin secret; they authenticate to the hub with their own key.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund