81trust / 100

Dev Ics Parser

by AgentTools in Productivity & SaaS

x402 APIPassing, checked 3 h ago

Parse iCalendar (.ics) content — meeting invites, conference calendars, exports from Google/Outlook — into structured event JSON: title, start/end, location, organizer and description. Use this when an agent needs to turn .ics calendar files into clean event JSON.

GET https://agenttools-hub.vercel.app/api/v1/dev/ics-parser

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
263 ms typical, 263 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://agenttools-hub.vercel.app/api/v1/dev/ics-parser?ics=BEGIN%3AVCALENDAR%0AVERSION%3A2.0%0ABEGIN%3AVEVENT%0ASUMMARY%3AQuarterly+Review%0ADTSTART%3A20261103T140000Z%0ADTEND%3A20261103T150000Z%0ALOCATION%3ARoom+4+%2F+Zoom%0AORGANIZER%3BCN%3DPM+Office%3Amailto%3Apm%40example.com%0AEND%3AVEVENT%0AEND%3AVCALENDAR"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagenttools-hub.vercel.app%2Fapi%2Fv1%2Fdev%2Fics-parser
const res = await pay("https://agenttools-hub.vercel.app/api/v1/dev/ics-parser?ics=BEGIN%3AVCALENDAR%0AVERSION%3A2.0%0ABEGIN%3AVEVENT%0ASUMMARY%3AQuarterly+Review%0ADTSTART%3A20261103T140000Z%0ADTEND%3A20261103T150000Z%0ALOCATION%3ARoom+4+%2F+Zoom%0AORGANIZER%3BCN%3DPM+Office%3Amailto%3Apm%40example.com%0AEND%3AVEVENT%0AEND%3AVCALENDAR");
console.log(await res.json());

Example input

{
  "ics": "BEGIN:VCALENDAR\nVERSION:2.0\nBEGIN:VEVENT\nSUMMARY:Quarterly Review\nDTSTART:20261103T140000Z\nDTEND:20261103T150000Z\nLOCATION:Room 4 / Zoom\nORGANIZER;CN=PM Office:mailto:[email protected]\nEND:VEVENT\nEND:VCALENDAR"
}

Example output

{
  "result": {
    "answer": "1 event",
    "answerLabel": "First: Quarterly Review — 2026-11-03T14:00:00.000Z",
    "artifacts": {
      "events": "[{\"summary\":\"Quarterly Review\",\"start\":\"2026-11-03T14:00:00.000Z\",\"end\":\"2026-11-03T15:00:00.000Z\",\"location\":\"Room 4 / Zoom\",\"description\":null,\"organizer\":\"mailto:[email protected]\"}]"
    },
    "details": [
      {
        "label": "Total events",
        "value": "1"
      },
      {
        "label": "Next upcoming",
        "value": "Quarterly Review — 2026-11-03T14:00:00.000Z"
      }
    ],
    "steps": [
      "Parse VCALENDAR with ical.js",
      "Extract 1 VEVENT components",
      "Normalize dates to ISO 8601 (UTC)"
    ],
    "table": {
      "columns": [
        "Event",
        "Start (UTC)",
        "Location"
      ],
      "rows": [
        [
          "Quarterly Review",
          "2026-11-03T14:00:00.000Z",
          "Room 4 / Zoom"
        ]
      ]
    },
    "value": 1
  },
  "tool": "ics-parser"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402263 ms$0.003