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

Remedies for a birth chart

POST
/vedic/remedies/chart
request.sh
curl -X POST https://api.astroway.info/v1/vedic/remedies/chart \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json" \
-d '{ "date": "1990-05-15", "time": "15:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "targetDate": "2026-11-07" }'

Finds the grahas that are weak or afflicted in a sidereal chart and the doshas present, and returns their remedies with the reason each graha was selected. A graha is selected when its Shadbala is below the BPHS 27.32-33 requirement, when it is debilitated, when it is combust, or when it forms a present dosha (Mangal, Kaal Sarp, Pitru, Shrapit, Grahan, Guru-Chandal as on /vedic/doshas/parashara/full, Kemadruma by BPHS 37.11-13, Sade Sati on targetDate). checked shows every graha’s Shadbala against its requirement and every dosha’s result. Coordinates are required. Optional types filter. Nothing is ranked or prescribed.

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
Idempotency-Key
string
>= 1 characters <= 255 characters /^[\x21-\x7E]+$/

Unique per logical operation, kept across retries. For 24 hours from the first request, a repeat with the same key, method, path, body and query string returns the stored response with Idempotent-Replayed: true and costs 0 credits. The same key with a different body or query string is a 409 IDEMPOTENCY_KEY_REUSED; a repeat while the first is still running is a 409 IDEMPOTENCY_IN_PROGRESS. Only 2xx responses are kept. See /idempotency/.

Example
01HXY2A7ZM0ABCDEF
Media type application/json

Birth data for chart-driven remedies. Required: date (YYYY-MM-DD), time (HH:mm:ss), latitude and longitude; coordinates do NOT default to 0 here. Optional: types to filter, targetDate for Sade Sati.

object
date required
string
/^\d{4}-\d{2}-\d{2}$/
time required
string
/^\d{2}:\d{2}(:\d{2})?$/
timezoneOffset

Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC. Ignored when timezone is sent.

number
0 nullable >= -14 <= 14
timezone

IANA zone name such as Europe/Kyiv, or auto to look the zone up from latitude and longitude. The server takes the offset that zone kept at this local date and time, summer time included, and uses it in place of timezoneOffset. A clock time that happened twice takes the first occurrence; one skipped when clocks went forward takes the offset from before the change. Abbreviations such as EST are refused. Before 1970 the tz database is not reliable for every place, so send timezoneOffset when the local clock is known.

string
latitude required
number
>= -90 <= 90
longitude required
number
>= -180 <= 180
houseSystem
string
default: P
Allowed values: P K R C E W B M O A T V D F G H I i L N Q S U X Y
name
string
""
city
string
""
zodiacType
string
Allowed values: tropical sidereal
ayanamsaId
number
nullable
ayanamsa

Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.

string
Allowed values: fagan-bradley lahiri de-luce raman krishnamurti kp yukteshwar jn-bhasin true-citra djwhal-khul
cosmogram
boolean
latitude

Birth latitude. Required: Shadbala and the doshas read the lagna.

number
>= -90 <= 90
longitude

Birth longitude. Required: Shadbala and the doshas read the lagna.

number
>= -180 <= 180
types

Return only these remedy types. All types when omitted.

Array<string>
>= 1 items <= 10 items
Allowed values: mantra puja deity yantra rudraksha fasting charity colour gemstone lal-kitab
targetDate

Date for the Sade Sati check, YYYY-MM-DD (UTC noon). Today when omitted.

string
/^\d{4}-\d{2}-\d{2}$/
Example
{
"date": "1990-05-15",
"time": "15:30:00",
"timezoneOffset": 3,
"latitude": 50.45,
"longitude": 30.52,
"targetDate": "2026-11-07"
}

Successful calculation

