Copy page
Copy page as Markdown for LLMs
Understand the cosmic entwinement with our Kaal Sarpa Dosha API, shedding light on the astrological condition that arises from planetary alignments within the context of Indian Astrology.
POST https://astroapi-3.divineapi.com/indian-api/v1/kaal-sarpa-yoga
Returns Kaal Sarpa Dosha information in response.
Support Article URL - https://support.divineapi.com/general-api-support/translating-an-indian-vedic-apis-into-a-different-language
| Code | Language |
|---|---|
| en | English |
| hi | Hindi |
| bn | Bengali |
| ma | Marathi |
| tm | Tamil |
| tl | Telugu |
| ml | Malayalam |
| kn | Kannada |
Guide: These languages are supported by this API. You can use them by passing "lan" in the request body with the desired language code.
| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API Access Token (e.g., Bearer {token}) |
| Name | Type | Description |
|---|---|---|
| api_key* | String | Your API key |
| full_name* | String | Full name (e.g., Rahul Kumar) |
| day* | Integer | Date of birth (e.g., 24) |
| month* | Integer | Month of birth (e.g., 05) |
| year* | Integer | Year of birth (e.g., 2023) |
| hour* | Integer | Hour of birth (e.g., 14) |
| min* | Integer | Minute of birth (e.g., 40) |
| sec* | Integer | Second (e.g., 43) |
| gender* | String | Gender (e.g., male) |
| place* | String | Birthplace (e.g., New Delhi) |
| lat* | Float | Latitude (e.g., 28.7041) |
| lon* | Float | Longitude (e.g., 77.1025) |
| tzone* | Float | Timezone (e.g., 5.5). See Timezone List. |
| lan | String | Language code (default is "en"). |
// response if Kaal Sarpa Dosha is false
{
"success": 1,
"data": {
"result": "false",
"intensity": "",
"name": "",
"direction": "",
"remedies": []
}
}
// response if Kaal Sarpa Dosha is true
{
"success": 1,
"data": {
"result": "true",
"intensity": "Mild",
"name": "Shankhachur Kaalsarp Dosh",
"direction": "Descending",
"remedies": [
"Worship Snake God every Sunday. This ritual is believed to alleviate different types of Kaal Sarp Dosha effects from the native’s life.",
"Wear Gomed or Garnet. This Kaal Sarp Dosh gemstone embossed in a silver ring may help in getting rid of the malefic effects of this Dosha.",
"Chanting powerful Shiva Mantras is an effective remedy for the removal of Kaal Sarp Dosha’s effects. Mantras like “Om Namah Shivay” is the most recommended Kaal Sarp Dosha Nivaran Mantra to get rid of the dreadful Dosha.",
"Pray to Lord Shiva and Abhishek the Shivling with Milk to remove Kaal Sarp Dosh from Kundli. This is the best Kaal Sarp Dosh Nivaran Upay suggested by astrologers for a happy and blissful life.",
"Wearing a copper bangle in the right hand is an effective Kaal Sarp Dosha Nivaran Lal Kitaab Upay or remedy.",
"Chant Gayatri Mantra 108 or 21 times every day to remove Kaal Sarp Dosha effects.",
"Worshipping Lord Natraj or dancing Lord Shiva alleviates Kaal Sarp Dosha Lakshan.",
"Kaal Sarp Dosh Nivaran Puja is the most effective remedy for Kaal Sarp Dosh’s effects. Performing Kaal Sarp Dosh Puja with the right Samagri and proper rituals under a priest’s guidance proves to be effective and advantageous.",
"Release a snake from the Bondage of a snake charmer. Give some donations to the person.",
"Feed aata (wheat flour) to fishes."
]
}
}
Below are examples of how you might call this API using different programming languages and environments.
curl --location 'https://astroapi-3.divineapi.com/indian-api/v1/kaal-sarpa-yoga' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'full_name="Rahul kumar"' \
--form 'day="24"' \
--form 'month="05"' \
--form 'year="2023"' \
--form 'hour="14"' \
--form 'min="40"' \
--form 'sec="43"' \
--form 'gender="male"' \
--form 'place="New Delhi "' \
--form 'lat="28.7041"' \
--form 'lon="77.1025"' \
--form 'tzone="5.5"' \
--form 'lan="en"'
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-3.divineapi.com/indian-api/v1/kaal-sarpa-yoga',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'full_name': 'Rahul kumar',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi ',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5',
'lan': 'en'
}
};
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("full_name", "Rahul kumar");
form.append("day", "24");
form.append("month", "05");
form.append("year", "2023");
form.append("hour", "14");
form.append("min", "40");
form.append("sec", "43");
form.append("gender", "male");
form.append("place", "New Delhi ");
form.append("lat", "28.7041");
form.append("lon", "77.1025");
form.append("tzone", "5.5");
form.append("lan", "en");
var settings = {
"url": "https://astroapi-3.divineapi.com/indian-api/v1/kaal-sarpa-yoga",
"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/kaal-sarpa-yoga"
payload = {'api_key': '{Your API Key}',
'full_name': 'Rahul kumar',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi ',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5',
'lan': 'en'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)