The general_ascendant_report/tropical API provides a report on a person's ascendant or rising sign based on the tropical zodiac. The response includes the ascendant sign and a detailed description of the person's personality traits, tendencies, and potential challenges based on their ascendant sign.
Guide:These languages are supported by this API. You can use them by passing Accept-Language header with a value of the language code.
Params | Data type | Descriptions |
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 |
{
"ascendant": "Sagittarius",
"report": "People with Sagittarius rising tend to be idealistic, aspiring, enthusiastic, religious or agnostic, interested in far away places and cultures or ideas, physically active, risk-taking, outgoing, breezy, extroverted, philosophical, perhaps dogmatic, prejudiced, superficial, looking for greener pastures, and on-the-go. Sagittarius, the Centaur, is half-human, half-animal and this is perhaps the way you are. You have great aspirations, yet may have a most unruly desire nature. You can shoot for the stars or wallow with the animals. There is love of animals, the outdoors, sports, gambling, adventure, and travel. You may lack concentration. You probably have many acquaintances, but few friends. You tend to have casual contacts rather than in-depth relationships. You have a great restlessness and a love to be on the move. You may always be looking for greener pastures, never stopping or slowing down to see where you really are and what's around you. You tend to be talkative and direct and to the point. You may be lacking in tact and diplomacy due to your frankness. Ideas are very important to you. You generally like working with the big picture and dislike all the little details. You may promise much and deliver less. You can rise to the heights or sink to the depths. Which will you choose$1650 Spiritual lesson to learn: Restraint, of all that is given away (and stop procrastinating). Jupiter rules Sagittarius so Jupiter will be important in your chart."
}
var api = 'general_ascendant_report/tropical';
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);
});