Cron & Schedule Explainer & Validator API
Validate cron expressions, translate to plain English, and compute next N runs with DST.
Repair broken .ics calendar feeds, normalize Windows timezones to IANA, and parse VEVENTs. Validate and repair malformed .ics calendar feeds: fix CRLF line folding, missing UID/DTSTAMP, inverted DTSTART/DTEND, invalid RRULEs, and Windows VTIMEZONE IDs.
{
"ok": true,
"data": {
"valid": true,
"sanitized_ics": "BEGIN:VCALENDAR\r\nPRODID:-//Tinplate//ICS Sanitizer//EN\r\nVERSION:2.0\r\nBEGIN:VEVENT\r\nUID:evt-1-3b2c16f1@tinplate.dev\r\nDTSTAMP:20261114T090000Z\r\nSUMMARY:Team Sync\r\nDTSTART;TZID=Europe/Budapest:20261114T090000\r\nDTEND;TZID=Europe/Budapest:20261114T100000\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n",
"event_count": 1,
"events": [
{
"uid": "evt-1-3b2c16f1@tinplate.dev",
"summary": "Team Sync",
"dtstart": "20261114T090000",
"dtend": "20261114T100000",
"timezone": "Europe/Budapest",
"rrule": null
}
],
"repairs": [
"normalized_lf_to_crlf",
"injected_missing_prodid",
"mapped_windows_tzid:Central European Standard Time->Europe/Budapest",
"swapped_inverted_dtstart_dtend",
"injected_missing_uid",
"injected_missing_dtstamp"
],
"issues": [
{
"code": "inverted_dtstart_dtend_repaired",
"severity": "warning",
"message": "VEVENT #1 had DTEND earlier than DTSTART; values were swapped."
}
]
},
"meta": {
"request_id": "req_ics_01",
"ms": 1
}
}
curl -X POST "https://api.tinplate.dev/v1/ics-sanitizer" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TINPLATE_KEY" \
-d '{"ics":"BEGIN:VCALENDAR\nVERSION:2.0\nBEGIN:VEVENT\nSUMMARY:Team Sync\nDTSTART;TZID=Central European Standard Time:20261114T100000\nDTEND;TZID=Central European Standard Time:20261114T090000\nEND:VEVENT\nEND:VCALENDAR"}'import { TinplateClient } from "@tinplate/sdk";
const tinplate = new TinplateClient({
apiKey: process.env.TINPLATE_API_KEY!,
});
const { data, meta } = await tinplate.call("/v1/ics-sanitizer", {
"ics": "BEGIN:VCALENDAR\nVERSION:2.0\nBEGIN:VEVENT\nSUMMARY:Team Sync\nDTSTART;TZID=Central European Standard Time:20261114T100000\nDTEND;TZID=Central European Standard Time:20261114T090000\nEND:VEVENT\nEND:VCALENDAR"
});
console.log(`[${meta.ms} ms]`, data);import requests
response = requests.post(
"https://api.tinplate.dev/v1/ics-sanitizer",
headers={
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_TINPLATE_KEY",
},
json={
"ics": "BEGIN:VCALENDAR\nVERSION:2.0\nBEGIN:VEVENT\nSUMMARY:Team Sync\nDTSTART;TZID=Central European Standard Time:20261114T100000\nDTEND;TZID=Central European Standard Time:20261114T090000\nEND:VEVENT\nEND:VCALENDAR"
}
)
print(response.json())const response = await fetch("https://api.tinplate.dev/v1/ics-sanitizer", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_TINPLATE_KEY",
},
body: JSON.stringify({
"ics": "BEGIN:VCALENDAR\nVERSION:2.0\nBEGIN:VEVENT\nSUMMARY:Team Sync\nDTSTART;TZID=Central European Standard Time:20261114T100000\nDTEND;TZID=Central European Standard Time:20261114T090000\nEND:VEVENT\nEND:VCALENDAR"
}),
});
const result = await response.json();
console.log(result);{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "tinplate_ics_sanitizer",
"arguments": {
"ics": "BEGIN:VCALENDAR\nVERSION:2.0\nBEGIN:VEVENT\nSUMMARY:Team Sync\nDTSTART;TZID=Central European Standard Time:20261114T100000\nDTEND;TZID=Central European Standard Time:20261114T090000\nEND:VEVENT\nEND:VCALENDAR"
}
}
}POST /v1/ics-sanitizer)| Parameter | Type & Constraints | Description |
|---|---|---|
ics required |
stringminLen: 1, maxLen: 262144 |
Raw .ics (RFC 5545 iCalendar) text to validate, repair, and normalize. |
normalize_windows_timezones optional |
booleandefault: true |
Map proprietary Windows/Exchange TZIDs ('Central European Standard Time') to IANA timezones ('Europe/Budapest'). |
fix_inverted_dates optional |
booleandefault: true |
Swap DTSTART and DTEND when DTEND is earlier than DTSTART. |
data Object Fields (200 OK)| Field | Type | Description |
|---|---|---|
valid |
boolean |
Field 'valid' |
sanitized_ics |
string |
Field 'sanitized_ics' |
event_count |
integer |
Field 'event_count' |
events |
object[] |
Field 'events' |
repairs |
string[] |
Field 'repairs' |
issues |
object[] |
Field 'issues' |
Release: v1.0.39 ·
Verified: 16 November 2026 ·
Portfolio Median: 0.318 ms in-Worker V8 compute (add 15–65 ms HTTPS RTT) ·
See Full Portfolio Benchmarks →
Direct Polar All-Access Keys unlock all 42 APIs (49 endpoints), /v1/pipeline, and /mcp on api.tinplate.dev:
Pro ($29/mo · 120 req/min · 100k/mo · 128 KB) or Team ($79/mo · 300 req/min · 500k/mo · 256 KB).
| Plan | Monthly Price | Included Requests | Rate Limit | Max Payload | Best For |
|---|---|---|---|---|---|
| BASIC | $0.00 / mo | 500 / month | 10 req / min | 64 KB | Evaluation & CI smoke tests |
| PRO | $9.99 / mo | 15,000 / month | 60 req / min | 128 KB | Solo devs & production apps |
| ULTRA | $29.99 / mo | 100,000 / month | 300 req / min | 256 KB | Growing SaaS & multi-agent pipelines |
| MEGA | $79.99 / mo | 500,000 / month | 1,000 req / min | 256 KB | High-volume enterprise workloads |
Outlook exports proprietary Windows timezone names (like 'W. Europe Standard Time') instead of IANA TZIDs. ICS Sanitizer maps them to standard IANA identifiers automatically.
Yes, you get the RFC 5545 CRLF-folded sanitized_ics string plus a clean events JSON array.
It generates a deterministic SHA-based UID from the event summary and start time so calendar clients don't reject or duplicate the event.
Calendar feeds are sanitized in volatile V8 memory and never stored.
Worker Zero-Logging Guarantee: Cloudflare Workers Observability and invocation logging are disabled (observability.enabled = false, head_sampling_rate = 0, invocation_logs = false). Requests via RapidAPI or Zyla traverse marketplace proxies; use a Direct Bearer Key for zero-intermediary routing.
Validate cron expressions, translate to plain English, and compute next N runs with DST.
Calculate business days and SLA deadlines across 30+ countries including HU swap Saturdays.
Normalize messy EU/US prices, dates, percentages, and measurements into structured JSON.