The API
What divinenakshatra.com computes, as files any program can read: the panchang of 4,546 places, every limb change, sankranti, graha entry and eclipse from 1900 to 2100, the nine grahas every 6 hours, the 27 Nakshatras and Kundli Milan. Computed by the same engine as the app. Free, with no key, and readable from any website.
These are files made when the site is built and served from the edge as they are, so they answer at once, anywhere. What they are not: a service that computes a birth chart for any moment, which needs the computation itself; for that, the app.
The addresses
| File | Address |
|---|---|
| places | /v1/places.json |
| zones | /v1/zones.json |
| nakshatras | /v1/nakshatras.json |
| milan | /v1/milan.json |
| events | /v1/events/{year}.json1900 to 2100 |
| ephemeris | /v1/ephemeris/{year}.json1900 to 2100 |
| panchang | /v1/panchang/{place id}/{year}.json2026, 2027 |
The whole description, for code generators and API tools: /openapi.json (OpenAPI 3.1). Every field and name: /v1/index.json.
Start
const r = await fetch('https://api.divinenakshatra.com/v1/panchang/in/jodhpur-rajasthan/2026.json');
const { fields, days } = await r.json();
const row = days.find((d) => d[0] === '2026-10-20');
const day = Object.fromEntries(fields.map((k, i) => [k, row[i]]));
One day at Jodhpur, as the file holds it:
{
"date": "2026-10-20",
"vara": 3,
"sunrise": "06:39",
"sunset": "18:05",
"tithi": [[9,"12:50"],[10,"38:12"]],
"nakshatra": [[22,"18:02"],[23,"43:48"]],
"yoga": [[9,"24:50"],[10,"48:33"]],
"karana": [[18,"12:50"],[19,"25:36"],[20,"38:12"]],
"chandra_rashi": [[10,"31:00"]],
"surya_rashi": 7,
"sankranti": null,
"masa": [7,0],
"rahu_kalam": ["15:14","16:39"],
"yamaganda": ["09:31","10:56"],
"gulika": ["12:22","13:48"],
"abhijit": ["11:59","12:45",0],
"brahma_muhurta": ["04:59","05:49"]
}
Every number is 1-based as almanacs count: tithi 1-30 (15 Purnima, 30 Amavasya), Nakshatra 1-27, yoga 1-27, karana 1-60 (the half-tithis of the month), rashi 1-12 from Mesha, masa 1-12 from Chaitra (amanta), vara 1-7 from Ravivara. Times are the place's own clock, HH:MM from the row's midnight; past 24 is the next day, as almanacs write "upto 29:12".
places
/v1/places.json
Every place: id, name, region, country, country code, latitude, longitude (degrees, east positive) and IANA zone. The panchang address is /v1/panchang/{id}/{year}.json.
zones
/v1/zones.json
Each zone's offsets: rows [UTC second since 1970, offset in seconds from then on], 1800 to 2100, from the IANA database.
nakshatras
/v1/nakshatras.json
The 27: span, rashis, padas with their navamsha, yogatara (J2000), Vimshottari lord, devata, gana, nadi, varna, yoni, rajju.
milan
/v1/milan.json
Ashtakoota by the Moon: the band in 38 parts (a Nakshatra cut where its rashi or the Vashya of the text changes), every bride's part against every groom's, total and each koota; null where the source table gives no value.
events
/v1/events/{year}.json
In UTC to the second: the instant each tithi, Nakshatra, yoga and karana begins, with its number; the Moon's rashi entries; the sankrantis; the entries of Mangala, Budha, Guru, Shukra, Shani, Rahu and Ketu with 1 where vakri; the masas from new Moon to new Moon; the eclipses with their peak.
Example: /v1/events/2026.json
ephemeris
/v1/ephemeris/{year}.json
The nine grahas every 6 hours from 00:00 UTC on 1 January: lon[step][graha] in degrees, speed[step][graha] in degrees a day (negative is vakri), geocentric.
Example: /v1/ephemeris/2026.json
panchang
/v1/panchang/{place id}/{year}.json
One row a civil date at the place: the Vedic day that begins at that date's sunrise. Times in the place's clock as HH:MM from the row's midnight (an hour past 24 is a later day). tithi, nakshatra, yoga, karana and chandra_rashi are lists of [number, end]: the one running at sunrise, then each that begins before the next sunrise. surya_rashi is the Sun's rashi at sunrise; sankranti is [the rashi entered, the time] when the Sun enters it before the next sunrise, else null. masa is [number, 1 if adhika]. The windows are [start, end]; abhijit has a third value, 1 on Budhavara, when the texts except it. A date with no sunrise (inside a polar circle) has nulls; a day whose Sun does not set (the midnight Sun beginning) has no sunset and no windows, and its limbs at sunrise only.
How the values are found
sunrise: The upper limb of the Sun on the horizon with refraction (34'), as the app's TODAY; found to about a tenth of a second.
limbs: Tithi from the Moon's elongation from the Sun in 12° steps, karana in 6°, Nakshatra from the Moon in 13°20′, yoga from the sum of the longitudes in 13°20′; each change found to a second. The app's tithi ends agree with Swiss Ephemeris within 9 seconds on 60 days from 1950 to 2050.
vara: The weekday of the sunrise at the place, by its own clock.
windows: Rahu kalam, Yamaganda and Gulika are eighths of the daytime from sunrise to sunset, by the vara; Abhijit is the eighth of fifteen parts of the daytime; Brahma muhurta is the fourteenth of fifteen parts of the night before the sunrise.
masa: Amanta: from new Moon to new Moon, named by the sankranti that falls in it (the Calendar Reform Committee's rule, 1955); a month with none is adhika.
eclipses: Lunar eclipses by Danjon's shadow, solar eclipses from the Moon's shadow on the Earth; each checked against NASA's canon for its year in the app's tests.
Sidereal longitudes in the app's frame: the J2000 star frame less Lahiri's constant (IAE 1956), the frame of the sky the app draws. The Sun, the Moon and the planets from the app's astronomy (astronomy-engine, VSOP87 and the Moon's series); Rahu as the mean node.
Free, and all rights reserved
Free for everyone: no fee, no key, no sign-up, no advertising, and nothing asked in return, not money, not donations, not recognition. Offered in service of भगवान् वासुदेव श्रीकृष्ण (Bhagavan Vasudeva Shri Krishna).
Calling these addresses and using what they return in your own work, for yourself or the people you serve, is free.
Free is not copyable: the files, the engine that makes them and this site belong to Divyanshu Singh Chouhan. Without his written permission no one may copy or mirror them in bulk, host or sell them, present them as their own, or use them to train or evaluate a machine-learning system (the licence of divinenakshatra.com).
Copyright (c) 2026 Divyanshu Singh Chouhan. All rights reserved.