GET/v1/astro/nakshatra/{name}
Nakshatra Profile
Returns the complete classical profile of one nakshatra, from deity and ruling planet to favourable activities and body map. The profile covers deity, ruling planet, gana, nature, body part, profession, life themes, strengths, challenges, favorable/unfavorable activities, and body map. The name is matched ignoring case, spaces, hyphens and common romanisation differences (e.g. 'uttarashadha' finds Uttara Ashadha, 'Aswini' finds Ashwini); an unknown name returns 404 with the 27 valid names.
Request parameters
namerequired
string
Response fields
success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.name
string
data.id
string | null
Fixed id of
name (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.data.label
string | null
name 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; show it to people, never store or compare it.data.index
integer
data.interpretation
object
data.activities
object
data.body_map
object
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.