Optimize your timing and decisions with our 'Choghadiya' API, revealing auspicious and inauspicious windows within each day, as per the principles of Indian Astrology.
Guide: These languages are supported by this API. You can use by passing "lan" in body with a value of the language.
POST https://astroapi-2.divineapi.com/indian-api/v1/find-choghadiya
Returns choghadiyas 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
day*
Integer
day of panchang, eg: 24
month*
Integer
month of panchang, eg: 05
year*
Integer
year of panchang, eg: 2023
place
String
place, ex: New Delhi
lat*
Float
latitude, eg: 28.6139
lon*
Float
longitude, eg: 77.2090
tzone*
Float
lan
String
{
"success": 1,
"data": {
"day_choghadiyas": {
"Labh": "05:26 AM to 07:09 AM",
"Amrit": "07:09 AM to 08:52 AM",
"Kaal": "08:52 AM to 10:35 AM",
"Shubh": "10:35 AM to 12:18 PM",
"Rog": "12:18 PM to 02:01 PM",
"Udveg": "02:01 PM to 03:44 PM",
"Char": "03:44 PM to 05:27 PM",
"Next Labh": "05:27 PM to 07:10 PM"
},
"night_choghadiyas": {
"Udveg": "07:10 PM to 08:27 PM",
"Shubh": "08:27 PM to 09:44 PM",
"Amrit": "09:44 PM to 11:01 PM",
"Char": "11:01 PM to 12:18 AM May 25",
"Rog": "12:18 AM to 01:35 AM May 25",
"Kaal": "01:35 AM to 02:52 AM May 25",
"Labh": "02:52 AM to 04:09 AM May 25",
"Next Udveg": "04:09 AM to 05:26 AM May 25"
}
}
}
Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python :