Gemstone (ratna) recommendation
Changed onWhich of the nine gems to wear, from the sidereal lagna. Two schools are implemented: lagna-lord (default) prescribes the gems of the 1st, 9th and 5th lords as the life, lucky and benefic stones; functional-benefic classifies every graha by the houses it owns from the lagna, prescribes only for functional benefics led by the yogakaraka, and names the functional malefics as gems to avoid. Both reach the same three gems, because a functional benefic is a graha owning a trikona and the trikona lords are the 1st, 5th and 9th: the school changes the ordering, the role each gem carries, and the avoid list. The response always reports which one produced it. Coordinates are required, since the whole answer is derived from the lagna. Each gem carries its substitutes, day, finger, metal, weight range in ratti/grams/carats, and beeja mantra. Planet dignity is returned as context and does not change the list.
Request
- Base URL: https://api.astroway.info/v1
- URL: https://api.astroway.info/v1/vedic/gemstones
- Auth: API key in header X-Api-Key
Query parameters
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.
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.
Request body
Example request
{
"timezone": "Europe/Kyiv"
}Response
Successful calculation
Example response
{
"ok": true
}Changes
- warning
changed the pattern of the request property
////from^\d{2}:\d{2}:\d{2}$to^\d{2}:\d{2}(:\d{2})?$
- warning
- info
added the new optional
queryrequest parameterfields - info
added the new optional
queryrequest parameterprecision
- info