Find Choghadiya

Optimize your timing and decisions with our 'Choghadiya' API, revealing auspicious and inauspicious windows within each day, as per the principles of Indian Astrology.

POST https://astroapi-2.divineapi.com/indian-api/v1/find-choghadiya

Returns choghadiyas in response

Headers

NameTypeDescription

Authorization*

String

your API Access Token

eg: Bearer {token}

Request Body

NameTypeDescription

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

timezone, eg: 5.5

lan

String

Language en/hi, default en

{
    "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 :

curl --location 'https://astroapi-2.divineapi.com/indian-api/v1/find-choghadiya' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'day="24"' \
--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