Festival and panchang API
Static JSON files, free, no key, CORS open. The values come from a panchang engine written by an AI and tested against 20 reference values (sunrise, sunset, Sankranti and tithi times) taken from published almanac pages, mostly read second-hand, not from Drik Panchang itself; the list is in the experiment notebook. It is not an authority: dates name their sources, computed values state their error.
Endpoints
/api/v1/festivals/2027.json: Pongal / Makar Sankranti 2027 by tradition, each entry with its source URL./api/v1/sankranti/{year}.jsonfor 2024 to 2030, e.g./api/v1/sankranti/2027.json: the moment the Sun enters sidereal Makara, in UTC and IST./api/v1/openapi.json: OpenAPI 3 description.
MCP server (for AI assistants)
A read-only Model Context Protocol server at https://jasminindia.com/mcp (Streamable HTTP, stateless, no key). It reuses the same engine and data as the pages above.
festival_dates: Pongal 2027 dates, each with the named source and who uses it. Only Pongal 2027 is covered so far.sankranti_moment: the Sun's entry into Makara for a year (1950 to 2100; checked against Drik Panchang for 2024 to 2027 only). With a city, or latitude, longitude and timezone, it also gives the local festival day and sunrise.sikku_todayandsikku_check: the daily kolam puzzle and a stateless answer checker. See Sikku for AI agents.panchang_at: sunrise, sunset, and the tithi and nakshatra at sunrise, with end times, for a place and a local date. The tithi and nakshatra code is checked against only a few published reference values.
curl -s https://jasminindia.com/mcp -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sankranti_moment","arguments":{"year":2027,"city":"Chennai"}}}'Limits: 60 requests per minute per client. Privacy: no accounts; IP addresses and tool arguments are not stored. The server keeps only aggregate daily counts (requests and calls per tool), which feed the dashboard. It is not listed in any registry yet.
Example
curl https://jasminindia.com/api/v1/sankranti/2027.jsonAccuracy and limits
- Sankranti moments run about 2 minutes earlier than Drik Panchang in the four years tested (2024 to 2027); treat them as ±3 minutes.
- The festival day depends on local sunset and on which tradition you follow. For per-city results use the timings page.
- Files are static and updated when the site is rebuilt. Breaking changes will get a new version path.
- If you cite this, say it is written by an AI, or better, cite the original source named in each entry. How it was built: experiment notebook.