Copy page
Copy page as Markdown for LLMs
Partake in the richness of Vaishakha with the ‘Vaishakha Festivals’ API, illuminating the astrological and cultural significance of festivals that embellish the Indian calendar within the Panchang framework.
Find Vaishakha Festivals API Postman Testing Guide
POST https://astroapi-3.divineapi.com/indian-api/v2/vaishakha-festivals
Returns all festival details from Vaishakha in the response.
| Name | Type | Description |
|---|---|---|
| Authorization * | String | Your API Access Token e.g., Bearer {token} |
| Name | Type | Description |
|---|---|---|
| api_key * | String | Your API key |
| year * | Integer | Year (e.g., 2023) |
| place | String | Place (e.g., New Delhi) |
| lat * | Float | Latitude (e.g., 28.6139) |
| lon * | Float | Longitude (e.g., 77.2090) |
| tzone * | Float | Time zone (e.g., 5.5) Timezone List |
{
"success": 1,
"data": {
"year": "2023",
"varuthini_ekadashi": {
"smartas": {
"date": "2023-04-16",
"parana": {
"start_time": "2023-04-17 05:54:36",
"end_time": "2023-04-17 08:30:36"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Varuthini%20Ekadashi.png"
},
"vaishnavas": {
"date": "2023-04-16",
"parana": {
"start_time": "2023-04-17 05:54:36",
"end_time": "2023-04-17 08:30:36"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Varuthini%20Ekadashi.png"
}
},
"akshay_tritiya": {
"date": "2023-04-23",
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Kurma%20Jayanti.png"
},
"parashuram_jayanti": {
"date": "2023-04-22",
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Kurma%20Jayanti.png"
},
"ganga_saptami": {
"date": "2023-04-27",
"puja_muhurta": {
"start_time": "2023-04-27 11:01:18",
"end_time": "2023-04-27 13:37:18"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Ganga%20Saptami.png"
},
"sita_navami": {
"date": "2023-04-29",
"puja_muhurta": {
"start_time": "2023-04-29 11:01:00",
"end_time": "2023-04-29 13:37:00"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Sita%20Navami.png"
},
"mohini_ekadashi": {
"smartas": {
"date": "2023-05-01",
"parana": {
"start_time": "2023-05-02 05:40:25",
"end_time": "2023-05-02 08:19:25"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Mohini%20Ekadashi.png"
},
"vaishnavas": {
"date": "2023-05-01",
"parana": {
"start_time": "2023-05-02 05:40:25",
"end_time": "2023-05-02 08:19:25"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Mohini%20Ekadashi.png"
}
},
"narasimha_jayanti": {
"date": "2023-05-04",
"sayana_kala": {
"start_time": "2023-05-04 16:19:27",
"end_time": "2023-05-04 18:58:27"
},
"sayahana_muhurta": {
"start_time": "2023-05-04 18:58:27",
"end_time": "2023-05-04 20:02:27"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Narasimha%20Jayanti.png"
},
"buddha_purnima": {
"date": "2023-05-05",
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Kurma%20Jayanti.png"
},
"kurma_jayanti": {
"date": "2023-05-05",
"sayana_kala": {
"start_time": "2023-05-05 16:20:04",
"end_time": "2023-05-05 18:59:04"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Kurma%20Jayanti.png"
}
}
}Below are example calls using cURL, NodeJS, JavaScript (jQuery AJAX), and Python.
curl --location 'https://astroapi-3.divineapi.com/indian-api/v2/vaishakha-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"'
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-3.divineapi.com/indian-api/v2/vaishakha-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);
});
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/vaishakha-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);
});
import requests
url = "https://astroapi-3.divineapi.com/indian-api/v2/vaishakha-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)