Find Yoga

Embark on a journey of celestial harmony with our 'Yoga' API, illuminating the intricate connections between planetary configurations and their influence on life's course according to Indian Astrology.

POST https://astroapi-1.divineapi.com/indian-api/v1/find-yoga

Returns yoga details 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 Timezone List

lan

String

Language en/hi, default en

{
    "success": 1,
    "data": {
        "sunrise": "2023-05-24 05:25:56",
        "sunset": "2023-05-24 19:10:28",
        "yogas": [
            {
                "start_time": "2023-05-24 05:26:20",
                "end_time": "2023-05-24 17:19:20",
                "yoga_number": "10",
                "yoga_name": "Ganda",
                "visha_ghatis": {
                    "start_time": "2023-05-24 05:26:20",
                    "end_time": "2023-05-24 07:50:20"
                }
            },
            {
                "start_time": "2023-05-24 17:19:20",
                "end_time": "2023-05-25 18:08:20",
                "yoga_number": "11",
                "yoga_name": "Vridhi",
                "visha_ghatis": []
            }
        ]
    }
}

Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python:

curl --location 'https://astroapi-1.divineapi.com/indian-api/v1/find-yoga' \
--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