# Calendar Export (ICS) API

An iCalendar (.ics) file for the year's festivals, one month of daily tithi and nakshatra, one vrat observance for the year, or the twelve sankrantis with their Punya Kaal windows, ready for Google Calendar, Apple Calendar or Outlook.

- Endpoint: `POST https://api.96astroapi.com/v1/festivals-muhurta/calendar-ics`
- Family: [Festivals & muhurta](https://96astroapi.com/apis/festivals-muhurta.md)
- Input: Specific input
- Cost: 1 credit per successful call (sandbox keys are free)
- Status: available
- Delivery: Direct response
- Output languages: en, as, bn, de, es, fr, gu, hi, it, ja, kn, ko, ml, mr, ne, nl, or, pa, pl, pt, ru, si, ta, te, tr, ur
- Web page: https://96astroapi.com/apis/festivals-muhurta/calendar-ics

## Example request

```bash
curl https://api.96astroapi.com/v1/festivals-muhurta/calendar-ics \
  -H "Authorization: Bearer $ASTRO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind":"festivals","year":2026,"timezone":"Asia/Kolkata","latitude":28.6139,"longitude":77.209}'
```

## Response

Every response is `{ "data": …, "meta": { "request_id", "credits_used", "warnings", "language" } }`.
The full request and response schema, with a captured example, is in the OpenAPI document: https://api.96astroapi.com/v1/openapi.json (path `/v1/festivals-muhurta/calendar-ics`).
