search

Copy page

Copy page as Markdown for LLMs

View as Markdown

View this page as plain text


Open in ChatGPT

Ask ChatGPT about this page

Open in Claude

Ask Claude about this page

Monthly Horoscope Prediction

Introducing the Monthly Horoscope Prediction API, a dependable solution for retrieving comprehensive astrological forecasts for an entire month. Integrate personalized monthly predictions for all zodiac signs into your websites, applications, and platforms to offer users detailed insights and guidance for the month ahead.


Step by Step Monthly Horoscope API Postman Testing Integration

Step by Step Monthly Horoscope API Postman Testing Integration


Supported Language Codes

The API supports multiple languages. Use the lan parameter in the body to specify your desired language.

CodeLanguage
enEnglish
hiHindi
ptPortuguese
frFrench
esSpanish
ruRussian
deGerman
nlDutch
itItalian
plPolish
arArabic
jaJapanese
zhChinese
tmTamil
tlTelugu
trTurkish
taFilipino/Tagalog
bnBengali
maMarathi
mlMalayalam
knKannada

Guide:
For translations, use the translator endpoint below and ensure your translator setup is updated via DivineAPI Translator.


API Endpoints

POST https://astroapi-5.divineapi.com/api/v5/monthly-horoscope

For languages other than English:

POST https://astroapi-5-translator.divineapi.com/api/v5/monthly-horoscope

Headers

NameTypeDescription
Authorization*StringYour API Access Token. Example: Bearer {token}

Request Body

NameTypeDescription
api_key*StringYour DivineAPI key.
sign*StringZodiac sign (e.g., Aries, Capricorn).
month*StringSelect between current, prev, or next.
tzone*FloatTimezone offset, e.g. 5.5. Refer to the Timezone Guide.
lanStringLanguage code as per the table above. Default is en.

200: OK – Fetched Monthly Horoscope Prediction Successfully

{
    "success": 1,
    "data": {
        "sign": "Leo",
        "month": "October 2025",
        "monthly_horoscope": {
            "personal": "Personal growth and harmony are at the forefront for you, Leo, this month. Enjoy meaningful interactions with friends and family, as the Moon encourages balance in relationships. Find moments to reflect and set goals, ensuring your aspirations align with your inner desires. As challenges emerge, your inner strength and determination will guide you forward, reinforcing the importance of self-belief and perseverance.",
            "health": "Health-wise, the conjunction of the Moon and Saturn in your chart urges you to pay attention to routines and discipline. Incorporating structured exercise and balanced nutrition can enhance vitality and mental clarity. Be cautious of overindulging, as Neptune’s influence may blur boundaries. Focus on consistency in self-care practices to maintain your energy and resilience throughout the month.",
            "profession": "This month, Leos, your professional life sees a surge in creativity and initiative, with Mars in Pisces energizing your drive. Stay open to collaboration, as your ideas can flourish with teamwork. However, be mindful of communication due to Mercury's position in Capricorn, which may cause misunderstandings. Stay focused on details and you'll find opportunities for growth, especially in projects requiring imagination and innovation.",
            "emotions": "Emotionally, the Moon's aspects throughout the month will heighten your sensitivity. Engage in activities that ground you, as emotions could feel intense. This is a time for introspection and emotional healing, where old patterns come to light. Use creative outlets like art or writing to express what's on your mind. Communicating your feelings within supportive relationships can bring clarity and comfort.",
            "travel": "Leos, this month, travel can bring unexpected joy and learning experiences, thanks to the Moon's trine with Mars. Whether it's a short trip or a long journey, embrace the adventure. Stay flexible with plans as you might encounter changes, but these can lead to delightful surprises. New environments will inspire creative ideas and offer fresh perspectives on life.",
            "luck": [
                "Colors of the month : Gold, Royal Blue",
                "Lucky Numbers of the month : 3, 9, 21",
                "Lucky Alphabets you will be in sync with : L, A",
                "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",
                "#4169E1"
            ],
            "horoscope_percentage": {
                "personal": 80,
                "health": 75,
                "profession": 85,
                "emotions": 78,
                "travel": 82,
                "luck": 70
            }
        }
    }
}

Example Code Implementations

Below are example implementations in various programming environments.


cURL

curl --location 'https://astroapi-5.divineapi.com/api/v5/monthly-horoscope' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'sign="Aries"' \
--form 'month="current"' \
--form 'tzone="5.5"' \
--form 'lan="en"'

NodeJS

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-5.divineapi.com/api/v5/monthly-horoscope',
  'headers': {
    'Authorization': 'Bearer {Your Auth Token}'
  },
  formData: {
    'api_key': '{Your API Key}',
    'sign': 'Aries',
    'month': 'current',
    'tzone': '5.5',
    'lan': 'en'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

JavaScript jQuery AJAX

var form = new FormData();
form.append("api_key", "{Your API Key}");
form.append("sign", "Aries");
form.append("month", "current");
form.append("tzone", "5.5");
form.append("lan", "en");

var settings = {
  "url": "https://astroapi-5.divineapi.com/api/v5/monthly-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);
});

Python

import requests

url = "https://astroapi-5.divineapi.com/api/v5/monthly-horoscope"

payload = {'api_key': '{Your API Key}',
'sign': 'Aries',
'month': 'current',
'tzone': '5.5',
'lan': 'en'}

headers = {
  'Authorization': 'Bearer {Your Auth Token}'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)