Authentication
All API endpoints are secured. To generate your API key, sign in, navigate toAccount > API Keys and click Create API key. Set the token that was generated as the value
of the auth query parameter in requests to API endpoints.
Example: https://api.kaalchakra.dev/v1/panchang?auth=kk-prod-my-token
Time Zones
time_zone query parameter, which is used by the REST API server
to determine the current date for the client application. Time zones defined by
the tz database are
supported. If time_zone is not set the client application’s time zone is
assumed to be "Asia/Kolkata".
Rate Limits
Rate limits are applied to manage capacity and prevent excessive usage.Conventions
Romanization
Sanskrit and Arabic words are romanized using Hunterian transliteration.Timestamps
All timestamps conform to the ISO 8601 format.Localization
Overview
Most objects with aname property also have a localized_name property.
Localized names of holidays and days of observance are coming soon.
localized_name fields is null.
When localization is enabled via the language query parameter, localized_name fields are populated according to
the following rules:
- The primary writing system and alphabet for the language are used.
- If a name exists in the vernacular of the language, the vernacular name is returned. Otherwise, the name in the original language — usually Sanskrit, but possibly another Indian language, English, Arabic or Hebrew — is returned.
List of supported languages
| Language | Abbreviation | Status |
|---|---|---|
| Bengali | bn | Supported |
| Hindi | hi | Supported |
| Marathi | — | Coming soon |
| Tamil | — | Coming soon |
| Telugu | — | Coming soon |
Don’t see the language you’re looking for? Email us and we’ll add it to the roadmap.