SEARCH ASTROLOGY API DOCS

Home
Western Astrology

Western House Report/general_house_report/tropical/:planetName

The API general_house_report/tropical/:planetName provides a personalized astrological house report based on the tropical zodiac for the specified planet. The response includes the planet name, the house number, and a detailed report on the individual's personality traits, strengths, weaknesses, and potential challenges.

API Endpoint : general_house_report/tropical/:planetName
Method : POST
Full URL :
https://json.astrologyapi.com/v1/general_house_report/tropical/:planetName
Supported Languages

Guide:These languages are supported by this API. You can use them by passing Accept-Language header with a value of the language code.

Request Data

ParamsData typeDescriptions

day required

month required

year required

hour required

min required

lat required

lon required

tzone required

house_type

int

int

int

int

int

float

float

float

string

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

Default : "placidus" // koch/topocentric/poryphry/equal_house/whole_sign

Response Data

{
	"planet_name": "SUN",
	"house": 3,
	"report": "Knowledge is important to you and you chase as much of it as possible. You enjoy passing on the knowledge you have gained. Although you are probably very open to new ideas, there yet may be the desire for scientific proof before anything can be believed. Your mind enjoys creating and it is thorough and self-reliant. Pride and intellectual domination may be something you need to work on, especially intellectual pride. Patience may also need developing. Misunderstandings can occur with siblings or neighbors due to your belief that you are always or mostly right. You have a strong desire to learn and this may take you on many short journeys. You need to communicate and there may be writing or speaking ability."
}
POST
var api = 'general_house_report/tropical/:planetName';
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);
});