Skip to main content

Gemstone Recommendations

Recommends gemstones based on the natal chart. Primary gemstone strengthens the Lagna lord. Secondary gemstone supports the Atmakaraka (soul planet). Returns contraindicated gemstones (debilitated, combust, dusthana lords, dual lagna/8th). Request JSON follows BirthInput: name, date, time, location or latitude/longitude/timezone, ayanamsa.

Endpoint

POST /v1/astro/gemstones

Request parameters

FieldTypeRequiredDescription
locationstring | nullNoCity name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
namestringNoPerson name associated with the birth record
datestringYesBirth date in YYYY-MM-DD format
timestring | nullNoBirth time in HH:MM 24-hour format. If omitted, sunrise chart is used as fallback.
latitudenumber | nullNoLatitude. Required if location not provided.
longitudenumber | nullNoLongitude. Required if location not provided.
timezonestring | nullNoIANA timezone. Required if location not provided.
ayanamsastringNoSidereal ayanamsa mode used in calculations

Example request

curl -X POST "https://api.asterwise.com/v1/astro/gemstones" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"date":"1985-11-12","time":"06:45","latitude":19.076,"longitude":72.8777,"timezone":"Asia/Kolkata"}'

Example response

{
"success": true,
"message": "success",
"data": {
"primary": {
"planet": "Venus",
"reason": "Withheld — lagna lord doubles as 8th lord",
"gemstone": "",
"substitute_gemstone": "",
"metal": "Silver",
"colour": "White",
"note": "Use with caution in charts where Venus rules difficult houses.",
"caution": null
},
"yogakaraka_gem": {
"planet": "Saturn",
"gemstone": "Blue Sapphire"
},
"fifth_lord_gem": {
"planet": "Saturn",
"gemstone": "Blue Sapphire"
},
"ninth_lord_gem": {
"planet": "Mercury",
"gemstone": "Emerald"
},
"atmakaraka_gem": {
"planet": "Sun",
"gemstone": "Ruby"
},
"secondary": {
"planet": "Sun",
"gemstone": "Ruby"
},
"contraindicated": [
{
"planet": "Venus",
"gemstone": "Diamond",
"reason": "lagna lord doubles as 8th lord; lords dusthana house 8"
},
{
"planet": "Sun",
"gemstone": "Ruby",
"reason": "debilitated — amplifies worst qualities"
},
"... and 4 more items"
],
"note": "Gemstone recommendations are based on classical Vedic principles. Always consult a qualified astrologer before wearing g…"
}
}

Response fields

FieldTypeDescription
successbooleanTrue if the request succeeded
messagestringHuman-readable status message
dataobject
data.primaryobject
data.secondaryobject | null
data.yogakaraka_gemobject | null
data.fifth_lord_gemobject | null
data.ninth_lord_gemobject | null
data.atmakaraka_gemobject | null
data.contraindicatedarray[object]
data.notestring

Errors

CodeDescriptionReference
authentication_failedMissing or invalid API key.authentication_failed
ephemeris_unavailableUpstream ephemeris service error.ephemeris_unavailable
insufficient_tierAPI key tier does not include this endpoint.insufficient_tier
internal_errorUnexpected server error.internal_error
ip_rate_limit_exceededToo many requests in a short window.ip_rate_limit_exceeded
payload_too_largeRequest body exceeds the size limit.payload_too_large
resource_not_foundReferenced resource was not found.resource_not_found
validation_errorRequest body failed schema validation.validation_error