{"uid":"cap_fCsfbhp-BQ0n8DDJQGEIc","slug":"agent402-tools-ics-parser-78df5fa9","name":"agent402.tools ICS Parser","description":"Parse iCalendar (.ics) text into structured JSON events: summary, start/end, location, organizer, attendees, status, and RRULE. Optional bounded recurrence expansion (expand:true, capped occurrences). Deterministic, pure CPU - send the ICS text, not a URL.","url":"https://agent402.tools/api/ics-parse","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ics":{"type":"string","description":"iCalendar (.ics) text (VCALENDAR with VEVENTs)"},"expand":{"type":"boolean","description":"expand simple RRULEs into occurrence dates (default false)"},"maxOccurrences":{"type":"integer","description":"per-event expansion cap, 1-100 (default 50)"}}},"responseSchema":{"type":"json","example":{"count":1,"events":[{"end":{"iso":"2026-07-20T15:30:00Z","tzid":null,"allDay":false},"uid":"demo-1","rrule":{"raw":"FREQ=WEEKLY;COUNT=3","freq":"WEEKLY","count":3,"interval":1},"start":{"iso":"2026-07-20T15:00:00Z","tzid":null,"allDay":false},"status":null,"summary":"Team sync","location":"Zoom","occurrences":{"count":3,"dates":["2026-07-20T15:00:00Z","2026-07-27T15:00:00Z","2026-08-03T15:00:00Z"],"capped":false}}],"calendar":{"name":null,"prodId":"-//Agent402//EN","version":"2.0","timezone":null}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7nZJ0VshTazHSc9PPy2Ag","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses iCalendar (.ics) text into structured JSON events with optional RRULE recurrence expansion","exampleAgentPrompt":"Can you parse this .ics text I have and give me the structured event details — summary, start/end times, location, organizer, and attendees? Also expand any recurring events up to 20 occurrences.","exampleUseCases":null,"resultDescription":"Returns a JSON array of structured calendar events, each containing fields like summary, start, end, location, organizer, attendees, status, and RRULE. If expand is true, recurrence rules are expanded into individual occurrence dates up to the specified maxOccurrences cap.","failureModes":["Malformed or non-standard ICS text causes parse error","Missing VCALENDAR wrapper results in empty or error response","RRULE with infinite recurrence may be capped at maxOccurrences","maxOccurrences out of range (must be 1-100) returns validation error","Non-UTF-8 encoded ICS content may cause parsing issues"],"whenToPreferThis":"Use this endpoint when you need to extract structured event data from raw iCalendar (.ics) text, especially when you want deterministic, CPU-only parsing without external dependencies. Ideal for processing calendar invites, ICS file exports, or subscription calendar feeds into machine-readable JSON. Prefer over generic text parsing when the input is confirmed iCalendar format and you need RRULE expansion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:16:54.217Z","isFirstParty":false}