Find Kartik Festivals
Last updated
Last updated
Engage in the enchantment of Kartik with our 'Kartik Festivals' API, spotlighting the astrological and cultural vibrancy of events that grace the Indian calendar within the Panchang spectrum.
POST
https://astroapi-3.divineapi.com/indian-api/v1/kartika-festivals
Returns all festivals details from Kartika in response
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
{
"success": 1,
"data": {
"year": "2023",
"karwa_chauth": {
"date": "2023-11-01",
"vrat_timings": {
"start_time": "2023-11-01 06:32:46",
"end_time": "2023-11-01 20:15:26"
},
"puja_timings": {
"start_time": "2023-11-01 17:36:22",
"end_time": "2023-11-01 18:54:04"
},
"moonrise": "2023-11-01 20:15:26"
},
"ahoi_ashtami": {
"date": "2023-11-05",
"puja_timings": {
"start_time": "2023-11-05 17:33:26",
"end_time": "2023-11-05 18:51:44"
},
"sighting_stars": "2023-11-05 17:59:32",
"moonrise": "2023-11-06 00:02:55"
},
"rama_ekadashi": {
"smartas": {
"date": "2023-11-09",
"parana": {
"start_time": "2023-11-10 06:39:27",
"end_time": "2023-11-10 08:48:27"
}
},
"vaishnavas": {
"date": "2023-11-09",
"parana": {
"start_time": "2023-11-10 06:39:27",
"end_time": "2023-11-10 08:48:27"
}
}
},
"dhanteras": {
"date": "2023-11-10",
"puja_muhurat": {
"start_time": "2023-11-10 17:48:00",
"end_time": "2023-11-10 19:43:00"
}
},
"narak_chaturdashi": {
"date": "2023-11-12",
"abhyang_snan": {
"start_time": "2023-11-12 05:28:51",
"end_time": "2023-11-12 06:40:59"
},
"moonrise": "2023-11-12 05:28:51"
},
"deepawali": {
"date": "2023-11-13",
"puja_muhurat": {
"start_time": "2023-11-13 17:37:00",
"end_time": "2023-11-13 14:57:00"
},
"nishita_muhurat": {
"start_time": "2023-11-12 23:40:10",
"end_time": "2023-11-13 00:33:10"
},
"auspicious_choghadiya": [
{
"choghadiya": "Amrit",
"start_time": "2023-11-13 06:41:46",
"end_time": "2023-11-13 08:02:39"
},
{
"choghadiya": "Shubh",
"start_time": "2023-11-13 09:23:32",
"end_time": "2023-11-13 10:44:25"
},
{
"choghadiya": "Char",
"start_time": "2023-11-13 13:26:11",
"end_time": "2023-11-13 14:47:04"
},
{
"choghadiya": "Amrit",
"start_time": "2023-11-13 16:07:57",
"end_time": "2023-11-13 17:28:50"
}
]
},
"goverdhan_puja": {
"date": "2023-11-13",
"pratahkal_muhurat": {
"start_time": "2023-11-13 06:41:46",
"end_time": "2023-11-13 08:50:46"
},
"sayankal_muhurat": {
"start_time": "2023-11-13 15:19:39",
"end_time": "2023-11-13 17:28:39"
}
},
"bhaiya_dooj": {
"date": "2023-11-15",
"aparahna": {
"start_time": "2023-11-15 13:09:20",
"end_time": "2023-11-15 15:18:20"
}
},
"devutthani_ekadashi": {
"smartas": {
"date": "2023-11-23",
"parana": {
"start_time": "2023-11-24 06:50:30",
"end_time": "2023-11-24 08:56:30"
}
},
"vaishnavas": {
"date": "2023-11-23",
"parana": {
"start_time": "2023-11-24 06:50:30",
"end_time": "2023-11-24 08:56:30"
}
}
},
"chhath_puja": {
"nahay_khay": {
"date": "2023-11-17",
"sunrise": "2023-11-17 06:44:55",
"sunset": "2023-11-17 17:26:51"
},
"lohanda_and_kharna": {
"date": "2023-11-18",
"sunrise": "2023-11-18 06:45:43",
"sunset": "2023-11-18 17:26:27"
},
"sandhya_arghya": {
"date": "2023-11-19",
"sunrise": "2023-11-19 06:46:31",
"sunset": "2023-11-19 17:26:05"
},
"usha_arghya": {
"date": "2023-11-20",
"sunrise": "2023-11-20 06:47:18",
"sunset": "2023-11-20 17:25:45"
}
},
"gopashtami": "2023-11-20",
"akshaya_navami": {
"date": "2023-11-21",
"purvahna_time": {
"start_time": "2023-11-21 06:48:06",
"end_time": "2023-11-21 12:06:36"
}
},
"tulsi_vivah": "2023-11-24"
}
}
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/kartika-festivals' \
--header 'Authorization: Bearer Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2FzdHJvYXBpLTEuZGl2aW5lYXBpLmNvbS9hcGkvYXV0aC1hcGktcmVmcmVzaC10b2tlbiIsImlhdCI6MTY5OTI1NDAzOSwibmJmIjoxNjk5MjU0MjYxLCJqdGkiOiJBTG1OQ3BweW5aUHg2dnZGIiwic3ViIjoiMTM1MCJ9.TQM3mTq7FRt21uKMtXyPT5polqUsbzW5YRMwTHb587Q' \
--form 'api_key="861dc9bd7f4e7dd3cccd534d0ae2a2e9"' \
--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/v1/kartika-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/v1/kartika-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/v1/kartika-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)
Authorization*
String
your API Access Token eg: Bearer {token}
api_key*
String
your API key
year*
Integer
year, 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