Find Panchak Rahita

Avoid the influence of Panchak energies with our 'Panchak Rahita' API, providing guidance on navigating periods free from Panchak dosha, as per the guidelines of Indian Astrology.

POST https://astroapi-3.divineapi.com/indian-api/v1/panchak-rahita

Returns Panchak Rahita 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",
        "panchak_rahita": [
            {
                "panchak": "Good Panchak",
                "start_time": "2023-05-24 05:25:56",
                "end_time": "2023-05-24 06:54:56"
            },
            {
                "panchak": "Mrityu Panchak",
                "start_time": "2023-05-24 06:55:56",
                "end_time": "2023-05-24 09:09:56"
            },
            {
                "panchak": "Agni Panchak",
                "start_time": "2023-05-24 09:10:56",
                "end_time": "2023-05-24 11:29:56"
            },
            {
                "panchak": "Good Panchak",
                "start_time": "2023-05-24 11:30:56",
                "end_time": "2023-05-24 13:47:56"
            },
            {
                "panchak": "Raja Panchak",
                "start_time": "2023-05-24 13:48:56",
                "end_time": "2023-05-24 15:05:44"
            },
            {
                "panchak": "Good Panchak",
                "start_time": "2023-05-24 15:06:44",
                "end_time": "2023-05-24 16:03:56"
            },
            {
                "panchak": "Chora Panchak",
                "start_time": "2023-05-24 16:04:56",
                "end_time": "2023-05-24 18:22:56"
            },
            {
                "panchak": "Good Panchak",
                "start_time": "2023-05-24 18:23:56",
                "end_time": "2023-05-24 20:41:56"
            },
            {
                "panchak": "Roga Panchak",
                "start_time": "2023-05-24 20:42:56",
                "end_time": "2023-05-24 22:45:56"
            },
            {
                "panchak": "Good Panchak",
                "start_time": "2023-05-24 22:46:56",
                "end_time": "2023-05-25 00:27:56"
            },
            {
                "panchak": "Mrityu Panchak",
                "start_time": "2023-05-25 00:28:56",
                "end_time": "2023-05-25 01:55:56"
            },
            {
                "panchak": "Agni Panchak",
                "start_time": "2023-05-25 01:56:56",
                "end_time": "2023-05-25 03:00:44"
            },
            {
                "panchak": "Good Panchak",
                "start_time": "2023-05-25 03:01:44",
                "end_time": "2023-05-25 03:20:56"
            },
            {
                "panchak": "Mrityu Panchak",
                "start_time": "2023-05-25 03:21:56",
                "end_time": "2023-05-25 04:55:56"
            },
            {
                "panchak": "Agni Panchak",
                "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/panchak-rahita' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2FzdHJvYXBpLTEuZGl2aW5lYXBpLmNvbS9hcGkvYXV0aC1hcGktcmVmcmVzaC10b2tlbiIsImlhdCI6MTY5OTI1NDAzOSwibmJmIjoxNjk5MjU0MjYxLCJqdGkiOiJBTG1OQ3BweW5aUHg2dnZGIiwic3ViIjoiMTM1MCJ9.TQM3mTq7FRt21uKMtXyPT5polqUsbzW5YRMwTHb587Q' \
--form 'api_key="861dc9bd7f4e7dd3cccd534d0ae2a2e9"' \
--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