Astro Nuggets
The Astro Nugget API delivers bite-sized, engaging astrological insights with fun facts and playful interpretations of planetary alignments. Perfect for social media, blogs, and astrology apps, it offers easy-to-digest content that resonates with audiences looking for daily cosmic inspiration. Share celestial wisdom, spark conversations, and make astrology fun and relatable with quick, shareable astro nuggets!
POST https://astroapi-7.divineapi.com/api/v1/astro-nuggetsReturns Astro Nuggets Picks in Response
Headers
Authorization*
String
your API Access Token
eg: Bearer {token}
Request Body
api_key*
String
Your API Key (can be found on your Divineapi dashboard)
sign*
String
A zodiac sign. (eg: Aries)
h_day*
String
yesterday, today, tomorrow
{
"status": "success",
"code": 200,
"message": "Request was successful",
"data": {
"sign": "Aries",
"date": "21 Jan 2025",
"result": [
{
"astro_nugget_title": "Powerful Pluto and The Sun's Dance",
"fact_trivia": "When Pluto conjuncts the Sun, it’s like a cosmic power-up button, amplifying transformation and intensity.",
"fun_insight": "Embrace your inner superhero today; this celestial combo is all about reclaiming your power. Perfect time to dig deep and go after what you truly desire. Share if you feel that extra boost!"
},
{
"astro_nugget_title": "Airwaves of Love with Venus and Mercury",
"fact_trivia": "Venus sextile Mercury means love and communication are in sync—an ideal day for romantic chats or creative writing.",
"fun_insight": "Feeling chatty? It's not just caffeine! Let love-inspired words flow and connect heart-to-heart. Tag someone you want to talk sweet nothings with!"
},
{
"astro_nugget_title": "Jupiter and Moon’s Merry Trine",
"fact_trivia": "A trine between Jupiter and the Moon creates a harmonious vibe, bringing luck and emotional growth.",
"fun_insight": "Today’s the day to make a wish! With this cosmic blessing, your heart’s desires might just find a way to manifest. Share your dreams!"
},
{
"astro_nugget_title": "Ascendant Vibes Under Moonlight",
"fact_trivia": "The Ascendant’s conjunction with the Moon can bring out deeply personal emotions and your truest self.",
"fun_insight": "Feeling seen? You’re glowing! This alignment might expose your authentic side. Perfect moment for selfie reflection—what does your moonlit soul reveal?"
},
{
"astro_nugget_title": "Uranus and Mars: Sparks Fly",
"fact_trivia": "When Mars sextiles Uranus, expect unexpected bursts of energy and creative inspiration.",
"fun_insight": "Quirky ideas incoming! This dynamic duo encourages you to break the routine and embrace spontaneity. What’s your out-of-the-box move today? Share it!"
}
]
}
}Take a look at how you might call this method via cURL, NodeJS, JavaScript jQuery AJAX or Python:
curl --location '
https://astroapi-7.divineapi.com/api/v1/astro-nuggets\
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'sign="Aries"' \
--form 'h_day="today"' \
--form 'tzone="5.5"' \
--form 'lan="en"'var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-7.divineapi.com/api/v1/astro-nuggets',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'sign': 'Aries',
'h_day': 'today',
'tzone': '5.5',
'lan': 'en'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
var form = new FormData();
form.append("api_key", "{Your API Key}");
form.append("sign", "Aries");
form.append("h_day", "today");
form.append("tzone", "5.5");
form.append("lan", "en");
var settings = {
"url": "https://astroapi-7.divineapi.com/api/v1/astro-nuggets",
"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);
});import requests
url = "https://astroapi-7.divineapi.com/api/v1/astro-nuggets"
payload = {'api_key': '{Your API Key}',
'sign': 'Aries',
'h_day': 'today',
'tzone': '5.5',
'lan': 'en'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload,)
print(response.text)
Last updated