The life_forecast_report/tropical API provides a daily astrology forecast for a given individual. It includes a list of various planet positions and corresponding forecasts, giving insights into the individual's mental, emotional, and creative state.
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 |
{
"life_forecast": [
{
"planet_position": "Transiting Moon Trine Natal Mercury",
"date": "19-6-2017",
"forecast": "Your feeling, intuitive side is balanced with your rational thought processes to give acute perceptive skills. You can read others easily and quickly assess any situation. Your are in touch with your own feelings to give sound judgement and decision-making skills."
},
{
"planet_position": "Transiting Moon Opposition Natal Saturn",
"date": "19-6-2017",
"forecast": "This is not a good time for socializing as people may find you cold or distant. A morbid outlook on life is possible and you are likely to see the worst in other people and situations. While a Moon transit last only a few hours, moon phases pose a more serious problem and you will need to work hard to avoid your negative feelings manifesting as depression, loss or disappointment."
},
{
"planet_position": "Transiting Moon Trine Natal Neptune",
"date": "19-6-2017",
"forecast": "Creative and artistic work such as music, composition and film are favored. You may receive inspiration to make a breakthrough in a project which has been causing frustration. Working in front of a mirror could provide the inspiration needed. Neptune also rules film and cameras so using the webcam to records your dreams and visions would be ideal."
},
{
"planet_position": "Transiting Mercury Opposition Natal Mercury",
"date": "19-6-2017",
"forecast": "You are mentally sharp and alert now. Your curiosity is aroused regarding new ideas, unfamiliar facts and interesting concepts. Objectivity is strong and your thinking is not colored by emotional biases. Travel is likely."
},
{
"planet_position": "Transiting Mercury Opposition Natal Neptune",
"date": "19-6-2017",
"forecast": "Your imagination is working overtime today. You may be interested in spiritual subjects or art and music today. Your thinking will tend to be idealistic, not necessarily realistic. Keep your feet on the ground and your head out of the clouds. Don't let anyone pull the wool over your eyes and stop daydreaming if there is work to be done."
},
{
"planet_position": "Transiting Sun Square Natal Mars",
"date": "20-6-2017",
"forecast": "You are full of it today, high energy, force of will, and a dislike of any restraint. Slow down a little so you don't go flying off the handle. Physical, mental, and verbal confrontations are likely today, so stay in control. Don't speed today as the police may be watching you."
},
{
"planet_position": "Transiting Mercury Square Natal Mars",
"date": "21-6-2017",
"forecast": "Don't go looking for trouble today. Trouble will find you quick enough. Watch your offhand remarks. You may bum more people out than you think. Be careful driving or working on machinery. Don't let little irritations get to you. Be tactful."
}
]
}
var api = 'life_forecast_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);
});