Перейти до вмісту
AstroWay/api v2.325.0 · docs
усі системи в нормі

Remedies for one dosha

GET
/vedic/remedies/by-dosha
request.sh
curl -X GET https://api.astroway.info/v1/vedic/remedies/by-dosha?dosha=sade-sati \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json"

Remedies of one dosha (dosha: mangal, kaal-sarp, pitru, sade-sati, grahan, shrapit, guru-chandal, kemadruma). classicalStatus says whether the dosha itself is in the classical texts; specific holds the rites written for it or for its nearest classical trigger (BPHS 83 curses, BPHS 91 eclipse birth), each noting what it was written for; grahaRemedies holds the remedies of the grahas it is defined over; detection names the route that checks a chart for it. Optional type filter.

dosha required
string
Allowed values: mangal kaal-sarp pitru sade-sati grahan shrapit guru-chandal kemadruma
Example
sade-sati

The dosha, lowercase and hyphenated.

type
string
Example
mantra,puja

Remedy type, or a comma list of them: mantra, puja, deity, yantra, rudraksha, fasting, charity, colour, gemstone, lal-kitab. All types when omitted.

fields
string

Comma-separated dotted paths, relative to data, to keep in the response. A path is applied to every element of an array, so planets.name means the name of each planet. Paths that match nothing come back in _fields_unmatched; a list where nothing matches at all is a 400, because an empty object would be a confident wrong answer.

Example
planets.name,planets.longitude
precision
integer
<= 15

Round every non-integer number in the response to this many decimal places. Integers are left alone, because an id is not a measurement. Ecliptic longitudes ship with fourteen decimals by default; 2 is about a tenth of an arcminute.

Example
4

Successful calculation

Media type application/json
object
ok
boolean
data
object
dosha
string
nullable
name
string
nullable
classicalStatus
string
nullable
grahas
Array<string>
nullable
detection
object
method
string
nullable
path
string
nullable
note
string
nullable
specific
Array
nullable
related
Array
nullable
grahaRemedies
Array<object>
nullable
object
graha
string
nullable
grahaId
number
nullable
name
string
nullable
sanskrit
string
nullable
remedies
Array<object>
nullable
object
graha
string
nullable
dosha
nullable
id
string
nullable
type
string
nullable
title
string
nullable
detail
object
mantraKind
string
nullable
pratika
string
nullable
vedaRef
string
nullable
japaCount
number
nullable
source
string
nullable
basis
string
nullable
note
string
nullable
basisNote
string
nullable
disclaimer
string
nullable
Example
{
"ok": true,
"data": {
"dosha": "sade-sati",
"name": "Sade Sati",
"classicalStatus": "Saturn's transit over the 12th, 1st and 2nd signs from the natal Moon. The seven-and-a-half-year name and its remedies are later usage.",
"grahas": [
"saturn"
],
"detection": {
"method": "POST",
"path": "/v1/vedic/doshas/kp/sade-sati",
"note": "Phase on targetDate."
},
"specific": [],
"related": [],
"grahaRemedies": [
{
"graha": "saturn",
"grahaId": 6,
"name": "Saturn",
"sanskrit": "Shani",
"remedies": [
{
"graha": "saturn",
"dosha": null,
"id": "saturn.vedic-mantra",
"type": "mantra",
"title": "Vedic mantra of Saturn",
"detail": {
"mantraKind": "vedic",
"pratika": "Sham no devir",
"vedaRef": "Rigveda 10.9.4",
"japaCount": 23000
},
"source": "BPHS ch. 84 vv. 17-20 (graha shanti; ch. 86 in the G.C. Sharma 2006 edition) for the count; the mantra itself from Yajnavalkya Smriti, Acharadhyaya, Graha-shanti prakarana 1.300-1.301",
"basis": "classical",
"note": "The pratika is the opening words of the verse, which is how both texts name it. Counts are BPHS 84.17-20 as translated in the 97-chapter English text; editions and manuals differ on some of them."
},
{
"graha": "saturn",
"dosha": null,
"id": "saturn.beeja-mantra",
"type": "mantra",
"title": "Beeja mantra of Saturn",
"detail": {
"mantraKind": "beeja",
"mantra": "Om Praam Preem Praum Sah Shanaischaraya Namah"
},
"source": "Navagraha beeja mantras as printed in modern graha-shanti manuals; BPHS ch. 84 prescribes the Vedic mantra, not a beeja",
"basis": "modern-popular",
"note": "Manuals print small spelling variants of the same syllables. No classical count is attached to the beeja form."
}
]
}
],
"basisNote": "basis classical: the item is in the cited classical text. basis modern-popular: current practice, with the nearest documented source named; it is not in the classical texts.",
"disclaimer": "Traditional Jyotish practices, listed with their textual source for reference. Not a prediction, not a guarantee of any outcome, and not medical, psychological, financial or legal advice: no mantra, rite, bead or gem replaces a qualified professional."
}
}

Validation error

Media type application/json
Example
{
"ok": false,
"error": {
"code": "INVALID_INPUT",
"message": "Validation failed: date: Date must be YYYY-MM-DD",
"details": [
{
"path": "date",
"message": "Date must be YYYY-MM-DD"
}
]
}
}

Missing or invalid API key

Media type application/json
Example
{
"ok": false,
"error": {
"code": "INVALID_API_KEY",
"message": "Invalid API key"
}
}