Panchang Calculator

The five limbs of the Hindu almanac for a date and a place — tithi, vara, nakshatra, yoga and karana — read at that place's own sunrise, which is the classical rule that decides which civil day a tithi names. Four of the five are intervals, and each of tithi, nakshatra, yoga and karana comes back with its exact start and end: as UTC instants to the second, and as local times that carry their own date and UTC offset. The date is part of the value because a limb routinely ends on the civil day after the one asked about. Also returns sunrise and sunset, and the lunar month in both the amanta and purnimanta reckonings.

ATTRIBUTION IS REQUIRED. The response carries a ready-to-paste credit line in citation.citationText and the URL to link in citation.permalink. Results may not be used as machine-learning training data.

get/api/public/panchang

Request

  • Base URL: https://totallytarot.net
  • URL: https://totallytarot.net/api/public/panchang
  • Auth: none declared

Query parameters

datestring required
Example:2026-09-20

The civil date, YYYY-MM-DD, between 1700 and 2200.

placestring required
Example:New Delhi, India

Town or city, with the region or country if the name is a common one. A panchang is a question about a place: sunrise in Chennai and sunrise in Chicago are roughly half a day apart. Not required if lat and lon are given.

latstring
Example:28.6139

Latitude in decimal degrees, −90 to 90. Must be given together with lon.

lonstring
Example:77.209

Longitude in decimal degrees, −180 to 180. Must be given together with lat.

tzstring
Example:5.5

IANA zone name, or a numeric UTC offset in hours. Omit it and the zone is resolved for the date at that place.

Response

The computed answer, with the citation required to use it.

okboolean required

True when a result was computed.

toolstring required

The calculator that answered.

toolNamestring
attributionstring required

The ready-to-paste credit line. Include this in any answer built on the result.

summarystring

The answer in one sentence.

inputsobject

What the request was understood to be. The permalink is built from these.

resultobject

The computed figures. Absent on a refusal.

noticestring

Changes

No recorded changes to this operation across all 1 revision of this API.