Skip to main content
POST/v1/astro/gemstones

Gemstone Recommendations

Recommends gemstones based on the natal chart. Primary gemstone strengthens the Lagna lord (always a functional benefic). Further slots: Yogakaraka, 5th lord, 9th lord, and Atmakaraka. secondary is the first of those that is not the lagna lord's and not contraindicated. Returns contraindicated gemstones: dusthana (6/8/12) and 3rd/11th lords that own no trikona (Laghu Parashari sl. 6), debilitated planets, and combust planets — the same rule as POST /v1/crystals/recommend/natal. A slot whose planet is contraindicated carries contraindicated: true and a caution; it is never a silent recommendation. Request JSON follows BirthInput: name, date, time, location or latitude/longitude/timezone, ayanamsa.

Request parameters​

locationoptional
string | null
City name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
nameoptional
string
Person name associated with the birth record
daterequired
string
Birth date in YYYY-MM-DD format
timerequired
string
Birth time in HH:MM 24-hour format. Required: this endpoint has no sunrise fallback.
latitudeoptional
number | null
Latitude. Required if location not provided.
longitudeoptional
number | null
Longitude. Required if location not provided.
timezoneoptional
string | null
IANA timezone. Required if location not provided (unless utc_offset is given). For dates before the zone adopted a standard time, the birthplace's local mean time (longitude / 15 hours) is used.
utc_offsetoptional
string | null
Optional explicit UTC offset of the birth time, as ±HH:MM or ±HH:MM:SS (e.g. '+04:51:31' for Bombay mean time). Overrides the offset timezone would give. Use it when the birth record states the offset, or for historical local times the IANA database cannot represent.
ayanamsaoptional
string
Sidereal ayanamsa mode used in calculations

Response fields​

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.birth_time_provided
boolean
Always true: this endpoint requires the birth time and has no sunrise fallback, so house, Ascendant and Moon-dependent results use the time you sent.
data.primary
object
Lagna lord's gem: planet, reason, gemstone, substitute_gemstone, metal, colour, note. The lagna lord is always a functional benefic (BPHS Ch.34), so this is never withheld for lordship; it can still be contraindicated when the planet is debilitated or combust. Every gem slot (primary, yogakaraka_gem, fifth_lord_gem, ninth_lord_gem, atmakaraka_gem) also carries contraindicated (bool) and caution (string or null): when the slot's planet appears in contraindicated, the slot says contraindicated: true with a caution — do not wear that gem for this role. A 5th/9th lord that also owns a dusthana keeps contraindicated: false with a caution naming the dusthana.
data.secondary
object | null
The first usable second gem: the yogakaraka, 9th lord, 5th lord or Atmakaraka gem, in that order, skipping the lagna lord's and any contraindicated one. role names the slot it came from. Null when none is usable.
data.yogakaraka_gem
object | null
Yogakaraka's gem (planet, gemstone); null when the lagna has no yogakaraka; contraindicated and caution as under primary.
data.fifth_lord_gem
object | null
5th lord's gem (planet, gemstone); contraindicated and caution as under primary.
data.ninth_lord_gem
object | null
9th lord's gem (planet, gemstone); contraindicated and caution as under primary.
data.atmakaraka_gem
object | null
Atmakaraka's gem (planet, gemstone); contraindicated and caution as under primary.
data.contraindicated
array[object]
Planets whose gem must not be worn in this chart (planet, gemstone, reason): dusthana (6/8/12) and 3rd/11th lords that own no trikona, debilitated planets, combust planets. Same rule as POST /v1/crystals/recommend/natal.
data.note
string
key_labels
object | null
Labels of the names and ids this answer uses as map keys ({"Sun": ...} -> {"Sun": "सूर्य"}, {"varna": ...} -> {"varna": "वर्ण"}), in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; the keys themselves never change.

Errors​

Invalid API key format.
API key is missing. Include it in the Authorization header as 'Bearer YOUR_KEY'.
The provided API key was not found. Verify the key in your Asterwise dashboard.
This API key has been revoked.
Too many requests per minute. Please slow down.
Confirm your email first. Open the link we emailed you, or sign in at asterwise.com/dashboard to send a new one.
Something went wrong on our end. Please try again, or contact [email protected] if the problem persists. Include your request_id when contacting support.
Too many requests from this IP address. Please slow down.
Monthly API call limit reached. Upgrade your plan to continue.
Request body exceeds maximum allowed size of 64KB.
Your subscription has expired. Please renew at asterwise.com/dashboard to continue.
The request couldn't be processed. See the 'details' field for specific field-level issues.