Anudinam API Documentation

A free, public, read-only REST API for Tamil Smārta Panchang data - Tithi, Nakshatra, festivals, and the calculation rules behind them. No API key required. Every response carries the same source/calculation-version/calculated-at provenance the canonical Panchang pages show.

MethodEndpointDescription
GET/wp-json/anudinam/v1/townsThe towns the API and canonical Panchang pages support.
GET/wp-json/anudinam/v1/panchang?date=YYYY-MM-DD&place=<town-slug>Tithi, Nakshatra, Yogam, Karanam, and location-dependent timings for one date and town.
GET/wp-json/anudinam/v1/events?from=YYYY-MM-DD&to=YYYY-MM-DDFestivals/events in a date range, capped at 31 days.
GET/wp-json/anudinam/v1/rulesThe list of calculation rules (Rahu Kalam, Kari Naal, muhurta formulas, etc.) the site publishes definitions for.
GET/wp-json/anudinam/v1/rules/<slug>The full definition/formula for one rule from the /rules list above.
GET/panchang/events.icsAn RFC 5545 ICS calendar feed of upcoming events, same 31-day window as /events - subscribe directly in a calendar app rather than polling the REST endpoint.

Example requests

See Understanding Anudinam for the Tamil Smārta tradition and methodology behind these calculations.