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

Kaal Sarpa Dosha API

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.


Step-by-Step Kaal Sarpa Dosha API Postman Testing Integration

POST https://astroapi-3.divineapi.com/indian-api/v1/kaal-sarpa-yoga

Returns Kaal Sarpa Dosha information in response.


Supported Language Codes

Support Article URL - https://support.divineapi.com/general-api-support/translating-an-indian-vedic-apis-into-a-different-language

CodeLanguage
enEnglish
hiHindi
bnBengali
maMarathi
tmTamil
tlTelugu
mlMalayalam
knKannada

Guide: These languages are supported by this API. You can use them by passing "lan" in the request body with the desired language code.


Headers

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

Request Body Parameters

NameTypeDescription
api_key*StringYour API key
full_name*StringFull name (e.g., Rahul Kumar)
day*IntegerDate of birth (e.g., 24)
month*IntegerMonth of birth (e.g., 05)
year*IntegerYear of birth (e.g., 2023)
hour*IntegerHour of birth (e.g., 14)
min*IntegerMinute of birth (e.g., 40)
sec*IntegerSecond (e.g., 43)
gender*StringGender (e.g., male)
place*StringBirthplace (e.g., New Delhi)
lat*FloatLatitude (e.g., 28.7041)
lon*FloatLongitude (e.g., 77.1025)
tzone*FloatTimezone (e.g., 5.5). See Timezone List.
lanStringLanguage code (default is "en").

200: OK – Kaal Sarpa Dosha Fetched Successfully

// 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."
        ]
    }
}

Example Integrations

Below are examples of how you might call this API using different programming languages and environments.


cURL Example

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"'

NodeJS Example

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);
});

JavaScript (jQuery AJAX) Example

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);
});

Python Example

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)