Skip to main content
POST/v1/astro/prashna

Prashna (Horary Chart)

Computes a Prashna (Horary) chart for the exact moment a question is asked. Returns lagna, Moon analysis, house lord condition, occupants of the relevant house, and a classical verdict (favourable / unfavourable / mixed) with confidence level. Question category determines which house is analysed; that house and its lord are taken by whole sign from the lagna, like the planets' houses.

Request parameters​

latituderequired
number
Querent location latitude
longituderequired
number
Querent location longitude
questionrequired
string
Question category
target_dateoptional
string | null
YYYY-MM-DD. Defaults to now: the current date and time in target_timezone.
target_timeoptional
string | null
HH:MM (24h), with target_date. Defaults to the current time in target_timezone; ignored without target_date.
target_timezoneoptional
string | null
IANA timezone for input date/time
ayanamsaoptional
string
Ayanamsa system: lahiri (default), raman, kp, or tropical for a zero offset, as on every other chart endpoint

Response fields​

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.ayanamsa
string
data.question
string
data.primary_house
integer
data.ithsala_applying
boolean
Tajika Ithasala (applying) between the Lagna lord and the quesited house lord, by the Varshaphal rule: Tajika aspect by sign (same sign, 3rd/11th, 4th/10th, 5th/9th, 7th), the gap between their degrees closing by their true daily motions (retrograde included: vakra-ithasala) within the mean of their Deeptamsas. False when one planet rules both houses (always for 'self'; compare lagna.lord and house_analysis.lord).
data.ithsala_separating
boolean
Tajika Musaripha (separating): the two lords in Tajika aspect within the same orb but the gap between their degrees opening. False when one planet rules both houses.
data.query_utc
string
data.lagna
object
data.lagna.rashi_index
integer
data.lagna.rashi
string
data.lagna.rashi_id
string | null
Fixed id of rashi (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.lagna.rashi_label
string | null
rashi 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.lagna.longitude
number
data.lagna.lord
string
data.lagna.lord_id
string | null
Fixed id of lord (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.lagna.lord_label
string | null
lord 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.house_analysis
object
data.house_analysis.house
integer
data.house_analysis.rashi_index
integer
Sign of the quesited house, counted whole sign from the lagna sign (0 = Mesha).
data.house_analysis.rashi
string
data.house_analysis.rashi_id
string | null
Fixed id of rashi (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.house_analysis.rashi_label
string | null
rashi 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.house_analysis.lord
string
Lord of the quesited house by whole sign (lord of its sign), as BPHS reads lordship.
data.house_analysis.lord_id
string | null
Fixed id of lord (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.house_analysis.lord_label
string | null
lord 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.house_analysis.lord_dignity
string
data.house_analysis.lord_house
integer
data.house_analysis.lord_longitude
number
data.house_analysis.occupants
array[string]
data.house_analysis.occupant_ids
array[string] | null
Fixed id of occupants (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.house_analysis.occupant_labels
array[string] | null
occupants 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.moon
object
data.moon.longitude
number
data.moon.rashi_index
integer
data.moon.rashi
string
data.moon.rashi_id
string | null
Fixed id of rashi (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.moon.rashi_label
string | null
rashi 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.moon.nakshatra
string
data.moon.nakshatra_id
string | null
Fixed id of nakshatra (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.moon.nakshatra_label
string | null
nakshatra 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.moon.phase
string
data.moon.dignity
string
data.moon.void_of_course
boolean
data.moon.afflicted_moon
boolean
data.moon.applying_to_benefic
boolean
data.verdict
object
data.verdict.verdict
string
data.verdict.confidence
string
data.verdict.score
integer
data.planets
object
data.house_cusps
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.