POST
Shad Bala Break-up
The shadbala/break-up API gives Sthana Bala, Dig Bala, Kaala Bala, Chesta Bala, Drik Bala and Naisargika Bala strength of each Planet Shadbala in Vedic astrology refers to the sixfold measure of planetary strength in a birth chart. It evaluates how much power or influence each planet contributes to an individual's life
/shadbala/break-up
Method
POST
Format
JSON
Auth
API Key
Credits
1
Overview
The shadbala/break-up API gives Sthana Bala, Dig Bala, Kaala Bala, Chesta Bala, Drik Bala and Naisargika Bala strength of each Planet Shadbala in Vedic astrology refers to the sixfold measure of planetary strength in a birth chart. It evaluates how much power or influence each planet contributes to an individual's life. The six components of Shadbala are: Sthanabala (Positional strength) Digbala (Directional strength) Kalabala (Temporal strength) Cheshtabala (Motional strength) Naisargikabala (Natural strength) Drikbala (Aspectual strength) Each planet is assigned a specific amount of strength, measured in units called Rupas, based on its placement and relationships in the chart. This comprehensive assessment helps determine the relative power and effectiveness of planets, offering deeper insight into a person's horoscope and aiding in accurate predictions regarding key areas of life.Request Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
year
|
integer | Yes | Year number, eg: 2023 | 2023 |
month
|
integer | Yes | Month number,with no leading zero | 7 |
date
|
integer | Yes | Day number,with no leading zero | 5 |
hours
|
integer | Yes | Hours number,with no leading zero | 1 |
minutes
|
integer | Yes | Minutes number,with no leading zero | 1 |
seconds
|
integer | Yes | Seconds number, with no leading zero | 0 |
latitude
|
float | Yes | Latitude number, in the range from -90 to 90 | 12.86 |
longitude
|
float | Yes | Longitude number, in the range from -180 to 180 | 123.5 |
timezone
|
float | Yes | Timezone of birth location, eg: 5.5 | 5.5 |
config
|
object | No | Contains optional configuration values | |
ayanamsha
|
string | No | Either "tropical" or "sayana" or "lahiri" | Either "tropical" or "sayana" or "lahiri" |
observation_point
|
string | No | Geocentric positions are calculated with respect to the center of Earth. Topocentric positions are calculated with respect to the actual given place | Either "topocentric" or "geocentric" |
Request Example
{
"year": 1993,
"month": 1,
"date": 22,
"hours": 13,
"minutes": 20,
"seconds": 0,
"latitude": 30.37,
"longitude": 75.86,
"timezone": 5.5,
"config": {
"observation_point": "geocentric",
"ayanamsha": "sayana"
}
}
Response Examples
Example responses returned by this API.
Response
{
"statusCode": 200,
"output": {
"Sun": {
"sthana": 205.95,
"kaala": 74.799,
"dig_balam": 27.296,
"chesta": 3.442,
"drik_balam": 14.28,
"naisargika": 60
},
"Moon": {
"sthana": 135.22,
"kaala": 255.397,
"dig_balam": 48.383,
"chesta": 15.679,
"drik_balam": -3.1,
"naisargika": 51.429
},
"Mars": {
"sthana": 185.99,
"kaala": 77.528,
"dig_balam": 37.513,
"chesta": 21.506,
"drik_balam": 0.03,
"naisargika": 17.143
},
"Mercury": {
"sthana": 123.685,
"kaala": 252.349,
"dig_balam": 52.143,
"chesta": 53.358,
"drik_balam": 10.41,
"naisargika": 25.714
},
"Jupiter": {
"sthana": 207.785,
"kaala": 164.29,
"dig_balam": 0.991,
"chesta": 28.93,
"drik_balam": -34.6,
"naisargika": 34.286
},
"Venus": {
"sthana": 188.94,
"kaala": 50.931,
"dig_balam": 41.355,
"chesta": 48.622,
"drik_balam": 7.79,
"naisargika": 42.857
},
"Saturn": {
"sthana": 187.495,
"kaala": 134.126,
"dig_balam": 4.463,
"chesta": 35.019,
"drik_balam": 12.96,
"naisargika": 8.571
}
}
}
Code Examples
Use the following examples to integrate this API into your application.
PHP Code
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://json.freeastrologyapi.com/shadbala/break-up',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"year": 1990,
"month": 1,
"date": 1,
"hours": 6,
"minutes": 0,
"seconds": 0,
"latitude": 13.08333,
"longitude": 80.283333,
"timezone": 5.5,
"config": {
"observation_point": "topocentric",
"ayanamsha": "lahiri"
}
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'x-api-key: YOUR_API_KEY_HERE'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Python Code
import requests
import json
url = "https://json.freeastrologyapi.com/shadbala/break-up"
payload = json.dumps({
"year": 1990,
"month": 1,
"date": 1,
"hours": 6,
"minutes": 0,
"seconds": 0,
"latitude": 13.08333,
"longitude": 80.283333,
"timezone": 5.5,
"config": {
"observation_point": "topocentric",
"ayanamsha": "lahiri"
}
})
headers = {
'Content-Type': 'application/json',
'x-api-key': 'YOUR_API_KEY_HERE'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Node JS Code
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://json.freeastrologyapi.com/shadbala/break-up',
'headers': {
'Content-Type': 'application/json',
'x-api-key': 'YOUR_API_KEY_HERE'
},
body: JSON.stringify({
"year": 1990,
"month": 1,
"date": 1,
"hours": 6,
"minutes": 0,
"seconds": 0,
"latitude": 13.08333,
"longitude": 80.283333,
"timezone": 5.5,
"config": {
"observation_point": "topocentric",
"ayanamsha": "lahiri"
}
})
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});