Testing the Zodiac Planet Number API Using Postman

"Step-by-Step Guide to Integrating the Zodiac Planet Number API Using Postman"

 Last updated : 20 Jan, 2025

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.

 

2. Importing the Postman Collection

Import our Postman collection to facilitate your API testing:

 

3. Configuring Your API Request

Once the collection is imported:

 

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 | Value: <Your_API_Key>
    • day: “24” - Enter the day.
    • month: “05” - Enter the month.
    • year: “2023” - Enter the year.
    • fname: “Rahul” - Enter the first name.
    • lname: "kumar" - Enter the last name.
    • lan : “en” - Enter the language ex. (en/hi).
  • Please ensure that the bearer token is exactly the same as in your profile, with no changes in spacing or formatting.

 

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": {
        "from_date": "22 May ",
        "to_date": "22 June ",
        "zodiac_sign": "Gemini",
        "friend_zodiac": "Libra, Aquarius",
        "enemy_zodiac": "Virgo, Pisces",
        "master_planet": "Mercury",
        "master_number": 5,
        "name_number": 8,
        "birth_day_number": 6,
        "life_path_number": 7,
        "soul_urge_number": 7
    }
}
  • In conclusion, integrating the Zodiac Planet Number API is a straightforward process that involves securing your API key, importing the Postman collection, configuring request parameters, and making API calls to receive personalized zodiac and numerology insights
  • By following the step-by-step instructions provided, you can easily test and utilize the API to obtain valuable astrological information such as zodiac signs, friend and enemy zodiacs, master planets, and key numerology numbers.
  • Ensuring the correct entry of your API key and understanding the response structure will help you avoid errors and maximize the benefits of the API. For any assistance, the DivineAPI support team is available to help.

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. For a comprehensive guide on resolving errors and understanding their responses, refer to our Detailed Error Guide for API Integration.

8. Further Assistance

For additional support or inquiries, feel free to contact our customer service team at admin@divineapi.com.