Copy page
Copy page as Markdown for LLMs
This documentation explains how to use the Pitra Dosha API to determine whether Pitra Dosha is present in a native’s horoscope and, if present, to fetch interpretive content and recommended remedies.
Step by Step Yogas API Postman Testing Integration
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 pass the lan parameter in the body with one of the above codes. If not passed, the API defaults to en.
POST https://astroapi-3.divineapi.com/indian-api/v1/pitra-dosha
This API evaluates the birth details and identifies whether Pitra Dosha is present.
If Pitra Dosha is not present, it returns a simple response with pitra_dosha: "false".
If Pitra Dosha is present, it returns descriptive text explaining the karmic basis and a list of standard Vedic/ritual remedies.
| 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 (24-hour), e.g. 14 |
| min* | Integer | Minute, e.g. 40 |
| sec* | Integer | Second, e.g. 43 |
| gender* | String | Gender, e.g. male |
| place* | String | Place of birth, 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 | Optional language code from the table above, default is en |
// If pitra dosha is false
{
"success": 1,
"data": {
"pitra_dosha": "false",
"content": {
"detail": []
},
"remedies": []
}
}
// If pitra dosha is true
{
"success": 1,
"data": {
"pitra_dosha": "true",
"content": {
"detail": [
"This is a dosha which occurs in your chart due to the effect of the curse in the life of your ancestors. It could be possible that one or more of your ancestors (pitras) carried some sinful or unapproved deeds in their life. The malice created by the virtue of their bad karma gets forwarded to their further generations. Thus pitradosh is an inheritence of the karmic debt of the family line and you have to accpet it. Some of the effects of this dosha is delayed marriage, chronic ailments in the family, financial misery, accidents and death."
]
},
"remedies": [
"Perform Pitru Trapan and Shraddha Puja for the pacification of the souls of your ancestors.",
"Feed Brahmins and donate red clothes to them.",
"Perform Rudrabhishekam and offer water to the banyan tree.",
"Feed cows, dogs and crows daily.",
"Chant Mahamrityunjaya Mantra 1,25,000 times and wear a rudraksha mala.",
"Organise a Narayan Bali Shraddha at the bank of a sacred river."
]
}
}curl --location 'https://astroapi-3.divineapi.com/indian-api/v1/pitra-dosha' \
--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/pitra-dosha',
'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/pitra-dosha",
"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/pitra-dosha"
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)