API Reference / Vedic Astrology / Transit & Gochara
/v1/transit/tarabala
Tarabala score for a transit.
What this tells you
Tarabala ("star strength") compares the nakshatra of the transiting Moon with the natal Janma Nakshatra. Counting from the birth nakshatra to the transit nakshatra and taking the remainder by 9 gives one of nine taras, each favourable or unfavourable. Used for day-to-day muhurta: "is the Moon's nakshatra at this moment good for me?"
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.lifeastroapi.com/v1/transit/tarabala?birth.date=1990-01-15&birth.tz=Asia%2FKolkata&date=2027-01-15&tz=Asia%2FKolkata&time=06%3A00&birth.time=10%3A30" \
-H "Authorization: Bearer YOUR_API_KEY"Query parameters
Checked against the API: a parameter is marked required when the request fails without it.
| Name | Required | Example | Description |
|---|---|---|---|
birth.date | yes | 1990-01-15 | Birth date (YYYY-MM-DD). |
birth.tz | yes | Asia/Kolkata | Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30). |
date | yes | 2027-01-15 | Date of the moment to check, e.g. the transit date (YYYY-MM-DD). |
tz | yes | Asia/Kolkata | Timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30). |
time | no | 06:00 | Local time of the moment to check (HH:MM, 24-hour). Defaults to 12:00. |
birth.time | no | 10:30 | Birth time (HH:MM, 24-hour, local). Defaults to 12:00. |
ayanamsa | no | — | Ayanamsa (sidereal offset) to use. Defaults to lahiri. |
Response (200 OK)
The real response to the example request above, generated from the API itself. Long arrays are trimmed to their first two items. Field names are stable across versions.
{
"at_jd": 2461420.520833,
"tarabala": {
"score": 0.14,
"name": "Mitra",
"transit_nakshatra": "Revati",
"birth_nakshatra": "Purva Phalguni",
"position": 16,
"cycle_position": 7
}
}Field reference
Every field in the response, with its type, a real example, and what it means.
| Field | Type | Meaning |
|---|---|---|
| at_jd | number | Julian Day (UT) of the transit moment (date, time, tz). example: 2461420.520833 |
| tarabala.score | number | Weight of the current tara. Positive is favourable, negative is unfavourable. Janma −0.10, Sampat +0.15, Vipat −0.15, Kshema +0.12, Pratyak −0.08, Sadhana +0.10, Naidhana −0.18, Mitra +0.14, Ati-Mitra +0.18. example: 0.14 |
| tarabala.name | string | Tara name, one of: Janma, Sampat, Vipat, Kshema, Pratyak, Sadhana, Naidhana, Mitra, Ati-Mitra. example: "Mitra"Jyotish: Sampat, Kshema, Sadhana, Mitra and Ati-Mitra are favourable. Janma, Vipat, Pratyak and Naidhana are unfavourable; Naidhana (7th) is the worst. |
| tarabala.transit_nakshatra | string | Nakshatra of the transiting Moon at the transit moment. Always English. example: "Revati" |
| tarabala.birth_nakshatra | string | Janma Nakshatra: the natal Moon's nakshatra. Always English. example: "Purva Phalguni" |
| tarabala.position | integer (0–26) | Steps from the birth nakshatra to the transit nakshatra, counted forward, 0-based (0 = same nakshatra). The classical inclusive count is position + 1. example: 16 |
| tarabala.cycle_position | integer (0–8) | position mod 9. 0 = Janma, 1 = Sampat … 8 = Ati-Mitra. This value picks `name` and `score`. example: 7 |
Usage tips
How to use it
- Daily widgetCall once per day per user for the time you care about (for example sunrise or the planned event time). The Moon changes nakshatra about once a day. Show a soft caution when `score` is negative.
- InputsThe natal Moon comes from birth.date, birth.time and birth.tz. The transit moment comes from date, time and tz. Both time values default to 12:00 when omitted. Location is not used; both Moons are geocentric.
Errors
Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.
401 Unauthorized
{
"error": {
"code": "unauthorized",
"message": "missing or invalid API key",
"request_id": "req_01hqy7k8c3e7m1n"
}
}402 Payment Required
{
"error": {
"code": "trial_exhausted",
"message": "your free trial credits are exhausted — pick a plan to continue",
"top_up_url": "https://lifeastroapi.com/pricing",
"request_id": "req_01hqy7k8c3e7m1n"
}
}429 Too Many Requests
{
"error": {
"code": "rate_limited",
"message": "rate limit exceeded; retry after 12 seconds",
"request_id": "req_01hqy7k8c3e7m1n"
}
}Try it
Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 1,500 free credits. Sign up.