Copy page
Copy page as Markdown for LLMs
Discover our Weekly Horoscope Prediction API, a dependable solution for retrieving insightful weekly astrological forecasts. Integrate horoscope predictions for all zodiac signs seamlessly into your website, application, or digital platform to engage users with accurate week-ahead insights.
Step by Step Weekly Horoscope API Testing Integration
The API supports multiple languages. Pass the appropriate code in the lan field in the request body.
| Code | Language |
|---|---|
| en | English |
| hi | Hindi |
| pt | Portuguese |
| fr | French |
| es | Spanish |
| ru | Russian |
| de | German |
| nl | Dutch |
| it | Italian |
| pl | Polish |
| ar | Arabic |
| ja | Japanese |
| zh | Chinese |
| tm | Tamil |
| tl | Telugu |
| tr | Turkish |
| ta | Filipino/Tagalog |
| bn | Bengali |
| ma | Marathi |
| ml | Malayalam |
| kn | Kannada |
Guide:
Use the translator endpoint for multilingual results and ensure that your translator configuration is up to date via DivineAPI Translator.
POST https://astroapi-5.divineapi.com/api/v5/weekly-horoscope
For translations in languages other than English, use:
POST https://astroapi-5-translator.divineapi.com/api/v5/weekly-horoscope
| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API Access Token. Example: Bearer {token} |
| Name | Type | Description |
|---|---|---|
| api_key* | String | Your API Key from DivineAPI dashboard. |
| sign* | String | The zodiac sign. (Example: Aries, Capricorn). |
| week* | String | Choose between current, prev, or next. |
| tzone* | Float | Timezone offset, e.g., 5.5 for IST. Refer to the Timezone Guide. |
| lan | String | Language code as per the table above. Default is en. |
{
"success": 1,
"data": {
"sign": "Leo",
"week": "05 Oct 2025 to 11 Oct 2025",
"weekly_horoscope": {
"personal": "The week ahead is full of insight and growth for Leo. The Moon's configuration suggests it's a time to explore introspection and personal dreams. Emotional harmony is favored as Venus boosts your charm, making social interactions blissful. Listen to your intuition, especially when faced with a crossroad. Remember, nurturing relationships and personal goals simultaneously will lead you to the fulfillment you seek.",
"health": "For Leo, health takes center stage with cosmic energies urging balance. The Moon's aspect with Saturn suggests a need for discipline in fitness routines. Listen to your body and avoid overexertion, as rest is equally vital. As the Sun fuels your vitality, focus on a balanced diet and hydration. Connecting with nature will be grounding and rejuvenating, helping you maintain a healthy equilibrium throughout the week.",
"profession": "This week, Leo, you'll find yourself driven and focused in your professional life. As the Moon trines with your Sun, you'll experience a boost in creativity and leadership abilities. Just be mindful of communication, particularly with Mercury in opposition. Collaborative projects may bring sudden shifts, but your adaptability will shine through. Overall, your career prospects appear promising, so keep pushing forward and trust your instincts.",
"emotions": "Emotionally, Leo, this week invites self-reflection and growth. With the Moon influencing your emotional planets, you might feel a spectrum of emotions. Moments of introspection will lead to personal breakthroughs, especially when sharing your journey with trusted loved ones. Stay open to change as this can lead to profound understanding and enlightenment. Channel creativity into understanding your emotional landscape for enhanced personal growth.",
"travel": "Travel seems appealing as the Moon inspires wanderlust, Leo. Whether planning a short getaway or a distant journey, embrace spontaneity but plan efficiently. Favorable vibes from Jupiter hint at lucky discoveries and opportunities en route. Remember to check communication lines, given Mercury's positions, to avoid travel hiccups. A new perspective awaits, allowing you to return refreshed and inspired by the adventures encountered.",
"luck": [
"Colors of the week : Gold, Purple",
"Lucky Numbers of the week : 3, 7, 9",
"Lucky Alphabets you will be in sync with : L, M",
"Cosmic Tip : Struggles hone our vibrational frequency to match the universe.",
"Tips for Singles : Connect spiritually by immersing yourself in nature.",
"Tips for Couples : Share reflections on health journeys and growth."
]
},
"special": {
"lucky_color_codes": [
"#FFD700",
"#800080"
],
"horoscope_percentage": {
"personal": 85,
"health": 70,
"profession": 90,
"emotions": 75,
"travel": 80,
"luck": 65
}
}
}
}Below are example implementations in various programming environments.
curl --location 'https://astroapi-5.divineapi.com/api/v5/weekly-horoscope' \
--header 'Authorization: Bearer {Your Auth Token}
--form 'api_key="{Your API Key}"' \
--form 'sign="Aries"' \
--form 'week="current"' \
--form 'tzone="5.5"' \
--form 'lan="en"'var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-5.divineapi.com/api/v5/weekly-horoscope',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'sign': 'Aries',
'week': 'current',
'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("week", "current");
form.append("tzone", "5.5");
form.append("lan", "en");
var settings = {
"url": "https://astroapi-5.divineapi.com/api/v5/weekly-horoscope",
"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-5.divineapi.com/api/v5/weekly-horoscope"
payload = {'api_key': '{Your API Key}',
'sign': 'Aries',
'week': 'current',
'tzone': '5.5',
'lan': 'en'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)