SEARCH ASTROLOGY API DOCS

Home
Indian Astrology

Varshaphal Harsha Bala/varshaphal_harsha_bala

The API varshaphal_harsha_bala calculates the different types of strengths or "bala" of a person's natal chart for a particular year. The response includes the stana bala, ucchaswachetri bala, gender bala, dinratri bala, and total bala for each of the seven planets considered in Vedic astrology.

API Endpoint : varshaphal_harsha_bala
Method : POST
Full URL :
https://json.astrologyapi.com/v1/varshaphal_harsha_bala

Request Data

ParamsData typeDescriptions

day required

month required

year required

hour required

min required

lat required

lon required

tzone required

varshaphal_yearrequired

int

int

int

int

int

float

float

float

int

date of birth, eg: 10

month of birth, eg: 5

year of birth, eg: 1990

hour, eg: 19

minute, eg: 55

latitude, eg: 19.2056

longitude, eg: 25.2056

timezone, eg: 5.5

Varshaphal year for which you want the details, eg: 2017

Response Data

{
	"stana_bala": [
		0,
		0,
		0,
		0,
		0,
		0,
		0
	],
	"ucchaswachetri_bala": [
		0,
		0,
		0,
		0,
		0,
		5,
		0
	],
	"gender_bala": [
		5,
		5,
		5,
		5,
		5,
		0,
		5
	],
	"dinratri_bala": [
		5,
		0,
		5,
		0,
		5,
		0,
		0
	],
	"total_bala": [
		10,
		5,
		10,
		5,
		10,
		5,
		5
	]
}
POST
var api = 'varshaphal_harsha_bala';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var language = '<Your Language>' // By default it is set to en
var data = {
  day: 6,
  month: 1,
  year: 2000,
  hour: 7,
  min: 45,
  lat: 19.132,
  lon: 72.342,
  tzone: 5.5,
};

var auth = "Basic " + new Buffer(userId + ":" + apiKey).toString("base64");

var request = $.ajax({
url: "https://json.astrologyapi.com/v1/"+api,
method: "POST",
dataType:'json',
headers: {
    "authorization": auth,
    "Content-Type":'application/json',
    "Accept-Language": language 
},
    data:JSON.stringify(data)
});

request.then( function(resp){
    console.log(resp);
}, function(err){
    console.log(err);
});