Testing PDF API - Natal Couple Report Using Postman

The Natal Couple Report API delivers in-depth astrological insights into romantic compatibility by analyzing the natal charts of two individuals. It explores relationship dynamics, strengths, and challenges, making it ideal for astrology platforms and matchmaking services.

 Last updated : 13 Jan, 2025

1. Securing Your API Key

Step-by-Step Guide:

Log in to Your Account

Navigate to the API Credentials Section

  • After logging in, locate the menu or user icon (generally at the top right corner).
  • Click on it and select the "API Credentials" option from the dropdown menu.

Access Your API Key and Token

  • On the API Credentials page, you will see two sections:
    • Live API Credentials: For production use.
    • Test API Credentials: For testing your integration.
  • Both sections include the API Key and Bearer Token.

Copy the Credentials

  • Use the provided "Copy" button next to the API key and token to copy them securely.

Secure Your API Key and Token

  • Never share your API credentials publicly.
  • Store them securely in environment variables or encrypted files to prevent unauthorized access.

2. Importing the Postman Collection

Import our Postman collection to facilitate your API testing:

 

3. Configuring Your API Request

Once the collection is imported:

 

Set the parameters:- 

  • Navigate to “Authorization”, select “Bearer Token” in the Auth type, and then add the token from API Credentials Page.
  • Navigate to 'Body', select 'form_data', and then add:
    • api_key: “<Your_API_Key>” - Your unique API subscription identifier.
    • p1_full_name: “Rahul Kumar” -  Enter name.
    • p1_day: “24” - Enter the date of birth.
    • p1_month: “05” - Enter the month of birth.
    • p1_year: "1998" - The year of interest.
    • p1_hour: “14” - Enter the hour.
    • p1_min: “40” - Enter the minute.
    • p1_sec: “43” - Enter the second.
    • p1_gender: “male” - Enter the gender.
    • p1_place: "New Delhi" -  The name of the city.
    • p1_lat: "28.7041" - Latitude for location-specific details. Latitude & Longitude Testing Tool
    • p1_lon: "77.1025" - Longitude for accurate location insights.
    • p1_tzone: "5.5" - Timezone offset from UTC. Timezone List
    • p2_full_name: “Simran Kumari” -  Enter name.
    • p2_day: “10” - Enter the date of birth.
    • p2_month: “12” - Enter the month of birth.
    • p2_year: "1999" - The year of interest.
    • p2_hour: “14” - Enter the hour.
    • p2_min: “15” - Enter the minute.
    • p2_sec: “05” - Enter the second.
    • p2_gender: “female” - Enter the gender.
    • p2_place: "New Delhi" -  The name of the city.
    • p2_lat: "28.7041" - Latitude for location-specific details. Latitude & Longitude Testing Tool
    • p2_lon: "77.1025" - Longitude for accurate location insights.
    • p2_tzone: "5.5" - Timezone offset from UTC. Timezone List
    • lan: “en” - Enter the language.
    • company_name:“Divine API” - Enter the company name.
    • company_url:“https://divineapi.com/” - Enter the company url.
    • company_email:“admin@divineapi.com” - Enter the company email.
    • company_mobile:“+91 1212 1212 12” - Enter company mobile number.
    • company_bio:“Your Company Bio” - Enter your company bio.
    • logo_url:“logo_url” - Enter the company logo url.
    • footer_text:“Your Company Bio” - Enter your company bio.
    • report_code:“ALIGNED-ENERGIES-REPORT” - Enter your report code Get report code

  • Please ensure that the bearer token is exactly the same as in your profile, with no changes in spacing or formatting.
  • "Refer to the API documentation for detailed instructions: Natal Couple Report API."

 

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": {
        "name": "Rahul Kumar",
        "report_url": "https://reports.divinestore.net/r/1189317367569411687173-234",
        "download_url": "https://reports.divinestore.net/generate/1189317367569411687173-234"
    }
}
  • The Natal Couple Report API provides a detailed astrological analysis focused on compatibility and relationship dynamics between two individuals based on their natal charts. 
  • This report leverages astrological insights to offer personalized and meaningful interpretations of planetary alignments, enabling users to explore the depth of their relationship.

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.