Numerology APIs Gemstone Suggestion The Gemstone Suggestion API provides personalized gemstone recommendations based on astrological or numerological insights. It suggests suitable gemstones, the best finger and day for wearing, and the ideal metal setting, helping users enhance their well-being and align with positive energies. Perfect for astrology platforms and gemstone retailers.
POST
https://astroapi-7.divineapi.com/numerology/v1/gemstones
Returns Gemstone Suggestion in response
your API Access Token
eg: Bearer {token}
Request Body
Language en/hi, default en
200: OK Numbers fetched successfully
Copy {
"status" : "success" ,
"code" : 200 ,
"message" : "Request was successful" ,
"data" : {
"gem_recommendation_one" : {
"name" : "Emerald (Panna)" ,
"icon" : "https://astroapi-7.divineapi.com/public/gemstone/Emerald.png"
} ,
"gem_recommendation_one_finger" : {
"name" : "Little" ,
"icon" : "https://astroapi-7.divineapi.com/public/gemstone/Little.png"
} ,
"gem_recommendation_one_best_day_wearing" : {
"name" : "Wednesday" ,
"icon" : "https://astroapi-7.divineapi.com/public/gemstone/Wednesday.png"
} ,
"gem_recommendation_one_metal_suggesion" : {
"name" : "Gold" ,
"icon" : "https://astroapi-7.divineapi.com/public/gemstone/Gold.png"
} ,
"gem_recommendation_two" : {
"name" : "Emerald (Panna)" ,
"icon" : "https://astroapi-7.divineapi.com/public/gemstone/emerald.png"
} ,
"gem_recommendation_two_finger" : {
"name" : "Little" ,
"icon" : "https://astroapi-7.divineapi.com/public/gemstone/Little.png"
} ,
"gem_recommendation_two_best_day_wearing" : {
"name" : "Wednesday" ,
"icon" : "https://astroapi-7.divineapi.com/public/gemstone/Wednesday.png"
} ,
"gem_recommendation_two_metal_suggesion" : {
"name" : "Gold" ,
"icon" : "https://astroapi-7.divineapi.com/public/gemstone/Gold.png"
}
}
}
Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python :
cURL NodeJS JavaScript jQuery AJAX Python
Copy curl -- location 'https://astroapi-7.divineapi.com/numerology/v1/gemstones' \
-- header 'Bearer {Your Auth Token}' \
-- form 'api_key="{Your API Key}"' \
-- form 'day="24"' \
-- form 'month="05"' \
-- form 'year="2023"' \
-- form 'fname="Rahul"' \
-- form 'lname="Kumar"' \
-- form 'lan="en"'
Copy var request = require ( 'request' );
var options = {
'method' : 'POST' ,
'url' : https: //astroapi-7.divineapi.com/numerology/v1/gemstones,
'headers' : {
'Authorization' : 'Bearer {Your Auth Token}'
} ,
formData : {
'api_key' : '{Your API Key}' ,
'day' : '24' ,
'month' : '05' ,
'year' : '2023' ,
'fname' : 'Rahul' ,
'lname' : 'Kumar' ,
'lan' : 'en'
}
};
request (options , function (error , response) {
if (error) throw new Error (error);
console .log ( response .body);
});
Copy var form = new FormData ();
form .append ( "api_key" , "{Your API Key}" );
form .append ( "day" , "24" );
form .append ( "month" , "05" );
form .append ( "year" , "2023" );
form .append ( "fname" , "Rahul" );
form .append ( "lname" , "Kumar" );
form .append ( "lan" , "en" );
var settings = {
"url" : "https://astroapi-7.divineapi.com/numerology/v1/gemstones" ,
"method" : "POST" ,
"timeout" : 0 ,
"headers" : {
"Authorization" : "Bearer {Your Auth Token}"
} ,
"processData" : false ,
"mimeType" : "multipart/form-data" ,
"contentType" : false ,
"data" : form
};
$ .ajax (settings) .done ( function (response) {
console .log (response);
});
Copy import requests
url = "https://astroapi-7.divineapi.com/numerology/v1/gemstones"
payload = { 'api_key' : '{Your API Key}' ,
'day' : '24' ,
'month' : '05' ,
'year' : '2023' ,
'fname' : 'Rahul' ,
'lname' : 'Kumar' ,
'lan' : 'en' }
headers = {
'Authorization' : 'Bearer {Your Auth Token}'
}
response = requests . request ( "POST" , url, headers = headers, data = payload,)
print (response.text)
Last updated 11 hours ago