JSON for apps, temples, and matrimonial products. Two engines — Sūrya-siddhānta by default, plus Drik (Lahiri) — one key. Field names in English; paid panchanga includes Hindi in display and saṅkalpa.
Base URL https://astro.tantragurukul.org. Send the key on every paid route. Default place is Dehradun if none is given. Python uses the standard library; Java uses java.net.http (11+).
Send the secret in the header X-API-Key. Mint keys at /account/keys. At most five active keys. The key’s engine is independent of the account plan.
Prefix
Engine
drik_
Drik / /v1/vedic/…
mool_ or surya_
Sūrya-siddhānta / /v1/surya/…
tg_
Both engines
A drik_ key does not open Sūrya JSON. A mool_ key does not open /v1/vedic/….
Common parameters
Parameter
Default
Notes
date
today
Civil date YYYY-MM-DD
time / hour
sunrise of the engine
Local HH:MM, or hour as a number. Required for kundali.
place
Dehradun
Resolved by GET /v1/geocode?q=
latlon
30.3165, 78.0322
Also latitude / longitude
tz
5.5
Hours east of UTC
engine
from the path
surya on a Drik path selects the classical engine
year
—
Festival and grahaṇa year routes
Matching uses the same fields twice: boy_date, boy_time, boy_place (or date / time / place for the boy) and girl_date, girl_time, girl_place.
Engines
Sūrya-siddhānta
Classical mean and true graha, Chapter 9 asta/udaya, and that engine’s own sunrise. Default on this host: /v1/surya/…, or send engine=surya. Free Basic has the public slice. Full kundali and matching on this engine need Commercial or Enterprise.
Drik
Lahiri sidereal longitudes and Drik sunrise. Use /v1/panchanga and /v1/vedic/…, or send engine=drik.
The two engines do not return the same clocks or longitudes. Do not mix one engine’s sunrise with the other’s grahas.
Plans, credits, and errors
Plan
Credits / month
Price
JSON access
Free Basic
1,000
₹0
Public slice on both engines
Developer
10,000
₹4,999 / year
Full Drik; Sūrya stays Basic; non-commercial
Pro
50,000
₹14,999 / year
Same as Developer, higher quota
Commercial
250,000
₹36,000 / year
Production, white-label, full Sūrya
Enterprise
Unlimited
from ₹1,20,000 / year
संयोग, संवत्, kundali book / pack, bulk dates, SLA
Extra credits: +10k ₹499 · +50k ₹1,999 · +200k ₹6,999. Production apps need Commercial or Enterprise. See pricing and coverage.
Bad date, place, or parameter. {"success": false, "error": "…"}
401
Missing or invalid key
402
Monthly credits exhausted
403
Plan or engine does not cover this route
No key is needed for /v1/health, /v1/, /v1/vedic, /v1/surya, /v1/geocode, /v1/vedic/janma-patra, /v1/vedic/karya-muhurta (both engines), and the public Sūrya-siddhānta math routes below. Vivāha-milan accepts any valid key. The yantra tool APIs return today’s result without a key; changing the date needs an Enterprise key.
Panchanga
Civil date and a place (or lat/lon/tz). Leave time empty for sunrise of the chosen engine. One call returns the full daily snapshot; the slice routes below repeat one block.
GET /v1/surya/panchanga
Full daily JSON. Sūrya-siddhānta default. Drik: /v1/vedic/panchanga or engine=drik.
Block
Fields
Place and instant
Name, lat/lon/tz; civil date; JD, ahargaṇa, local / ISO clock; sunrise vs calculation instant
GET /v1/surya/panchanga?date=2026-08-22&place=Kushinagar
GET /v1/vedic/panchanga?date=2026-08-22&place=Kushinagar
GET /v1/panchanga?date=2026-08-22&lat=26.7402&lon=83.8881&tz=5.5
Anga and calendar slices
Route
Returns
/v1/vedic/tithi
Current tithi, fraction, end
/v1/vedic/tithi-nirnaya
Tithi decision for the civil day
/v1/vedic/nakshatra
Nakṣatra and pada
/v1/vedic/yoga
Yoga
/v1/vedic/karana
Karaṇa
/v1/vedic/calendar
Lunar and solar months, eras, saṃvatsara
/v1/vedic/rise-set
Sun and Moon rise, set, transit, noon
/v1/vedic/sankranti
Current rāśi, next ingress, ṛtu, ayana
/v1/vedic/sankalpa
Mukhya and Gaṇapati saṅkalpa, kṣetra
/v1/vedic/bhadra
Vishti / Bhadra, agni / śiva vāsa
/v1/vedic/special-yogas
Sarvartha, Amrit siddhi, Ravi yoga, Krakacādi
/v1/vedic/grahan
Grahaṇa for year=
/v1/vedic/purana
Purāṇa day notes
/v1/vedic/dharma-sindhu-badhak
Dharma-sindhu bādhaka on the day
Same paths exist under /v1/surya/… where that engine implements them.
Muhurta
Electional JSON. Daily windows are one call; a named work is another. Wedding-place śuddhi is a third.
GET /v1/vedic/muhurta
Abhijit, Brahma, Godhuli, Rahu, Gulika, Yamaganda, and the 15 day + 15 night muhurtas with prahara.
GET /v1/vedic/muhurta?date=2026-08-22&place=Kushinagar
GET /v1/vedic/hora · /v1/vedic/chaughadiya
Planetary horas for the civil day, and the eight chaughadiya watches.
GET /v1/vedic/hora?date=2026-08-22&place=Kushinagar
GET /v1/vedic/chaughadiya?date=2026-08-22&place=Kushinagar
GET /v1/vedic/karya-muhurta Free · बिना कुंजी
Named work from Muhūrta-cintāmaṇi (mūla) and Dharma-sindhu / Nirṇayasindhu (saṃskāra). Omit karya to receive the catalog. Each day includes a printed-rule citation — not an invented event.
karya
Work
griha_pravesha
Gṛha-praveśa (use kind=nava|jirna|both)
bhumi_pujan
Bhūmi-pūjan
vyavasaya
Trade / shop
yatra
Yātrā (direction=east|south|west|north)
namakarana
Nāmakaraṇa
vahana
Vehicle
vidyarambha
Vidyārambha
puja
Pūjā
shalya
Śalya
days=1…31 for a short span, or span=year for a year scan. vivaha is listed in the catalog; wedding-place calculation is the route below.
GET /v1/vedic/karya-muhurta
GET /v1/vedic/karya-muhurta?karya=griha_pravesha&date=2026-08-22&place=Kushinagar&span=year&kind=nava
GET /v1/surya/karya-muhurta?karya=yatra&date=2026-08-22&place=Kushinagar&direction=east
GET /v1/vedic/vivaha-milan Any key
Wedding-place panchanga, tri-bala, lagna-śuddhi, and latta. Pair matching (Ashtakoot) is under Matching. कोई भी वैध कुंजी चलेगी — किसी विशेष योजना या इंजन की बाध्यता नहीं।
GET /v1/vedic/vivaha-milan?date=2026-11-20&place=Varanasi
GET /v1/surya/vivaha-milan?date=2026-11-20&place=Varanasi
Kundali
Birth date, time, and place. Same Lahiri longitudes as matching on the Drik paths. A route index is at GET /v1/vedic/janma-patra (no key).
White-label natal book. Pass birth data; optional name=. The pack returns HTML, natal JSON, and ready URLs for planets, dashas, and the life reports.
GET /v1/vedic/kundali-book.html?date=1990-05-15&time=14:30&place=Delhi&name=Devadatta
GET /v1/vedic/kundali-book.pdf?date=1990-05-15&time=14:30&place=Delhi&name=Devadatta
GET /v1/vedic/kundali-pack?date=1990-05-15&time=14:30&place=Delhi&name=Devadatta
Matching
Same longitudes as the kundali routes on that engine. No second ephemeris.
GET /v1/vedic/match/ashtakoot
Varna, Vashya, Tara, Yoni, Graha Maitri, Gana, Bhakoot, Nadi — total out of 36, Jyotirnibandha band, raw and effective Nadi. Muhūrta-cintāmaṇi Vivāha verses on each koot. Printed bhaṅga (2/12, 5/9, 6/8, eka-nāḍī, gaṇa) from Jyotirnibandha, Muhūrta-pradīpa, Kālaprakāśikā, Nārada-saṃhitā. Boy and girl Moon rāśi, nakṣatra, gaṇa, nāḍī, yoni.
GET /v1/vedic/match/ashtakoot?boy_date=1990-05-15&boy_time=10:15&boy_place=Delhi&girl_date=1992-11-03&girl_time=16:40&girl_place=Varanasi
GET /v1/vedic/match/manglik
Independent Kuja-doṣa on each chart, plus the printed pair-bhaṅga when both have raw doṣa. Same boy_* / girl_* fields.
GET /v1/vedic/match/manglik?boy_date=1990-05-15&boy_time=10:15&boy_place=Delhi&girl_date=1992-11-03&girl_time=16:40&girl_place=Varanasi
Festivals and grahaṇa
Paid keys. Year-nirṇaya from sunrise tithi. Festival JSON is not a CMS calendar.
GET /v1/vedic/festivals/deepavali?year=2026&place=Kushinagar
GET /v1/vedic/festivals/upakarma?year=2026&place=Kushinagar
GET /v1/vedic/grahan?year=2026&place=Kushinagar
Year-wide festival pack: /v1/parva-mool?year=2026&lat=&lon= (paid). Grahaṇa may also be called as /v1/ss-grahana (public Sūrya math).
Sūrya-siddhānta mathematics
Public reference routes for the classical engine. No NASA reduction. No key.
Route
Returns
/v1/ss-mean
Madhyama graha
/v1/ss-sphuta
Spaṣṭa graha
/v1/ss-surya-chakra
Sūrya-cakra over a day span
/v1/ss-triprashna
Dik, deśa, kāla · chāyā · lagna
/v1/ss-shanku
Śaṅku; suggest=1 for a field suggestion
/v1/ss-bhugola
Bhūgola
/v1/ss-udayasta
Udayāsta
/v1/ss-graha-yuti · /v1/ss-nakshatra-yuti
Yuti
/v1/ss-shringonnati
Śṛṅgonnati
/v1/ss-pata
Pāta
/v1/ss-ganita
Gaṇitādhyāya digest
/v1/ss-ganaka
JD, ahargaṇa, madhyama–spaṣṭa
/v1/ss-grahana
Year grahaṇa
/v1/geocode?q=
Place lookup
GET /v1/ss-sphuta?date=2026-08-22&lat=30.3165&lon=78.0322&tz=5.5
GET /v1/ss-grahana?year=2026&lat=30.3165&lon=78.0322
GET /v1/geocode?q=Ujjain
Enterprise
Unlimited credits, named domains, ticket and phone support, and an SLA. From ₹1,20,000 / year.
उपकरण पृष्ठ (/yatra, /akasha, /surya-chakra, /udaya-yantra, /chandra-yantra, /graha-asta-yantra, /bhugola-yantra, /dina-ratri-yantra, /ritu-ayana-yantra, /tithi-nirnaya-yantra) सर्वत्र खुले हैं। पृष्ठ खुलते ही आज के दिन का फल बिना कुंजी दिखता है (तिथि अनुपस्थित = आज)। तिथि / स्थान / समय बदलने पर गणना के लिए Enterprise कुंजी चाहिए। /karya-muhurta पृष्ठ और उसका API सदा बिना कुंजी खुले हैं; /vivaha-milan के लिए कोई भी वैध कुंजी पर्याप्त है।
Sūrya replies use "engine": "surya_siddhanta" and that engine’s ayanamsa. Panchanga snapshots include limbs, rise/set, and spaṣṭa grahas. Kārya-muhūrta includes catalog, days[], and a printed-rule citation. A route that is not implemented returns "success": false with a short error — not a fabricated phala.
Other dasha systems and Dashakoot are not in this release. /v1/vedic/samvatsara is the panchanga saṃvatsara, not a Medinī year chart. Year-entry for a place is /v1/vedic/varsha-pravesh (Nārada-saṃhitā); Tajika year-phala is /v1/vedic/varshaphal.