Count from the Janma nakshatra, in nines
POST /v1/strength/tara-bala (Hobby plan) takes the birth body and finds the natal Moon's nakshatra - the Janma nakshatra. For every one of the 27 nakshatras it counts forward from the Janma nakshatra, counting the Janma nakshatra itself as 1, and reduces the count to a tara from 1 to 9: ((count - 1) mod 9) + 1. The 28th nakshatra, Abhijit, is not used.
| Tara | Name | bala | Counts (1st, 2nd, 3rd round) |
|---|---|---|---|
| 1 | Janma | Neutral | 1, 10, 19 |
| 2 | Sampat | Good | 2, 11, 20 |
| 3 | Vipat | Bad | 3, 12, 21 |
| 4 | Kshema | Good | 4, 13, 22 |
| 5 | Pratyari | Bad | 5, 14, 23 |
| 6 | Sadhaka | Good | 6, 15, 24 |
| 7 | Vadha | Bad | 7, 16, 25 |
| 8 | Mitra | Good | 8, 17, 26 |
| 9 | Param Mitra | Good | 9, 18, 27 |
Where traditions differ, and what the engine picks
- Janma tara is
Neutral. Sources disagree - some treat the birth star as unfavourable for starting things, others as acceptable - so the engine does not mark it either way. Apply your own rule if your users expect one. - All three rounds are equal. The 3rd, 5th and 7th taras are
Badwhether they fall in the first nine nakshatras or the third. Some texts soften the second and third rounds; the engine does not. - Counting is forward only. This is not the Tara koota of marriage matching, which counts between two birth stars in both directions - see Ashtakoot scoring.
- The birth star comes from the Moon, in Lahiri sidereal longitude. A natal Moon near a nakshatra boundary shifts the whole table by one; the sample's Moon is less than 1% into Uttara Ashadha.
One table per person
The endpoint has no date input. It returns natal_nakshatra and all 27 rows of bala_by_nakshatra, each { nakshatra, tara_index, tara_name, bala }, and the table never changes for a birth - fetch it once and store it with the profile. For the sample birth the Janma nakshatra is Uttara Ashadha, so Shravana is Sampat, Dhanishta is Vipat, and the count wraps round through Ashwini (Mitra) to Purva Ashadha (Param Mitra, the 27th).
The interpretation block summarises the table: for the sample birth, "Tara Bala from Uttara Ashadha: 15 of 27 nakshatras favourable (Sampat, Kshema, Sadhaka, Mitra, Param Mitra), 9 unfavourable (Vipat, Pratyari, Vadha), the rest Janma.", with one highlight per unfavourable tara listing its three nakshatras. /v1/strength/chandra-bala summarises its twelve signs the same way. For anything date-specific, read the rows.
Using it for muhurta
For a candidate day, look up the Moon's nakshatra in the person's table. POST /v1/panchang (Free plan) gives the nakshatra at sunrise (see sunrise conventions), so a four-day search for the sample person in Mumbai is one Tara Bala call and four panchang calls:
tara.mjs - the sample person's tara for four days
// tara.mjs - node tara.mjs (Node 18+, no dependencies)
const API = process.env.ASTRONODE_API_URL ?? "https://api.astronode.dev";
const KEY = process.env.ASTRONODE_API_KEY; // server-side only
const post = async (path, body) => {
const res = await fetch(`${API}${path}`, {
method: "POST",
headers: { authorization: `Bearer ${KEY}`, "content-type": "application/json" },
body: JSON.stringify(body),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
return (await res.json()).data;
};
const birth = { date: "1973-04-24", time: "17:25:00", tz_offset_minutes: 330, lat: 19.076, lng: 72.8777 };
const place = { tz_offset_minutes: 330, lat: 19.076, lng: 72.8777 };
// One call per person: the table never changes, so store it with the profile.
const { natal_nakshatra, bala_by_nakshatra } = await post("/v1/strength/tara-bala", birth);
const taraOf = new Map(bala_by_nakshatra.map((r) => [r.nakshatra, r]));
console.log(`Janma nakshatra: ${natal_nakshatra}`);
// One panchang call per day: the Moon's nakshatra at sunrise.
for (const date of ["2026-12-05", "2026-12-06", "2026-12-07", "2026-12-08"]) {
const { nakshatra } = await post("/v1/panchang", { date, ...place });
const t = taraOf.get(nakshatra.name);
console.log(`${date} ${nakshatra.name.padEnd(9)} ${t.tara_index} ${t.tara_name.padEnd(9)} ${t.bala}`);
}Output against the API:
Janma nakshatra: Uttara Ashadha 2026-12-05 Chitra 3 Vipat Bad 2026-12-06 Swati 4 Kshema Good 2026-12-07 Vishakha 5 Pratyari Bad 2026-12-08 Anuradha 6 Sadhaka Good
The nakshatra changes during the day
The Moon spends about a day in each nakshatra, so most days hold two. Panchang reports the sunrise nakshatra with no end time. On 5 December 2026 it says Chitra - Vipat, bad, for this person - but the Moon enters Swati at about 11:50 IST: POST /v1/charts/birth for that date and place puts the Moon at Libra 6.6658°, Chitra pada 4, at 11:49, and at 6.6745°, Swati pada 1, at 11:50. Swati is Kshema, good. A morning muhurta that day fails Tara Bala; an afternoon one passes.
- To rate a specific window, cast a chart for its start time and read the Moon's
nakshatra, rather than reusing the sunrise value. - Tara Bala is one filter, not a muhurta by itself. It is usually combined with Chandra Bala - the transit Moon's sign counted from the natal Moon sign, from
/v1/strength/chandra-bala- and with the day's windows from the muhurta endpoints.
Questions
- Which taras does the API treat as auspicious?
- Sampat, Kshema, Sadhaka, Mitra and Param Mitra (taras 2, 4, 6, 8 and 9) are marked Good; Vipat, Pratyari and Vadha (3, 5 and 7) are Bad; Janma (1) is Neutral. The same applies in all three rounds of nine.
- Does the Tara Bala endpoint take a date?
- No. It returns all 27 nakshatras rated for one birth, which never changes. For a given day you look up the Moon's nakshatra - from the panchang, or from a chart cast for the exact time - in that table.