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 "Astro Time Machine" API request.
- Ensure the method is set to POST.
- Use this request URL
https://astroapi-7.divineapi.com/api/v1/astro-time-machine
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>
- sign: “Aries” - Enter the zodiac sign.
- h_day: “today” - Enter the (yesterday, today, tomorrow)
- tzone: "5.5" - Timezone offset from UTC.
- 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.
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:
{
"status": "success",
"code": 200,
"message": "Request was successful",
"data": {
"sign": "Aries",
"date": "21 Jan 2025",
"result": [
{
"event_name": "The Moon Landing",
"date": "July 20, 1969",
"astrological_insight": "On the date of the Apollo 11 Moon landing, the Sun was in conjunction with Pluto, similar to today's Pluto-Sun conjunction. This alignment often signifies transformation, intense changes, and shifts in consciousness. Just as the Moon landing shifted humanity's perspective on our place in the cosmos, today's Pluto-Sun conjunction could signal potent transformations and new beginnings in various sectors of life.",
"content_idea": "Explore how groundbreaking events like the Apollo 11 landing are influenced by powerful planetary alignments, such as the Sun-Pluto conjunction, and speculate what current shifts may unfold under today's similar celestial energies."
},
{
"event_name": "The Signing of the Declaration of Independence",
"date": "July 4, 1776",
"astrological_insight": "The symbolism of today's Ascendant conjunction with the Moon relates to pivotal shifts in identity and public sentiment. When the United States declared independence, the Moon was intricately linked with decisive action and emerging identities, echoing today's transit where public recognition and personal identity may experience a resurgence or new understanding.",
"content_idea": "Delve into how astrological events like the Ascendant-Moon conjunction can harness energies that encourage nations and individuals to redefine their identity, drawing parallels with the signing of the Declaration of Independence."
},
{
"event_name": "The Fall of the Berlin Wall",
"date": "November 9, 1989",
"astrological_insight": "The energizing sextile between Mars and Uranus today hints at the potential for swift and unexpected change, much like the dismantlement of the Berlin Wall, which was preceded by a series of radical Uranus-Mars aspects. This combination often triggers breakthroughs, the breaking of long-standing structures, and liberation.",
"content_idea": "Investigate how Mars-Uranus alignments have historically characterized periods of rapid change and disruption, fostering unexpected shifts like the Fall of the Berlin Wall, and speculating on current possibilities presented by today's alignment."
},
{
"event_name": "The Treaty of Versailles Signing",
"date": "June 28, 1919",
"astrological_insight": "Today's Venus-Saturn conjunction highlights processes of negotiation, establishment of new economic and social structures, and dealing with past grievances. During the signing of the Treaty of Versailles, planets arranged similar to today's brought themes of reconciliation, restructuring, and addressing past conflicts, essential components to ending World War I.",
"content_idea": "Review the role of Venus-Saturn conjunctions in historical peace accords and international treaties, using the signing of the Treaty of Versailles as a case study to explore the blending of discipline and diplomacy facilitated by these astrological aspects."
},
{
"event_name": "The Assassination of Archduke Franz Ferdinand",
"date": "June 28, 1914",
"astrological_insight": "Today's Mercury square Moon aspect reflects the challenging communications and emotional upheavals that characterized events like the assassination of Archduke Franz Ferdinand, a significant precursor to World War I. This aspect often marks a period where misunderstandings and emotional tensions are heightened, possibly leading to dramatic consequences.",
"content_idea": "Analyze the impact of Mercury-Moon squares on historical conflicts and turning points, such as the assassination that led to World War I, and discuss how current alignments may foreshadow similar shifts or tensions in global relations."
}
]
}
}
- Testing the Astro Time Machine API with Postman allows users to easily explore historical astrological insights and compare them with present-day cosmic alignments.
- By following this guide, developers and astrology enthusiasts can effectively retrieve and analyze data for integration into their platforms.
- Whether for educational purposes or content creation, Postman simplifies the process of unlocking the fascinating connections between astrology and historical events.
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.