Skip to content
POST/api/astro/kaala-bala-components/1 credit

Kaala bala components

The nine sub-balas that Kaala Bala — strength from time — is the sum of. /api/astro/shadbala/ publishes the total. This publishes what it is made of, which is what you need to say WHY a planet is temporally strong: the lunar fortnight, the planetary hour, the weekday, the month, the year, the third of day or night, declination, and any planetary war it is losing. The weekday, month and year lords come with them, because a score of 15 for Mercury in abda bala means nothing until you know who holds the year.

https://yogataraapi.prahlad.app/api/astro/kaala-bala-components/
Test Request

Authentication

Send your key in the X-API-Key header. Keys are server-side credentials — never put one in browser JavaScript or a mobile app.

X-API-Key: yt_live_a1b2c3d4_…
Content-Type: application/json

Request fields

FieldTypeRequiredNotes
date_timestring (date-time)required

The moment to calculate for, ISO 8601. ALWAYS include an offset or a trailing Z - a value with no zone is read as Asia/Kolkata (UTC+05:30), not UTC, and can return the previous day's result with a 200. '2026-09-01T06:00:00Z' and '2026-09-01 06:00:00' are different instants and give different answers.

latitudenumber (double)required

Latitude of the place, in decimal degrees. Positive is north, negative is south. Example: 26.9124 for Jaipur, 40.7128 for New York. Minutes and seconds are not accepted - convert first.

min -90 · max 90

longitudenumber (double)required

Longitude of the place, in decimal degrees. Positive is east, negative is west. Example: 75.7873 for Jaipur, -74.0060 for New York. Note the sign: a missing minus puts New York in China.

min -180 · max 180

asc_houseintegeroptional

Ascendant house number. Defaults to 1.

min 1 · max 12

keysarrayoptional

Which calculations to return, as a list of names. See the key table for this endpoint; an unrecognised name rejects the whole request. One call costs one credit however many keys you ask for, so request everything you need at once rather than making several calls.

timezonenumber (double)optional

UTC offset of the place, in hours, as a decimal. Example: 5.5 for India (UTC+05:30). Identical in meaning to timezone_as_float, which other endpoints call the same thing by a different name.

min -12 · max 14

timezone_as_floatnumber (double)optional

UTC offset of the place, in hours, as a decimal. Example: 5.5 for India (UTC+05:30), -5 for New York in winter, 5.75 for Nepal. This is NOT validated against date_time - if the two disagree you get a successful response for the wrong moment, so derive both from the same source. Use the offset in force on that date, not today's: a summer birth in a country with daylight saving needs the summer offset.

min -12 · max 14

Example request

curl -X POST https://yogataraapi.prahlad.app/api/astro/kaala-bala-components/ \
  -H "X-API-Key: $OCCULT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date_time":"1990-05-10T19:55:00+05:30","latitude":26.9124,"longitude":75.7873,"timezone":5.5,"asc_house":1}'

Response

{
  "data": {
    "components": [
      {
        "bala": "nathonnath_bala",
        "measures": "Day or night strength",
        "by_planet": {
          "Sun": 70,
          "Moon": -10,
          "Mars": -10,
          "Mercury": 60,
          "Jupiter": 70,
          "Venus": 70,
          "Saturn": -10
        }
      },
      {
        "bala": "paksha_bala",
        "measures": "Lunar fortnight strength",
        "by_planet": {
          "Sun": -2.86,
          "Moon": 125.72,
          "Mars": -2.86,
          "Mercury": 62.86,
          "Jupiter": 62.86,
          "Venus": 62.86,
          "Saturn": -2.86
        }
      },
      {
        "bala": "tribhaga_bala",
        "measures": "Strength by third of day or night",
        "by_planet": {
          "Sun": 60,
          "Moon": 0,
          "Mars": 0,
          "Mercury": 0,
          "Jupiter": 60,
          "Venus": 0,
          "Saturn": 0
        }
      },
      {
        "bala": "ayana_bala",
        "measures": "Declination strength",
        "by_planet": {
          "Sun": 104.12,
          "Moon": 0.52,
          "Mars": 46.65,
          "Mercury": 31.73,
          "Jupiter": 21.97,
          "Venus": 59.12,
          "Saturn": 6.15
        }
      },
      {
        "bala": "hora_bala",
        "measures": "Strength in the planetary hour",
        "by_planet": {
          "Sun": 0,
          "Moon": 60,
          "Mars": 0,
          "Mercury": 0,
          "Jupiter": 0,
          "Venus": 0,
          "Saturn": 0
        }
      },
      {
        "bala": "vaara_bala",
        "measures": "Strength on the weekday",
        "by_planet": {
          "Sun": 0,
          "Moon": 0,
          "Mars": 0,
          "Mercury": 45,
          "Jupiter": 0,
          "Venus": 0,
          "Saturn": 0
        }
      },
      {
        "bala": "masa_bala",
        "measures": "Strength in the month",
        "by_planet": {
          "Sun": 0,
          "Moon": 0,
          "Mars": 0,
          "Mercury": 30,
          "Jupiter": 0,
          "Venus": 0,
          "Saturn": 0
        }
      },
      {
        "bala": "abda_bala",
        "measures": "Strength in the year",
        "by_planet": {
          "Sun": 0,
          "Moon": 0,
          "Mars": 0,
          "Mercury": 15,
          "Jupiter": 0,
          "Venus": 0,
          "Saturn": 0
        }
      },
      {
        "bala": "yuddha_bala",
        "measures": "Planetary war adjustment",
        "by_planet": {
          "Sun": 0,
          "Moon": 0,
          "Mars": 0,
          "Mercury": 0,
          "Jupiter": 0,
          "Venus": 0,
          "Saturn": 0
        }
      }
    ],
    "lords": [
      {
        "lord_of": "Lord of the weekday",
        "key": "vaaradhipathi",
        "planet": "Jupiter",
        "value": 45
      },
      {
        "lord_of": "Lord of the month",
        "key": "masadhipathi",
        "planet": "Mars",
        "value": 30
      },
      {
        "lord_of": "Lord of the year",
        "key": "abdadhipathi",
        "planet": "Moon",
        "value": 15
      }
    ]
  },
  "status": 200,
  "is_error": false,
  "message": "successful"
}

Captured from a real call using the exact request above. Results sit under data.

Errors

Metering errors return { "error": "…", "message": "<code>", "is_error": true }. Show error to people and branch on message. See the error reference.