Skip to content
96Astro API

Indian National Calendar (Saka)

POSTAvailable

POSThttps://api.96astroapi.com/v1/panchang/national-lunisolar

The Indian National Calendar for a date or year: the civil Saka date and the religious lunisolar reckoning (amanta month, paksha and tithi) recommended by the Calendar Reform Committee.

Credits
1 credit
Input
Specific input
Output
JSON
Delivery
Direct response
Languages
25 languages; translated term names with labels
Headers
HeaderValue and description
AuthorizationRequiredBearer YOUR_API_KEY

Your sandbox (sk_test_...) or live (sk_live_...) key. X-API-Key: <key> is accepted instead.

Content-TypeRequiredapplication/json

The body is JSON.

Idempotency-KeyOptional<unique string>

Makes retries safe: a repeated key with the same body replays the stored response and is never charged twice. (1 to 200 characters)

Body · application/json
FieldDescription
yearinteger | nullOptional

Gregorian year (the year's table).

Default: null

Limits: minimum 1900, maximum 2100

datestring | nullOptional

A date to convert (YYYY-MM-DD).

Default: null

Limits: format date

Example: 2026-11-29

labelsstringOptional

Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language.

Allowed values: asbndeesfrguhiitjaknkomlmrnenlorpaplptrusitatetrur

Response · fields in data

Inferred from the example response: a guide to the shape, not a contract.

  • calendar · string
  • month_rule · string
  • ayanamsha · object
  • reference_place · object
  • status · string
  • day · object

Try in Playground →Capability overview

Example request

Example response

200application/json
{
  "data": {
    "calendar": "Indian National Calendar - religious (lunisolar) reckoning, Calendar Reform Committee 1955",
    "month_rule": "amanta months named by the sidereal sign the Sun enters in the month; a month with no sankranti is adhika; the Saka year turns at Chaitra Shukla Pratipada",
    "ayanamsha": {
      "used": "Lahiri (Chitrapaksha)",
      "value_at_1956_03_21": 23.2456,
      "dms_at_1956_03_21": "23 deg 14.7 min",
      "crc_reference": "23 deg 15 min on 1956-03-21 (Calendar Reform Committee zero point)",
      "agrees_with_crc": true,
      "verification": "Report body not retrievable here (only its table of contents); the CRC zero point is taken from its well-documented adoption of Lahiri's value. Lahiri is used because it matches that figure numerically (see value_at_1956_03_21)."
    },
    "reference_place": {
      "lat": 23,
      "lon": 82.5,
      "tz": 5.5,
      "note": "IST meridian (82.5 E) assumed as the reference place for sunrise tithi; the report's exact choice was not verified"
    },
    "status": "computed",
    "day": {
  …

Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items.

Error responses

  • 400invalid_request
  • 401invalid_key, expired_key
  • 402payment_required
  • 403account_suspended, plan_upgrade_required, plan_family_not_included, key_scope_denied, ip_not_allowed, origin_not_allowed, publishable_key_not_allowed
  • 404not_found
  • 409idempotency_conflict
  • 413payload_too_large
  • 422invalid_request, unsupported_language
  • 429rate_limited, quota_exhausted, spend_cap_reached, project_budget_exceeded
  • 500computation_failed
  • 502unavailable
  • 503unavailable, maintenance, temporarily_unavailable
  • 504deadline_exceeded

Errors are never charged. What each status means and what to do: errors.

Was this page helpful?

Send us feedback

What is it about?