Notion ICS Calendar

Convert your Notion database dates into an ICS calendar feed

API Endpoint

GET /api/ics

This endpoint returns an ICS calendar file containing all events from your Notion database.

Required Environment Variables:

  • NOTION_API_KEY - Your Notion integration API key
  • NOTION_DATABASE_ID - The ID of your Notion database

Setup Instructions

  1. Create a Notion integration at notion.so/my-integrations
  2. Copy the API key and add it to your .env.local file
  3. Create a Notion database with a โ€œDateโ€ property (type: Date)
  4. Share the database with your integration
  5. Copy the database ID from the URL and add it to .env.local
  6. Access your calendar at /api/ics