Jyotish API

Jyotish is the Sanskrit name for what English calls Vedic astrology. This page is for developers who search with the classical vocabulary: it maps the terms of Jyotish to the fields and endpoints of the Asterwise API, and shows what they look like in a real response.

Short answer: yes, there is a Jyotish API. Asterwise's fifty sidereal endpoints return the kundli with grahas, rasis, nakshatras, bhavas and drishti; the sixteen vargas; Vimshottari, Ashtottari, Yogini and Char dasha; yogas and doshas; panchanga and muhurta; and kundali milan, all as JSON with Lahiri ayanamsa by default. The full endpoint list is on the Vedic astrology API page; this page is the glossary.

Jyotish terms and where they appear in the API

Jyotish termMeaningIn the API
Grahathe nine grahas, Sun to Ketuplanets[].planet on POST /v1/astro/natal
Rasisign, by Sanskrit name (Mesha, Vrishabha, Mithuna, Karka, Simha, Kanya, Tula, Vrischika, Dhanu, Makara, Kumbha, Meena)planets[].sign, ascendant_sign, moon_sign
Nakshatra and padathe 27 lunar mansions and their quartersplanets[].nakshatra, planets[].nakshatra_pada; encyclopaedia at GET /v1/astro/nakshatra/{name}
Lagnathe ascendantascendant (longitude), ascendant_sign
Bhavahouses, in both conventionsplanets[].rasi_house, planets[].bhava_chalit_house, bhava_madhya[], bhava_sandhi[]
Drishtiplanetary and sign aspectsgraha_drishti (strength per house, 25 to 100), rashi_drishti[]
Arudha padas, upapadaJaimini arudhas A1 to A12 and the upapada lagnaarudha_padas, upapada_lagna
Avakahada chakranakshatra lord, varna, vashya, yoni, gana, nadi, payaavakahada
Vargathe sixteen divisional chartsPOST /v1/astro/divisional (chart_type D1 to D60, or all sixteen)
Dashaplanetary periodsPOST /v1/astro/dasha (Vimshottari, five levels), /ashtottari, /yogini, /char-dasha
GochartransitsPOST /v1/astro/gochar, POST /v1/astro/transits
Yoga, doshaplanetary combinations and afflictionsPOST /v1/astro/yoga (with classical_sources), POST /v1/astro/dosha
Shadbala, Ashtakavargaplanetary and house strengthPOST /v1/astro/strength, POST /v1/astro/ashtakavarga
Panchanga, muhurtathe five limbs of the day; auspicious timingPOST /v1/astro/panchanga, POST /v1/astro/muhurta
Kundali milanmatchmakingPOST /v1/astro/matchmaking (Ashtakoot, Rajju and Vedha as vetoes), Dashakoot, Porutham
Ayanamsathe sidereal offsetrequest field ayanamsa; response ayanamsa_used, ayanamsa_value

What the classical fields look like

From the natal response for the reference chart (12 November 1985, 06:45, Mumbai), the avakahada block, the upapada lagna and the arudha padas, abbreviated:

{
  "avakahada": {
    "nakshatra": "Swati", "nakshatra_lord": "Rahu", "charan": 4,
    "rashi": "Tula", "rashi_lord": "Venus",
    "varna": "Shudra", "vashya": "Nara", "yoni": "Buffalo", "gana": "Deva", "nadi": "Antya", "paya": "Silver",
    "ascendant": "Tula", "ascendant_lord": "Venus"
  },
  "upapada_lagna": { "sign_name": "Makara", "upapada_lord": "Saturn", "second_from_upapada_sign_name": "Kumbha" },
  "arudha_padas": { "A1": { "sign_name": "Karka" }, "A2": { "sign_name": "Karka" }, "...": "A3 to A12" }
}

The full response, with all nine grahas, both house numbers per graha, bhava madhya and sandhi degrees, drishti tables and interpretation text, is shown on the Vedic astrology API page and specified in the natal chart reference.

What stays classical, what is modern

The calculations follow the classical rules: whole-sign rasi houses beside bhava chalit, Vimshottari from the Moon's nakshatra to five levels, Rajju and Vedha applied as vetoes before the Guna count, yogas returned with the text they are drawn from (Brihat Parashara Hora Shastra, Phaladeepika or Brihat Jataka). The astronomy underneath is modern: the Swiss Ephemeris, checked against NASA JPL Horizons on the accuracy page. Sign names are returned in Sanskrit; planets are keyed by their English names with Rahu and Ketu included, so planets[].planet reads "Sun", not "Surya".

Questions developers ask

Is there a Jyotish API?
Yes. Asterwise's Vedic astrology endpoints are a Jyotish API: fifty sidereal endpoints for the kundli, sixteen vargas, Vimshottari and three other dasha systems, yogas and doshas, panchanga and muhurta, kundli milan, KP and Lal Kitab, all returned as JSON. See the Vedic astrology API page.
Which ayanamsa and which zodiac?
Sidereal, with Lahiri ayanamsa by default; Raman and KP are available per request, and tropical for a zero offset. Every chart response states the ayanamsa used and its value in degrees.
Are the classical names kept in the JSON?
Largely, yes. Signs are returned by their Sanskrit names (Mesha, Vrishabha, Mithuna and so on), houses as rasi_house and bhava_chalit_house, aspects as graha_drishti and rashi_drishti, and the arudha padas and upapada lagna under those names. Planets are keyed by their English names (Sun, Moon, Mars) with Rahu and Ketu included.
Is there a free tier?
Yes. The Sandbox plan is free, includes 500 calls a month and every endpoint, needs no credit card and does not expire. See pricing.

Start with 500 free calls a month, no card, no expiry. Every plan includes all 118 endpoints. See pricing or create a key.