Skip to main content
GET/v1/astro/planet-nature

Graha Nature

Returns classical graha properties for all nine planets or a single planet. Includes tattva, guna, gender, caste, direction, color, deity, ruling day, metal, body part governed, and naisargika maitri (natural friends, enemies, neutrals). Pass ?planet=Sun (or Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu) for a single planet. Omit ?planet to get all nine planets.

Request parameters​

planetoptional
string | null
One of Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu (case-sensitive). Omit for all nine.

Response fields​

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
PlanetNatureAllResponse | PlanetNatureSingleResponse
The endpoint response payload
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.