Vedic

Remedies for a birth chart

Changed on

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.

post/vedic/remedies/chart

Request

Query parameters

fieldsstring

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.

precisioninteger

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.

Headers

Idempotency-Keystring

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/.

Request body

datestring required
timestring required
timezoneOffsetnumber nullable

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.

timezonestring

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.

latitudenumber required

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

longitudenumber required

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

houseSystem'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'
namestring
citystring
zodiacType'tropical' | 'sidereal'
ayanamsaIdnumber nullable
ayanamsa'fagan-bradley' | 'lahiri' | 'de-luce' | 'raman' | 'krishnamurti' | 'kp' | 'yukteshwar' | 'jn-bhasin' | 'true-citra' | 'djwhal-khul'

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

cosmogramboolean
typesstring[]

Return only these remedy types. All types when omitted.

targetDatestring

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

Example request

{
  "timezone": "Europe/Kyiv"
}

Response

Successful calculation

okboolean

Example response

{
  "ok": true
}

Changes