search

Copy page

Copy page as Markdown for LLMs

View as Markdown

View this page as plain text


Open in ChatGPT

Ask ChatGPT about this page

Open in Claude

Ask Claude about this page

Find Bhadrapada Festivals

Embrace the essence of Bhadrapada with the “Bhadrapada Festivals” API, shedding light on the astrological and cultural festivities that enrich the Indian calendar within the Panchang domain.


Step-by-Step Postman Integration

Find Bhadrapada Festivals API Postman Testing Guide

POST https://astroapi-3.divineapi.com/indian-api/v2/bhadrapada-festivals

Returns all festival details from Bhadrapada in the response.


Headers

NameTypeDescription
Authorization *StringYour API Access Token e.g., Bearer {token}

Request Body

NameTypeDescription
api_key *StringYour API key
year *IntegerYear, e.g., 2023
placeStringPlace, e.g., New Delhi
lat *FloatLatitude, e.g., 28.6139
lon *FloatLongitude, e.g., 77.2090
tzone *FloatTimezone, e.g., 5.5 — see: Timezone List

Example Response — 200 OK

{
    "success": 1,
    "data": {
        "year": "2023",
        "gayatri_japam": {
            "date": "2023-08-31",
            "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Gayatri%20Japam.png"
        },
        "kajari_teej": {
            "date": "2023-09-02",
            "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Kajari%20Teej.png"
        },
        "aja_ekadashi": {
            "smartas": {
                "date": "2023-09-10",
                "parana": {
                    "start_time": "2023-09-11 06:04:19",
                    "end_time": "2023-09-11 08:34:19"
                },
                "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Aja%20Ekadashi.png"
            },
            "vaishnavas": {
                "date": "2023-09-10",
                "parana": {
                    "start_time": "2023-09-11 06:04:19",
                    "end_time": "2023-09-11 08:34:19"
                },
                "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Aja%20Ekadashi.png"
            }
        },
        "hartalika_teej": {
            "date": "2023-09-18",
            "puja_muhurat": {
                "start_time": "2023-09-18 06:07:45",
                "end_time": "2023-09-18 08:34:45"
            },
            "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Hartalika%20Teej.png"
        },
        "ganesh_chaturthi": {
            "date": "2023-09-19",
            "puja_muhurat": {
                "start_time": "2023-09-19 11:03:15",
                "end_time": "2023-09-19 13:27:15"
            },
            "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Ganesh%20Chaturthi.png"
        },
        "rishi_panchami": {
            "date": "2023-09-20",
            "puja_muhurat": {
                "start_time": "2023-09-20 11:02:45",
                "end_time": "2023-09-20 13:26:45"
            },
            "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Rishi%20Panchami.png"
        },
        "radha_ashtami": {
            "date": "2023-09-23",
            "puja_muhurat": {
                "start_time": "2023-09-23 11:02:14",
                "end_time": "2023-09-23 13:26:14"
            },
            "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Radha%20Ashtami.png"
        },
        "parsva_ekadashi": {
            "smartas": {
                "date": "2023-09-25",
                "parana": {
                    "start_time": "2023-09-26 13:24:45",
                    "end_time": "2023-09-26 15:48:45"
                },
                "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Parsva%20Ekadashi.png"
            },
            "vaishnavas": {
                "date": "2023-09-26",
                "parana": {
                    "start_time": "2023-09-27 06:12:15",
                    "end_time": "2023-09-27 08:36:15"
                },
                "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Parsva%20Ekadashi.png"
            }
        },
        "anant_chaturdashi": {
            "date": "2023-09-28",
            "puja_muhurat": {
                "start_time": "2023-09-28 06:12:46",
                "end_time": "2023-09-28 18:49:00"
            },
            "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Anant%20Chaturdashi.png"
        },
        "ganesh_visarjan": {
            "date": "2023-09-28",
            "auspicious_choghadiya": [
                {
                    "choghadiya": "Shubh",
                    "start_time": "2023-09-28 06:12:46",
                    "end_time": "2023-09-28 07:42:39"
                },
                {
                    "choghadiya": "Char",
                    "start_time": "2023-09-28 10:42:25",
                    "end_time": "2023-09-28 12:12:18"
                },
                {
                    "choghadiya": "Labh",
                    "start_time": "2023-09-28 12:12:18",
                    "end_time": "2023-09-28 13:42:11"
                },
                {
                    "choghadiya": "Amrit",
                    "start_time": "2023-09-28 13:42:11",
                    "end_time": "2023-09-28 15:12:04"
                },
                {
                    "choghadiya": "Shubh",
                    "start_time": "2023-09-28 16:41:57",
                    "end_time": "2023-09-28 18:11:50"
                }
            ],
            "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Ganesh%20Visarjan.png"
        },
        "vamana_jayanti": {
            "date": "2023-09-26",
            "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Vamana%20Jayanti.png"
        },
        "mahalaxmi_vrat": {
            "start_date": "2023-09-23",
            "end_date": "2023-10-07",
            "start_image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Mahalaxmi Vrat Start.png",
            "end_image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Mahalaxmi Vrat End.png"
        },
        "durva_ashtami": {
            "date": "2023-09-22",
            "purva_viddha": {
                "start_time": "2023-09-22 13:36:00",
                "end_time": "2023-09-22 18:18:46"
            },
            "image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Durva%20Ashtami.png"
        }
    }
}

Code Integration Examples

Below are example calls using cURL, NodeJS, JavaScript (jQuery AJAX), and Python.


cURL Example

curl --location 'https://astroapi-3.divineapi.com/indian-api/v2/bhadrapada-festivals' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'year="2023"' \
--form 'Place="New Delhi"' \
--form 'lat="28.6139"' \
--form 'lon="77.2090"' \
--form 'tzone="5.5"'

NodeJS Example

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-3.divineapi.com/indian-api/v2/bhadrapada-festivals',
  'headers': {
    'Authorization': 'Bearer {Your Auth Token}'
  },
  formData: {
    'api_key': '{Your API Key}',
    'year': '2023',
    'Place': 'New Delhi',
    'lat': '28.6139',
    'lon': '77.2090',
    'tzone': '5.5'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

JavaScript (jQuery AJAX) Example

var form = new FormData();
form.append("api_key", "{Your API Key}");
form.append("year", "2023");
form.append("Place", "New Delhi");
form.append("lat", "28.6139");
form.append("lon", "77.2090");
form.append("tzone", "5.5");

var settings = {
  "url": "https://astroapi-3.divineapi.com/indian-api/v2/bhadrapada-festivals",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer {Your Auth Token}"
  },
  "processData": false,
  "mimeType": "multipart/form-data",
  "contentType": false,
  "data": form
};

$.ajax(settings).done(function (response) {
  console.log(response);
});

Python Example

import requests

url = "https://astroapi-3.divineapi.com/indian-api/v2/bhadrapada-festivals"

payload = {'api_key': '{Your API Key}',
'year': '2023',
'Place': 'New Delhi',
'lat': '28.6139',
'lon': '77.2090',
'tzone': '5.5'}

headers = {
  'Authorization': 'Bearer {Your Auth Token'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)