/v1/prashna/chart
Prashna (horary) chart at question moment.
What this tells you
Prashna (horary) astrology answers specific questions based on the chart cast at the moment the question is asked. No natal chart required — the query itself is the input. Powerful for yes/no questions, lost-object location, travel timing, and quick decisions.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.divyastroapi.com/v1/prashna/chart?date=2026-04-19&time=06%3A30&tz=%2B05%3A30&lat=28.61&lon=77.21" \
-H "Authorization: Bearer dv_live_0123456789abcdef0123456789abcdef"Response (200 OK)
Successful requests return a JSON body. Field names are stable across versions.
{
"moment": "2026-04-19T14:30:00+05:30",
"prashna_ascendant": { "sign": "Leo", "degree": 15.2, "nakshatra": "Purva Phalguni", "pada": 2 },
"gulika_position": { "sign": "Sagittarius", "degree": 12.3 },
"planets": [
{ "name": "Sun", "sign": "Aries", "house": 9, "degree": 6.12 },
{ "name": "Moon", "sign": "Cancer", "house": 12, "degree": 22.88 },
{ "name": "Mercury", "sign": "Aries", "house": 9, "degree": 14.20 },
{ "name": "Mars", "sign": "Sagittarius","house": 5, "degree": 8.71 },
{ "name": "Jupiter", "sign": "Aries", "house": 9, "degree": 2.15 }
]
}Field reference
Every field in the response, with its type, a real example, and what it means.
| Field | Type | Meaning |
|---|---|---|
| moment | string | Moment the question was asked — drives the Prashna chart. example: "2026-04-19T14:30:00+05:30" |
| prashna_ascendant | object | Ascendant at the query moment. example: … |
| gulika_position | object | Gulika position — classical auxiliary ascendant for Prashna. example: … |
| planets[] | array | Planetary positions at the query moment, bucketed into houses from the Prashna ascendant. example: […] |
Usage tips
How to use it
- Time of question = query momentThe user's timestamp IS the input. Don't let users pick arbitrary dates for Prashna — it defeats the purpose.
Errors
Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.
401 Unauthorized
{
"error": {
"code": "unauthorized",
"message": "missing or invalid API key",
"request_id": "req_01hqy7k8c3e7m1n"
}
}402 Payment Required
{
"error": {
"code": "trial_exhausted",
"message": "your free trial credits are exhausted — pick a plan to continue",
"top_up_url": "https://divyastroapi.com/pricing",
"request_id": "req_01hqy7k8c3e7m1n"
}
}429 Too Many Requests
{
"error": {
"code": "rate_limited",
"message": "rate limit exceeded; retry after 12 seconds",
"request_id": "req_01hqy7k8c3e7m1n"
}
}Try it
Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 500 free credits. Sign up.