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

Antar Dasha Analysis API

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


Supported Planetary Values

maha_dasha and antar_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 request body with a value of the desired language.


Step by Step Antar Dasha Analysis API Postman Testing Integration

Step by Step Antar Dasha Analysis API Postman Testing Integration


API Endpoint

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

Description

This API provides detailed insights into the Antar Dasha (sub-period) within a given Maha Dasha (major period).
It delivers interpretations for major life aspects: career, health, finance, and relationships, based on the combined planetary influences of the Maha Dasha and Antar Dasha lords.


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)
antar_dasha*StringAntar Dasha planet key (e.g., moon)
lanStringLanguage code (default is en)

200: OK Antar Dasha Analysis Fetched Successfully

{
    "success": 1,
    "data": {
        "maha_dasha": "Rahu",
        "antar_dasha": "Moon",
        "analysis": {
            "career": "During the period of Rahu Maha Dasha and Moon Antar Dasha, you may observe significant changes and volatility in your career sphere. Rahu is known for unexpected and sudden changes, while the Moon signifies thoughts and mental state. This may reflect in your career moves and choices. Your aspiration for growth and better opportunities could increase. You may be driven to switch jobs or even professions. Be ready to embrace unexpected shifts. But along with it, you may also face misunderstandings or conflicts in your work-relationships. Unclear communication could lead to conflicts. You might also feel a sense of restlessness. Therefore, practicing patience and maintaining a calm approach is highly recommended. This is the time to remain diligent, flexible, and adaptive to changes. On a positive note, this period might also bring about opportunities for overseas work or travel related to work.",
            "health": "Rahu may cause disturbance to your mental equilibrium. You could face issues related to stress, anxiety and restlessness during this Dasha. The Moon, while it frequently treats the mind, might add to the emotional struggles during this period. Be mindful of mental health issues and seek help if necessary. In terms of physical health, there could be ailments surfacing that might have been hidden or ignored. Rahu can potentially cause illnesses to suddenly flare up, so timely medical intervention is crucial. It's very important to maintain a balanced diet and routine. Regular exercise can help you stay physically fit and also maintain mental stability. Make sure to treat health issues immediately and don't ignore any signals your body gives you.",
            "finance": "Rahu can bring in financial volatility. You might earn from unexpected sources but the risk of sudden losses is also high. The Moon signifies fluctuations and these can translate to income volatility too. It’s crucial to maintain a tight check on your expenses and avoid any risk-bearing investments. Sudden expenses might crop up, causing financial instability. Your interest in speculative activities might increase, but caution in these matters is advised. Try to create a good balance between your income and expenses. Prudent financial planning and avoiding unnecessary expenses could help preserve your monetary stability. Investing in safe and long-term profitable areas is recommended.",
            "relationships": "Rahu and the Moon might trigger sensitive reactions in your relationships. You may feel restless, impatient and may have constant mood swings, which could cause turbulence in your relationships. Misunderstandings might crop up if you don't handle your emotional turmoil wisely. Be clear in your communication and avoid unnecessary arguments. You would need to practice patience during this period. There might be times when you could feel isolated despite being surrounded by people. Family relations might get strained, while friendships might undergo a testing phase. Stay calm and composed in dealing with people. Fostering patience, understanding and empathy could help in maintaining harmony in relationships."
        }
    }
}

Example Integrations

Below are examples of how you might call this API using different programming languages and environments.


cURL

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

NodeJS

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

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

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

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

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

print(response.text)