Find Uday Lagna

Unveil the celestial ascendant's impact on the start of your endeavors with our 'Uday Lagna' API, allowing you to optimize beginnings according to Indian Astrology's insights.

POST https://astroapi-3.divineapi.com/indian-api/v1/uday-lagna

Returns Uday Lagna start and end time 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

Language en/hi, default en

{
    "success": 1,
    "data": {
        "date": "2023-05-24",
        "sunrise": "2023-05-24 05:25:56",
        "sunset": "2023-05-24 19:10:28",
        "uday_lagna": [
            {
                "sign": "Taurus",
                "sign_hi": "वृषभ - Vrishabha",
                "start_time": "2023-05-24 05:25:56",
                "end_time": "2023-05-24 06:54:56"
            },
            {
                "sign": "Gemini",
                "sign_hi": "मिथुन - Mithuna",
                "start_time": "2023-05-24 06:55:56",
                "end_time": "2023-05-24 09:09:56"
            },
            {
                "sign": "Cancer",
                "sign_hi": "कर्क - Karka",
                "start_time": "2023-05-24 09:10:56",
                "end_time": "2023-05-24 11:29:56"
            },
            {
                "sign": "Leo",
                "sign_hi": "सिंह - Simha",
                "start_time": "2023-05-24 11:30:56",
                "end_time": "2023-05-24 13:47:56"
            },
            {
                "sign": "Virgo",
                "sign_hi": "कन्या - Kanya",
                "start_time": "2023-05-24 13:48:56",
                "end_time": "2023-05-24 16:03:56"
            },
            {
                "sign": "Libra",
                "sign_hi": "तुला - Tula",
                "start_time": "2023-05-24 16:04:56",
                "end_time": "2023-05-24 18:22:56"
            },
            {
                "sign": "Scorpio",
                "sign_hi": "वृश्चिक - Vrishchika",
                "start_time": "2023-05-24 18:23:56",
                "end_time": "2023-05-24 20:41:56"
            },
            {
                "sign": "Sagittarius",
                "sign_hi": "धनु - Dhanu",
                "start_time": "2023-05-24 20:42:56",
                "end_time": "2023-05-24 22:45:56"
            },
            {
                "sign": "Capricorn",
                "sign_hi": "मकर - Makara",
                "start_time": "2023-05-24 22:46:56",
                "end_time": "2023-05-25 00:27:56"
            },
            {
                "sign": "Aquarius",
                "sign_hi": "कुंभ - Kumbha",
                "start_time": "2023-05-25 00:28:56",
                "end_time": "2023-05-25 01:55:56"
            },
            {
                "sign": "Pisces",
                "sign_hi": "मीन - Meena",
                "start_time": "2023-05-25 01:56:56",
                "end_time": "2023-05-25 03:20:56"
            },
            {
                "sign": "Aries",
                "sign_hi": "मेष - Mesha",
                "start_time": "2023-05-25 03:21:56",
                "end_time": "2023-05-25 04:55:56"
            },
            {
                "sign": "Taurus",
                "sign_hi": "वृषभ - Vrishabha",
                "start_time": "2023-05-25 04:56:56",
                "end_time": "2023-05-25 05:25:35"
            }
        ]
    }
}

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/uday-lagna' \
--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