This API, called expression_number, returns a report based on a person's name and birth date. The report describes the person's personality, emotional balance, and relationship tendencies based on their Expression Number, which is calculated from the letters in their name.
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 |
date required month required year required full_name required | int int int string | date of birth, eg: 10 month of birth, eg: 5 year of birth, eg: 1990 name, eg: 'demo' |
{
"name": "Ajeet kanojia",
"birth_date": "2011-5-15",
"expression_number": 11,
"report": [
"Personal power is dormant in each of us. Some are awake to it and some simply become oblivious to its presence. You seem to fall in the latter category. Though unconscious of your hidden powers, you have a robust personality and make a commanding presence. You know that you are different. For you, conscious and unconscious are connected via an unbridled path. Sensitive, you possess a tremendous flow of energy. Emotion and psychology are interconnected. To strike a balance between both these, lest you fall into emotional turmoil and nervous tension, you must learn to channelize that effervescence of energy that you experience.",
"Relationships are essential for your survival and emotion is your building block. You are hesitant and vulnerable. Vacillating and bobbing with luck in your love life, you have a concrete idea about who your friends would be. Your treasure your feelings and do not share them easily with others. Make use of your latent powers that you are gifted with. Shake the stagnancy of your inherent powers and ground yourself with the natural strength that might appear to you as a challenge initially. The more you dwell on your inner calling, the greater will be the expanse of your keen awareness."
]
}
var api = 'expression_number';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var language = '<Your Language>' // By default it is set to en
var data = {
date: 6,
month:1,
year:2000,
full_name:"Kevin"
};
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);
});