1. Securing Your API Key
To start, you need an API key. Head over to https://divineapi.com/ and register to initiate your 7-day trial.
- Select the APIs you are interested in; you can change these selections at any time. You can add or remove APIs in the future.
- Click on checkout, fill out the sign-up form, and enter your payment details on the next page.
Your trial will begin immediately. You won't be charged during the trial period, and you can cancel anytime without incurring any charges.
- After logging in, your API key will be visible on your dashboard on the API Key page ( https://divineapi.com/api-keys)
2. Importing the Postman Collection
Import our Postman collection to facilitate your API testing:
- After logging into your Postman account:
- Open This link: https://documenter.getpostman.com/view/27195761/2sA3Qs8rfV
- Click “Run in Postman” and then select “Run in Web”.
- Select your workspace and then select ‘import’.
3. Configuring Your API Request
Once the collection is imported:
- Locate the "Maha Dasha Analysis" API request.
- Ensure the method is set to POST.
- Use this request URL: https://astroapi-3.divineapi.com/indian-api/v1/maha-dasha-analysis
4. Setting Request Parameters
This API call necessitates only your API key. To find your API key.
- Go to your DivineAPI dashboard > API Key page.
- Click on “Copy” next to the API key
Notice the difference between the key, and the Access Token.
Go back to Postman to set the parameters.
- Navigate to “Authorization”, select “Bearer Token” in the Auth type, and then add the token from your Divine API profile.
- Navigate to 'Body', select 'form_data', and then add:
- api_key: “<Your_API_Key>” - Your unique API subscription identifier.
- maha_dasha: "rahu" - Enter the dasha name.
- lan: “en” - Enter the language.
- Please ensure that the bearer token is exactly the same as in your profile, with no changes in spacing or formatting.
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
5. Making the Request
Hit the 'Send' button to submit your request.
6. Deciphering the Response
The API's response will be structured as follows:
{
{
"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."
}
}
}
- The Maha Dasha Analysis API response provides insights into the effects of the Rahu planetary period (Maha Dasha) on different aspects of life: career, health, finance, and relationships.
- It explains how Rahu's influence may manifest during this period, such as career changes towards unconventional fields, health issues due to stress, financial fluctuations from risky investments, and complex relationships with temporary bonds.
- The analysis highlights the need for caution, balance, and patience to navigate through these challenges, emphasizing the importance of maintaining mental well-being, ethical conduct, and effective communication.
7. Error Resolution
Ensure your API key is correctly entered if you encounter errors, as most issues are due to invalid or missing API keys.
8. Further Assistance
For additional support or inquiries, feel free to contact our customer service team at admin@divineapi.com.