This API returns information about the 12 houses in Lal Kitab astrology, including the ruling planet, auspicious and inauspicious planets, exalted and debilitated planets, and whether the house is considered ""sleeping"" or active. The response includes a list of objects, each representing one house, with details such as house number, ruling planet, and exalted/debilitated planets.
Params | Data type | Descriptions |
day required month required year required hour required min required lat required lon required tzone required | int int int int int float float float | 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 |
"[ { khana_number: 1,\r\n maalik: 'Mars',\r\n pakka_ghar: 'Sun',\r\n kismat: 'Mars',\r\n soya: true,\r\n exalt: [ 'Sun' ],\r\n debilitated: [ 'Saturn' ] },\r\n { khana_number: 2,\r\n maalik: 'Venus',\r\n pakka_ghar: 'Jupiter',\r\n kismat: 'Moon',\r\n soya: false,\r\n exalt: [ 'Moon', 'Rahu' ],\r\n debilitated: '-' },\r\n { khana_number: 3,\r\n maalik: 'Mercury',\r\n pakka_ghar: 'Mars',\r\n kismat: 'Mercury',\r\n soya: true,\r\n exalt: [ 'Rahu' ],\r\n debilitated: [ 'Ketu' ] },\r\n { khana_number: 4,\r\n maalik: 'Moon',\r\n pakka_ghar: 'Moon',\r\n kismat: 'Moon',\r\n soya: false,\r\n exalt: [ 'Jupiter' ],\r\n debilitated: [ 'Mars' ] },\r\n { khana_number: 5,\r\n maalik: 'Sun',\r\n pakka_ghar: 'Jupiter',\r\n kismat: 'Sun',\r\n soya: true,\r\n exalt: '-',\r\n debilitated: '-' },\r\n { khana_number: 6,\r\n maalik: 'Mercury',\r\n pakka_ghar: 'Mars',\r\n kismat: 'Rahu',\r\n soya: false,\r\n exalt: [ 'Mercury' ],\r\n debilitated: [ 'Venus' ] },\r\n { khana_number: 7,\r\n maalik: 'Venus',\r\n pakka_ghar: 'Venus',\r\n kismat: 'Venus',\r\n soya: true,\r\n exalt: [ 'Saturn' ],\r\n debilitated: [ 'Sun' ] },\r\n { khana_number: 8,\r\n maalik: 'Mars',\r\n pakka_ghar: 'Saturn',\r\n kismat: 'Moon',\r\n soya: false,\r\n exalt: [ 'Ketu' ],\r\n debilitated: [ 'Moon' ] },\r\n { khana_number: 9,\r\n maalik: 'Jupiter',\r\n pakka_ghar: 'Sun',\r\n kismat: 'Jupiter',\r\n soya: true,\r\n exalt: [ 'Ketu' ],\r\n debilitated: [ 'Rahu' ] },\r\n { khana_number: 10,\r\n maalik: 'Saturn',\r\n pakka_ghar: 'Sun',\r\n kismat: 'Saturn',\r\n soya: true,\r\n exalt: [ 'Mars' ],\r\n debilitated: [ 'Jupiter' ] },\r\n { khana_number: 11,\r\n maalik: 'Saturn',\r\n pakka_ghar: 'Jupiter',\r\n kismat: 'Jupiter',\r\n soya: true,\r\n exalt: '-',\r\n debilitated: '-' },\r\n { khana_number: 12,\r\n maalik: 'Jupiter',\r\n pakka_ghar: 'Saturn',\r\n kismat: 'Ketu',\r\n soya: true,\r\n exalt: [ 'Venus' ],\r\n debilitated: [ 'Mercury' ] } ]\r\n"
var api = 'lalkitab_houses';
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);
});