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 "Planet Analysis" API request.
- Ensure the method is set to POST.
- Use this request URL: https://astroapi-3.divineapi.com/indian-api/v1/planet-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.
- full_name: “Your name” - Enter name.
- day: “24” - Enter the date of birth.
- month: “05” - Enter the month of birth.
- year: "2023" - The year of interest.
- hour: “14” - Enter the hour.
- min: “40” - Enter the minute.
- sec: “43” - Enter the second.
- gender: “male” - Enter the gender.
- place: "New Delhi" - The name of the city.
- lat: "28.6139" - Latitude for location-specific details.
- lon: "77.2090" - Longitude for accurate location insights.
- tzone: "5.5" - Timezone offset from UTC.
- lan: “en” - Enter the language.
- analysis_planet: “moon” - Enter the planet.
- Please ensure that the bearer token is exactly the same as in your profile, with no changes in spacing or formatting.
analysis_planet
sun: For Sun
moon: For Moon
mars: For Mars
mercury: For Mercury
venus: For Venus
saturn: For Saturn
jupiter: For Jupiter
ketu: For Ketu
rahu: For Rahu
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": {
"planet": "Moon",
"sign": "Cancer",
"sign_no": 4,
"house": 11,
"longitude": "3:7:11",
"lord": "Moon",
"analysis": {
"planet_in_house": "When the Moon is in the eleventh house of a person's birth chart, it influences their friendships, social networks, and emotional connections within group settings.\n\nEmotional Connection in Friendships: With the Moon in the eleventh house, you form deep emotional connections with your friends and are highly invested in your social relationships. You seek friendships that provide you with emotional support, understanding, and a sense of belonging. Your friends become an extended family to you, and you value their presence and companionship.\n\nIntuitive Understanding of Group Dynamics: You have a natural intuition when it comes to group dynamics and can easily sense the emotions and needs of those around you. This allows you to navigate social situations with empathy and adaptability. You have a knack for creating a harmonious and inclusive atmosphere within your social circles.\n\nNurturing and Supportive Friend: Your nurturing nature extends to your friendships, and you are often the go-to person for emotional support and guidance. Your friends seek solace and comfort in your presence, knowing that you are empathetic and understanding. You provide a safe space for others to express their emotions and offer a shoulder to lean on when needed.\n\nStrong Emotional Bonds: The Moon in the eleventh house signifies that you form strong emotional bonds with your friends. You deeply care about their well-being and invest time and energy into nurturing these connections. Your friends often become like family to you, and you may have long-lasting friendships that withstand the test of time.\n\nIntuitive Networking: You have a natural ability to connect with people on an intuitive level, which aids you in networking and building meaningful connections. Your instincts guide you towards individuals who resonate with your emotions and values. This helps you create a supportive network of like-minded individuals who uplift and inspire you.\n\nSocial Involvement and Group Activities: You find joy and fulfillment in participating in group activities and social gatherings. You actively engage in social events, clubs, or organizations that align with your interests and values. Being part of a larger community gives you a sense of belonging and purpose, and you thrive in environments where you can share your emotions and experiences.\n\nEmotionally Influenced Goals and Aspirations: Your goals and aspirations are often influenced by your emotions and the connections you have with others. You may seek professions or endeavors that allow you to make a positive impact on people's lives or contribute to the well-being of society. Your emotional intelligence and empathy play a significant role in your pursuit of these goals.\n\nSensitivity to Group Energy: The Moon in the eleventh house heightens your sensitivity to the energy of groups. You are attuned to the moods and emotions of those around you, and you may be affected by the overall atmosphere within a social setting. It's important for you to maintain a healthy balance between your own emotional well-being and the energy of the groups you engage with.\n\nEmotional Fulfillment Through Social Connections: Your emotional fulfillment is closely tied to your social connections and the quality of your friendships. When surrounded by a supportive and nurturing social network, you feel a sense of contentment and happiness. It's essential for you to cultivate and maintain healthy relationships that nourish your emotional needs.\n\nFluctuating Social Circles: Your social circles may experience fluctuations and changes over time, as your emotional needs and interests evolve. You may be drawn to different groups or communities as you grow and develop. It's important for you to honor your changing emotional landscape and surround yourself with people who align with your current values and aspirations.",
"planet_in_sign": "When the Moon is in Cancer, it means that the Moon was in the zodiac sign of Cancer at the time of your birth. The placement of the Moon represents your emotions, instincts, subconscious mind, and how you respond to the world around you.\n\nWith the Moon in Cancer, you have a deeply sensitive and nurturing nature. You are highly attuned to your emotions and the emotions of others, often experiencing a strong empathetic connection. Your intuition is powerful, and you rely on your gut feelings and instincts when navigating life's challenges.\n\nYour emotions play a significant role in your decision-making process. You may make choices based on how they align with your emotional well-being and the well-being of those you care about. Creating a sense of security and emotional stability is essential to you, and you may actively seek out environments and relationships that provide a nurturing and safe space.\n\nFamily and home hold great importance in your life. You have a strong attachment to your roots and may have a close-knit relationship with your family members. You derive comfort and a sense of belonging from your home and often invest considerable time and energy in creating a warm and harmonious domestic environment.\n\nYour caring and nurturing qualities are evident in your relationships. You are deeply devoted to your loved ones and seek to provide emotional support and care. You are attentive and intuitive, able to sense the needs of others and offer comfort and understanding. Your empathy and compassion make you a natural caretaker and someone others often turn to for emotional support.\n\nHowever, the influence of the Moon in Cancer can also bring emotional challenges. You may be prone to mood swings or experiencing heightened sensitivity to criticism or perceived rejection. Your strong emotional connection to others may sometimes lead to an excessive need for validation and approval. Learning to balance your emotional needs with independence and self-care is important for your well-being.\n\nIn creative pursuits, you are often drawn to outlets that allow you to express your emotions and tap into your intuition. Artistic endeavors, writing, music, or any form of creative self-expression can serve as a means of emotional release and personal exploration.\n\nYour nurturing qualities and empathetic nature also make you well-suited for careers that involve caregiving, counseling, social work, or any field that allows you to support and uplift others.\n\nOverall, with the Moon in Cancer, your emotional depth, intuition, and nurturing qualities are prominent aspects of your personality. Embracing and understanding your emotions, practicing self-care, and creating a loving and supportive environment for yourself and others will help you navigate life's challenges and cultivate deep and meaningful connections."
}
}
}
- To decipher the response, look at the "data" object, which includes details about the planet (e.g., "Moon"), its position ("sign", "house", "longitude"), and its lord.
- The "analysis" object contains explanations for "planet_in_house" and "planet_in_sign", detailing the influence and characteristics of the planet's placement in both the house and sign.
- Use these sections to understand the astrological interpretation.
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.