Vargas (divisional charts D1–D60)
Vargas (वर्ग, “divisions”) are divisional charts produced by dividing each sign into N equal parts. Every varga opens up a separate life domain: D9 for marriage, D10 for career, D7 for children. In the Parashari school the canonical set is Shodasha Varga (16 vargas); some traditions add 4 more. AstroWay serves each of the 16 on its own endpoint: /v1/vedic/varga/D9 and so on.
What we calculate
Section titled “What we calculate”Shodasha Varga (BPHS, chapters 6–7):
| Varga | N | Life domain |
|---|---|---|
| D1 - Rashi | 1 | Main natal chart, body, personality |
| D2 - Hora | 2 | Wealth, cash flow |
| D3 - Drekkana | 3 | Siblings, courage, cooperation |
| D4 - Chaturthamsha | 4 | Property, real estate, fortune |
| D7 - Saptamsha | 7 | Children, progeny |
| D9 - Navamsha | 9 | Marriage, dharma, fruits of karma (second after D1 in importance) |
| D10 - Dashamsha | 10 | Career, status, profession |
| D12 - Dvadashamsha | 12 | Parents, hereditary patterns |
| D16 - Shodashamsha | 16 | Vehicles, comforts, accidents |
| D20 - Vimshamsha | 20 | Spiritual practice, upasana |
| D24 - Chaturvimshamsha | 24 | Education, learning, academic merit |
| D27 - Saptavimsha (Bhamsha) | 27 | Strengths/weaknesses, endurance |
| D30 - Trimshamsha | 30 | Misfortunes, specific troubles |
| D40 - Khavedamsha | 40 | Maternal hereditary influences |
| D45 - Akshavedamsha | 45 | Paternal hereditary influences + overall destiny |
| D60 - Shashtyamsha | 60 | Finest influences, past lives (D60 = highest resolution) |
Each varga is a full chart object: the varga’s lagna plus the planets in its signs. The request body is the same everywhere; only the path differs.
Endpoints
Section titled “Endpoints”| Endpoint | Credits | Returns |
|---|---|---|
/v1/vedic/varga/{level} | 20 | One varga: level is one of D1, D2, D3, D4, D7, D9, D10, D12, D16, D20, D24, D27, D30, D40, D45, D60 |
There is no combined call: D1, D9 and D10 are three separate requests.
Ashtakavarga is not part of Shodasha Varga and lives on its own path, /v1/ashtakavarga.
Example
Section titled “Example”curl -X POST https://api.astroway.info/v1/vedic/varga/D9 \ -H "X-Api-Key: aw_live_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "date": "1990-07-14", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "ayanamsa": "lahiri" }'const r = await fetch('https://api.astroway.info/v1/vedic/varga/D9', { method: 'POST', headers: { 'X-Api-Key': process.env.ASTROWAY_API_KEY!, 'Content-Type': 'application/json', }, body: JSON.stringify({ date: '1990-07-14', time: '14:30:00', timezoneOffset: 3, latitude: 50.45, longitude: 30.52, ayanamsa: 'lahiri', }),});const { data } = await r.json();const venus = data.planets.find(p => p.name === 'Venus');console.log(`D9 Lagna: sign ${data.lagna.sign}`);console.log(`D9 Venus: sign ${venus.sign} (${venus.degreeInSign.toFixed(2)}°)`);import os, requests
r = requests.post( 'https://api.astroway.info/v1/vedic/varga/D9', headers={'X-Api-Key': os.environ['ASTROWAY_API_KEY']}, json={ 'date': '1990-07-14', 'time': '14:30:00', 'timezoneOffset': 3, 'latitude': 50.45, 'longitude': 30.52, 'ayanamsa': 'lahiri', },)data = r.json()['data']print(f"{data['varga']:5s} Lagna: sign {data['lagna']['sign']}")for p in data['planets'][:3]: print(f" {p['name']:8s} sign {p['sign']} {p['degreeInSign']:.2f}°")Sample response (planets abridged)
Section titled “Sample response (planets abridged)”Captured from production for the body above. sign is a zero-based sign index (0 = Aries), and planets holds 13 entries; three are shown.
{ "ok": true, "data": { "varga": "D9", "name": { "en": "Navamsha", "uk": "Навамша", "ru": "Навамша", "sanskrit": "Навамша" }, "ayanamsa": 23.72484410850302, "lagna": { "longitude": 255.31242024504013, "sign": 8, "degreeInSign": 15.31242024504013 }, "planets": [ { "id": 0, "name": "Sun", "longitude": 72.39334499318895, "sign": 2, "degreeInSign": 12.393344993188947, "isRetrograde": false }, { "id": 1, "name": "Moon", "longitude": 227.99365699301796, "sign": 7, "degreeInSign": 17.993656993017964, "isRetrograde": false }, { "id": 3, "name": "Venus", "longitude": 175.12888852287682, "sign": 5, "degreeInSign": 25.12888852287682, "isRetrograde": false } ], "julianDay": 2448086.9791666665 }}Accuracy & sources
Section titled “Accuracy & sources”- Canonical text: Brihat Parashara Hora Shastra (BPHS), chapters 6 “Graha-bheda-adhyaya” and 7 “Varga-vivekadhyaya”. The sign→varga mapping logic is given separately for each of the 16 (D2 has two variants - Parashari and Kashinatha; we use Parashari).
- Reference implementation: PyJHora
varga.py- our results match 1:1 across all 16 vargas at the same ayanamsa. - Status: GREEN for all 16 vargas. Verified across 16 snapshot tests, each pinning Lagna + 9 planets in the relevant varga.
- Ayanamsa: Lahiri default; all 9 system options supported. Switching ayanamsa can shift a varga’s Lagna between adjacent signs - this is expected in jyotish.
- D2 Hora variants: we ship Parashari (Sun-hora occupies the first 15° of odd signs and last 15° of even signs, Moon-hora the inverse). If you need the Kashinatha variant - let us know, we’ll add it as an option.
Related
Section titled “Related”- Dashas: vargas are critical when judging the strength of a dasha lord (D-chart of the dasha lord)
- Panchang: vargas depend on accurate sidereal time and ayanamsa
- Shadbala: Saptavargaja Bala is built from 7 vargas (D1, D2, D3, D7, D9, D12, D30)
- Accuracy: snapshot tests vs PyJHora for all 16 vargas
- Credits: full pricing table
- Authentication: how to obtain an
aw_live_*key