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

Maha Dasha Analysis API

Navigate the cycles of life with our Maha Dasha Analysis API, unraveling the dynamic planetary periods that shape individual destinies within the realm of Indian Astrology.


Maha Dasha Analysis

maha_dasha values:

sun: For Sun dasha
moon: For Moon dasha
mars: For Mars dasha
mercury: For Mercury dasha
venus: For Venus dasha
saturn: For Saturn dasha
jupiter: For Jupiter dasha
ketu: For Ketu dasha
rahu: For Rahu dasha


Supported Language Codes

Support Article URL
https://support.divineapi.com/general-api-support/translating-an-indian-vedic-apis-into-a-different-language

CodeLanguage
enEnglish
hiHindi
bnBengali
maMarathi
tmTamil
tlTelugu
mlMalayalam
knKannada

Guide
These languages are supported by this API. You can use by passing "lan" in the body with a value of the language.


Step by Step Maha Dasha Analysis API Postman Testing Integration

Step by Step Maha Dasha Analysis API Postman Testing Integration


API Endpoint

POST https://astroapi-3.divineapi.com/indian-api/v1/maha-dasha-analysis

Description

This API provides an in-depth interpretation of an individual's Maha Dasha period. The response covers major life aspects such as career, health, finance, and relationships based on the selected dasha planet.


Headers

NameTypeDescription
Authorization*StringYour API Access Token, e.g. Bearer {token}

Request Body

NameTypeDescription
api_key*StringYour API key
maha_dasha*StringMaha Dasha planet key (e.g., rahu)
lanStringLanguage code (default is en)

Example Response

200: OK Maha Dasha Analysis Fetched Successfully

{
    "success": 1,
    "data": {
        "maha_dasha": "Rahu",
        "analysis": {
            "career": "The Rahu Maha Dasha could bring significant changes in your career. You might feel attracted towards unconventional, foreign, and complex occupations that involve research, exploration, and even breaking rules. You could show a vivid interest in technology, science, engineering or areas related to mysteries, occult, etc. You may excel in fields that require audacity, courage, and challenging the norms. If you are currently unemployed, you may be keen on landing a job overseas. However, ensure you do not take any hasty decisions as Rahu's mysterious nature may cause unpredictability. People might try to derail you with false promises, so diligence is essential. Constant changes and fluctuations could mark your professional journey, but don’t be discouraged. Rahu is all about breaking prejudices and fighting inner fears. Keep your ambition alive as these trials may contribute to your ultimate success.",
            "health": "The Rahu Maha Dasha has a profound impact on health. Given Rahu's unpredictable and intense nature, you might face irregularities when it comes to your health during this phase. People under Rahu Dasha may experience sudden ailments that leave medical professionals puzzled. You could be susceptible to diseases related to stress and anxiety due to the heightened tension caused by this period. Some might even suffer from phantom diseases, which seem serious but are actually mind-induced. Obsession with health, unnecessary fears of having contracted terminal illness, and panic can make you mentally exhausted. It's important to keep a balanced, calm mind during this stage. Regular yoga, meditation, and ayurvedic treatment can be beneficial during this phase. Also, maintaining a healthy lifestyle can mitigate these issues.",
            "finance": "During the Rahu Maha Dasha, your financial condition could fluctuate. Rahu can bring about an intense desire to accumulate wealth, and you may look into various unconventional ways of earning money, like speculative businesses or sudden, risky investment opportunities. Be cautious, as haste decisions in finance could trigger losses. In some cases, extreme desires to acquire wealth could also lead to unethical methods, which might provide temporary gains but can bring severe consequences in the long term. While Rahu might provide the motivation to earn more and live a luxurious life, it can also teach hard lessons about the truth of materialistic possessions. Clever financial planning, avoiding risky short-term investments, and moral integrity in earnings will help maintain financial stability.",
            "relationships": "Rahu's influence during the Maha Dasha might bring complexity to your relationships. You could meet new people who are different from your usual circle. These bonds could be mysterious, interesting but temporary. The existing relationships may undergo trials, and you may even feel isolated or misunderstood. Interactions might become intense and complex, and sporadic disagreements or misunderstandings could occur. In love and marriage, a fascination for the complex and the unknown could attract you towards unconventional relationships or partners. Remember, during this period, the perception of reality may be distorted due to Rahu's influence. So, it’s important to maintain patience, communicate effectively with your loved ones and avoid hasty decisions regarding relationships."
        }
    }
}

Code Examples

cURL

curl --location 'https://astroapi-3.divineapi.com/indian-api/v1/maha-dasha-analysis' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'lan="hi"' \
--form 'api_key="{Your API Key}"' \
--form 'maha_dasha="rahu"' \
--form 'lan="en"'

NodeJS

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-3.divineapi.com/indian-api/v1/maha-dasha-analysis',
  'headers': {
    'Authorization': 'Bearer {Your Auth Token}'
  },
  formData: {
    'lan': 'hi',
    'api_key': '{Your API Key}',
    'maha_dasha': 'rahu',
    '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("lan", "hi");
form.append("api_key", "{Your API Key}");
form.append("maha_dasha", "rahu");
form.append("lan", "en");

var settings = {
  "url": "https://astroapi-3.divineapi.com/indian-api/v1/maha-dasha-analysis",
  "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-3.divineapi.com/indian-api/v1/maha-dasha-analysis"

payload = {'lan': 'hi',
'api_key': '{Your API Key}',
'maha_dasha': 'rahu',
'lan': 'en'}

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

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

print(response.text)