$ man csv-to-ics
/csv-to-ics
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakitCATEGORY
utilities
STATUS
● live
NAME
csv-to-ics — converts a csv of events into an rfc 5545 compliant ics calendar file (vcalendar/vevent) for google calendar, outlook, and apple calendar…
SYNOPSIS
POST https://x402.agentutility.ai/csv-to-ics
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Converts a CSV of events into an RFC 5545 compliant ICS calendar file (VCALENDAR/VEVENT) for Google Calendar, Outlook, and Apple Calendar import. Auto-detects column mapping (summary, date, time, location, description) or accepts an explicit mapping; handles all-day and timed events, configurable default duration, and custom delimiters. Up to 1000 rows. Use it as a CSV to iCal converter, calendar file generator, or .ics builder.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| csv | string | Raw CSV text. First row is treated as the header unless overridden. Up to 1000 data rows. | required |
| columns | object | Optional explicit column mapping, e.g. { summary: 'Title', start_date: 'Date', start_time: 'Time', location: 'Where', description: 'Notes' }. Auto-detected from header names when omitted. | optional |
| calendar_name | string | X-WR-CALNAME shown by calendar clients. Default 'Schedule'. | optional |
| default_duration_minutes | number | Event duration in minutes when no end time/date is provided. Default 60. | optional |
| delimiter | string | CSV delimiter character. Default ','. Use '\t' for TSV, ';' for European CSV, '|' for pipe-delimited. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| ics | string | Full .ics file as a string. |
| mime_type | string | MIME type of the generated file, typically text/calendar for ICS output. |
| event_count | number | Number of VEVENT entries successfully written to the ICS file. |
| skipped_rows | number | Count of CSV rows skipped due to missing required fields or unparseable dates. |
| errors | array | Array of per-row error messages describing why specific rows failed to convert. |
| calendar_name | string | X-WR-CALNAME value set on the calendar, derived from CSV header or filename. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/csv-to-ics \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the csv-to-ics tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- csvicscalendaricalconvertevents
- methods
- POST
- cluster
- mediakit
- price
- $0.01 USDC per call
ADJACENT — other endpoints in mediakit
| endpoint | description | price |
|---|---|---|
| audio-transcribe | Transcribes audio to text with whisper-large-v3. | $0.01 |
| image-convert | Universal image format converter (PNG, JPG, WEBP, AVIF, GIF, BMP, TIFF, ICO, HEIC, HEIF, PSD, SVG). | $0.01 |
| image-format-convert | Image converter. | $0.01 |
| merge-pdf | Combines 2-50 input PDFs from URLs into one PDF, preserving bookmarks. | $0.01 |
| movie-database | Finds movies or TV shows by title, with optional year and region, and returns release year, poster, overview, and language. | $0.01 |
| movie-database-api | Searches movies and TV shows by title and optional year, returning release date, rating, popularity, overview, poster URLs, TMDB links, a… | $0.01 |
| movie-info | Looks up movie and TV metadata: title, release year, rating, overview, poster, and optional streaming providers. | $0.01 |
| pdf-merge | Merges 2-50 PDFs from URLs into a single PDF, preserving bookmarks. | $0.01 |
SEE ALSO