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.

Supported Language Codes:

Support Article URL - https://support.divineapi.com/general-api-support/translating-an-indian-vedic-apis-into-a-different-language

en For English

hi For Hindi

bn For Bengali

ma For Marathi

tm For Tamil

tl For Telugu

ml For Malayalam

kn For Kannada

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-3.divineapi.com/indian-api/v2/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

timezone, eg: 5.5 Timezone List

lan

String

Language code as per the table above, default is 'en'.

{
    "success": 1,
    "data": {
        "date": "2025-2-05",
        "sunrise": "2025-02-05 07:07:27",
        "sunset": "2025-02-05 18:04:00",
        "uday_lagna": [
            {
                "sign": "Capricorn",
                "start_time": "2025-02-05 07:07:27",
                "end_time": "2025-02-05 07:35:27"
            },
            {
                "sign": "Aquarius",
                "start_time": "2025-02-05 07:36:27",
                "end_time": "2025-02-05 09:02:27"
            },
            {
                "sign": "Pisces",
                "start_time": "2025-02-05 09:03:27",
                "end_time": "2025-02-05 10:27:27"
            },
            {
                "sign": "Aries",
                "start_time": "2025-02-05 10:28:27",
                "end_time": "2025-02-05 12:02:27"
            },
            {
                "sign": "Taurus",
                "start_time": "2025-02-05 12:03:27",
                "end_time": "2025-02-05 13:58:27"
            },
            {
                "sign": "Gemini",
                "start_time": "2025-02-05 13:59:27",
                "end_time": "2025-02-05 16:12:27"
            },
            {
                "sign": "Cancer",
                "start_time": "2025-02-05 16:13:27",
                "end_time": "2025-02-05 18:33:27"
            },
            {
                "sign": "Leo",
                "start_time": "2025-02-05 18:34:27",
                "end_time": "2025-02-05 20:50:27"
            },
            {
                "sign": "Virgo",
                "start_time": "2025-02-05 20:51:27",
                "end_time": "2025-02-05 23:07:27"
            },
            {
                "sign": "Libra",
                "start_time": "2025-02-05 23:08:27",
                "end_time": "2025-02-06 01:26:27"
            },
            {
                "sign": "Scorpio",
                "start_time": "2025-02-06 01:27:27",
                "end_time": "2025-02-06 03:45:27"
            },
            {
                "sign": "Sagittarius",
                "start_time": "2025-02-06 03:46:27",
                "end_time": "2025-02-06 05:49:27"
            },
            {
                "sign": "Capricorn",
                "start_time": "2025-02-06 05:50:27",
                "end_time": "2025-02-06 07:06:47"
            }
        ]
    }
}

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/v2/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