This API numerological_numbers calculates numerological numbers based on a person's name and birthdate. The response includes lifepath_number, personality_number, expression_number, soul_urge_number, subconscious_self_number, and challenge_numbers.
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",
"lifepath_number": 6,
"personality_number": 11,
"expression_number": 11,
"soul_urge_number": 1,
"subconscious_self_number": 5,
"challenge_numbers": [
1,
2,
1,
1
]
}
var api = 'numerological_numbers';
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);
});