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

Navaratna reference table

GET
/vedic/gemstones/navaratna
request.sh
curl -X GET https://api.astroway.info/v1/vedic/gemstones/navaratna \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json"

The nine gems and their graha, with substitutes (upa-ratna), weekday, finger and its variants, metals, minimum weight range in ratti with gram and carat conversions, beeja mantra and japa count. Static lookup, no chart needed.

Successful calculation

Media type application/json
object
ok
boolean
data
object
count
number
nullable
conversions
object
rattiGrams
number
nullable
rattiCarats
number
nullable
gems
Array<object>
nullable
object
graha
number
nullable
grahaName
string
nullable
grahaSanskrit
string
nullable
gem
string
nullable
gemSanskrit
string
nullable
mineral
string
nullable
substitutes
Array<string>
nullable
wearing
object
day
string
nullable
finger
string
nullable
metals
Array<string>
nullable
minWeight
object
ratti
Array<number>
nullable
grams
Array<number>
nullable
carats
Array<number>
nullable
mantra
string
nullable
japaCount
number
nullable
disclaimer
string
nullable
Example
{
"ok": true
}

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"
}
}
Корисно?