Grah Gochar (Planet Transit API)
POST https://astroapi-3.divineapi.com/indian-api/v1/grah-gochar/:planet
Returns Chandramasa in response
Headers
Name
Type
Description
Authorization*
String
your API Access Token
eg: Bearer {token}
Request Body
Name
Type
Description
api_key*
String
your API key
month*
Integer
month of birth, eg: 05
year*
Integer
year of birth, eg: 2023
place*
String
place, ex: New Delhi
lat*
Float
latitude, eg: 28.6139
lon*
Float
longitude, eg: 77.2090
{
"success": 1,
"data": {
"message": "Sun have 1 transit in May 2023.",
"transit": [
{
"sign": "Taurus",
"sign_no": 2,
"datetime": "2023-05-15 11:45:00"
}
]
}
}
Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python :
curl --location 'https://astroapi-3.divineapi.com/indian-api/v1/grah-gochar/:planet' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'month="05"' \
--form 'year="2023"' \
--form 'place="New Delhi"' \
--form 'lat="28.6139"' \
--form 'lon="77.2090"' \
--form 'tzone="5.5"' \
--form 'lan="en"'
Last updated