Media type application/json
object
ok
boolean
data
object
type
string
nullable
ayanamsa
number
nullable
lagna
object
sign
number
nullable
signName
string
nullable
selected
object
grahas
Array<object>
nullable
object
graha
string
nullable
name
string
nullable
reasons
Array<object>
nullable
object
code
string
nullable
dosha
string
nullable
detail
string
nullable
source
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
doshas
Array<object>
nullable
object
dosha
string
nullable
name
string
nullable
classicalStatus
string
nullable
grahas
Array<string>
nullable
details
Array<string>
nullable
specific
Array
nullable
related
Array<object>
nullable
object
method
string
nullable
path
string
nullable
note
string
nullable
checked
object
grahas
Array<object>
nullable
object
graha
string
nullable
shadbalaVirupa
number
nullable
shadbalaRequired
number
nullable
sign
string
nullable
dignity
string
nullable
isCombust
boolean
nullable
doshas
object
mangal
boolean
nullable
kaal-sarp
boolean
nullable
pitru
boolean
nullable
shrapit
boolean
nullable
grahan
boolean
nullable
guru-chandal
boolean
nullable
kemadruma
boolean
nullable
sade-sati
boolean
nullable
sadeSatiDate
string
nullable
rules
Array<string>
nullable
basisNote
string
nullable
disclaimer
string
nullable
Example
{
"ok": true,
"data": {
"type": "remedies-for-chart",
"ayanamsa": 23.7226,
"lagna": {
"sign": 5,
"signName": "Virgo"
},
"selected": {
"grahas": [
{
"graha": "rahu",
"name": "Rahu",
"reasons": [
{
"code": "dosha",
"dosha": "shrapit",
"detail": "Rahu forms Shrapit dosha.",
"source": "Detected as on /v1/vedic/doshas/parashara/shrapit"
},
{
"code": "dosha",
"dosha": "grahan",
"detail": "Rahu forms Grahan dosha.",
"source": "Detected as on /v1/vedic/doshas/parashara/grahan"
}
],
"remedies": [
{
"graha": "rahu",
"dosha": null,
"id": "rahu.vedic-mantra",
"type": "mantra",
"title": "Vedic mantra of Rahu",
"detail": {
"mantraKind": "vedic",
"pratika": "Kaya nas chitra",
"vedaRef": "Rigveda 4.31.1",
"japaCount": 18000
},
"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": "rahu",
"dosha": null,
"id": "rahu.beeja-mantra",
"type": "mantra",
"title": "Beeja mantra of Rahu",
"detail": {
"mantraKind": "beeja",
"mantra": "Om Bhraam Bhreem Bhraum Sah Rahave 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."
}
]
},
{
"graha": "moon",
"name": "Moon",
"reasons": [
{
"code": "dosha",
"dosha": "grahan",
"detail": "Moon forms Grahan dosha.",
"source": "Detected as on /v1/vedic/doshas/parashara/grahan"
}
],
"remedies": [
{
"graha": "moon",
"dosha": null,
"id": "moon.vedic-mantra",
"type": "mantra",
"title": "Vedic mantra of Moon",
"detail": {
"mantraKind": "vedic",
"pratika": "Imam deva",
"vedaRef": "Shukla Yajurveda (Vajasaneyi) 9.40",
"japaCount": 11000
},
"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": "moon",
"dosha": null,
"id": "moon.beeja-mantra",
"type": "mantra",
"title": "Beeja mantra of Moon",
"detail": {
"mantraKind": "beeja",
"mantra": "Om Shraam Shreem Shraum Sah Chandraya 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."
}
]
}
],
"doshas": [
{
"dosha": "mangal",
"name": "Mangal (Kuja) dosha",
"classicalStatus": "Named in classical matchmaking texts; the house list and the exceptions vary by school.",
"grahas": [
"mars"
],
"details": [
"School: south (houses checked: 1,2,4,7,8,12 from Lagna+Moon+Venus)",
"Mars in house 2 from Moon (Mangal-house)"
],
"specific": [],
"related": [
{
"method": "POST",
"path": "/v1/vedic/compatibility/dosha-cancellation",
"note": "The textual exceptions for a couple, each with its verse."
},
{
"method": "POST",
"path": "/v1/vedic/doshas/lal-kitab/manglik",
"note": "The Lal Kitab reading and its remedy."
}
]
},
{
"dosha": "shrapit",
"name": "Shrapit dosha",
"classicalStatus": "A modern name for Saturn with Rahu; not in the classical texts. The remedies are those of the two grahas.",
"grahas": [
"saturn",
"rahu"
],
"details": [
"Saturn + Rahu conjunct in Capricorn, house 5: Shrapit Dosha formed"
],
"specific": [],
"related": [
{
"method": "POST",
"path": "/v1/vedic/doshas/lal-kitab/shrapit",
"note": "The Lal Kitab reading and its remedy."
}
]
}
]
},
"checked": {
"grahas": [
{
"graha": "sun",
"shadbalaVirupa": 411.59,
"shadbalaRequired": 390,
"sign": "Taurus",
"dignity": "neutral",
"isCombust": false
},
{
"graha": "moon",
"shadbalaVirupa": 448.75,
"shadbalaRequired": 360,
"sign": "Capricorn",
"dignity": "neutral",
"isCombust": false
}
],
"doshas": {
"mangal": true,
"kaal-sarp": false,
"pitru": false,
"shrapit": true,
"grahan": true,
"guru-chandal": false,
"kemadruma": false,
"sade-sati": false
},
"sadeSatiDate": "2026-11-07"
},
"rules": [
"A graha is selected when its Shadbala is below the BPHS 27.32-33 requirement, when it is debilitated, when it is combust, or when it forms a present dosha.",
"Rahu and Ketu are selected only through a present dosha."
],
"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"
}
}