Skip to content
POST/api/astro/ashtakvarga/prastara/1 credit

Prastara ashtakavarga

The full ashtakavarga grid the other tables are summed from. Eight planets, each with a row per contributor — the seven grahas plus Rahu and Ketu — giving a bindu or nothing for each of the twelve signs. Bhinnashtakavarga is the column-sum of one of these grids and sarvashtakavarga is the sum of all of them, so this is the working behind both: what you need to show WHY a sign scores as it does rather than only that it does. Each row comes back three ways — keyed by sign name, as the raw twelve in order for anyone plotting a chart, and with its own total. The engine returns only the bare twelve, and nothing in that array says which end is Aries.

https://yogataraapi.prahlad.app/api/astro/ashtakvarga/prastara/
Test Request

Authentication

Send your key in the X-API-Key header. Keys are server-side credentials — never put one in browser JavaScript or a mobile app.

X-API-Key: yt_live_a1b2c3d4_…
Content-Type: application/json

Request fields

FieldTypeRequiredNotes
date_timestring (date-time)required

The moment to calculate for, ISO 8601. ALWAYS include an offset or a trailing Z - a value with no zone is read as Asia/Kolkata (UTC+05:30), not UTC, and can return the previous day's result with a 200. '2026-09-01T06:00:00Z' and '2026-09-01 06:00:00' are different instants and give different answers.

latitudenumber (double)required

Latitude of the place, in decimal degrees. Positive is north, negative is south. Example: 26.9124 for Jaipur, 40.7128 for New York. Minutes and seconds are not accepted - convert first.

min -89.9 · max 89.9

longitudenumber (double)required

Longitude of the place, in decimal degrees. Positive is east, negative is west. Example: 75.7873 for Jaipur, -74.0060 for New York. Note the sign: a missing minus puts New York in China.

min -180 · max 180

timezone_as_floatnumber (double)required

UTC offset of the place, in hours, as a decimal. Example: 5.5 for India (UTC+05:30), -5 for New York in winter, 5.75 for Nepal. This is NOT validated against date_time - if the two disagree you get a successful response for the wrong moment, so derive both from the same source. Use the offset in force on that date, not today's: a summer birth in a country with daylight saving needs the summer offset.

min -12 · max 14

apply_ekadhipatya_reductionsbooleanoptional
chart_namestringoptional
keysarrayoptional

Which calculations to return, as a list of names. See the key table for this endpoint; an unrecognised name rejects the whole request. One call costs one credit however many keys you ask for, so request everything you need at once rather than making several calls.

use_eight_ashtakavargas_in_savbooleanoptional

Example request

curl -X POST https://yogataraapi.prahlad.app/api/astro/ashtakvarga/prastara/ \
  -H "X-API-Key: $OCCULT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date_time":"1990-08-15T10:30:00+05:30","latitude":26.9124,"longitude":75.7873,"timezone_as_float":5.5,"chart_name":"RashiChart"}'

Response

{
  "_truncated": true,
  "_note": "Response shortened for the catalogue.",
  "preview": "{\"data\": {\"chart\": \"RashiChart\", \"signs\": [\"Aries\", \"Taurus\", \"Gemini\", \"Cancer\", \"Leo\", \"Virgo\", \"Libra\", \"Scorpio\", \"Sagittarius\", \"Capricorn\", \"Aquarius\", \"Pisces\"], \"prastara\": {\"Sun\": {\"Sun\": {\"by_sign\": {\"Aries\": 1, \"Taurus\": 1, \"Gemini\": 0, \"Cancer\": 1, \"Leo\": 1, \"Virgo\": 0, \"Libra\": 1, \"Scorpio\": 0, \"Sagittarius\": 0, \"Capricorn\": 1, \"Aquarius\": 1, \"Pisces\": 1}, \"points\": [1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1], \"total\": 8}, \"Moon\": {\"by_sign\": {\"Aries\": 0, \"Taurus\": 0, \"Gemini\": 0, \"Cancer\": 1, \"Leo\": 0, \"Virgo\": 0, \"Libra\": 1, \"Scorpio\": 0, \"Sagittarius\": 0, \"Capricorn\": 0, \"Aquarius\": 1, \"Pisces\": 1}, \"points\": [0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1], \"total\": 4}, \"Mars\": {\"by_sign\": {\"Aries\": 1, \"Taurus\": 1, \"Gemini\": 0, \"Cancer\": 1, \"Leo\": 0, \"Virgo\": 0, \"Libra\": 1, \"Scorpio\": 1, \"Sagittarius\": 1, \"Capricorn\": 1, \"Aquarius\": 1, \"Pisces\": 0}, \"points\": [1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0], \"total\": 8}, \"Mercury\": {\"by_sign\": {\"Aries\": 1, \"Taurus\": 1, \"Gemini\": 1, \"Cancer\": 1, \"Leo\": 0, \"Virgo\": 0, \"Libra\": 1, \"Scorpio\": 0, \"Sagittarius\": 1, \"Capricorn\": 1, \"Aquarius\": 0, \"Pisces\": 0}, \"points\": [1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0], \"total\": 7}, \"Jupiter\": {\"by_sign\": {\"Aries\": 0, \"Taurus\": 1, \"Gemini\": 0, \"Cancer\": 0, \"Leo\": 0, \"Virgo\": 0, \"Libra\": 0, \"Scorpio\": 1, \"Sagittarius\": 1, \"Capricorn\": 0, \"Aquarius\": 0, \"Pisces\": 1}, \"points\": [0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1], \"total\": 4}, \"Venus\": {\"by_sign\": {\"Aries\": 0, \"Taurus\": 0, \"Gemini\": 1, \"Cancer\": 0, \"Leo\": 0, \"Virgo\": 0, \"Libra\": 0, \"Scorpio\": 0, \"Sagittarius\": 1, \"Capricorn\": 1, \"Aquarius\": 0, \"Pisces\": 0}, \"points\": [0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0], \"total\": 3}, \"Saturn\": {\"by_sign\": {\"Aries\": 0, \"Taurus\": 0, \"Gemini\": 1, \"Cancer\": 1, \"Leo\": 1, \"Virgo\": 1, \"Libra\": 1, \"Scorpio\": 0, \"Sagittarius\": 1, \"Capricorn\": 1, \"Aquarius\": 0, \"Pisces\": 1}, \"points\": [0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1], \"total\": 8}, \"Rahu\": {\"by_sign\": {\"Aries\": 0, \"Taurus\": 0, \"Gemini\": 1, \"Cancer\": 1, \"Leo\": 1, \"Virgo\": 0, \"Libra\": 0, \"Scorpio\": 1, \"Sagittarius\": 1, \"Capricorn\": 0, \"Aquarius\": 1, \"Pisces\": 0}, \"points\": [0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0], \"total\": 6}, \"Ketu\": {\"by_sign\": {\"Aries\": 0, \"Taurus\": 0, \"Gemini\": 0, \"Cancer\": 0, \"Leo\": 0, \"Virgo\": 0, \"Libra\": 0, \"Scorpio\": 0, \"Sagittarius\": 0, \"Capricorn\": 0, \"Aquarius\": 0, \"Pisces\": 0}, \"points\": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], \"total\": 0}}, \"Moon\": {\"Sun\": {\"by_sign\": {\"Aries\": 1, \"Taurus\": 1, \"Gemini\": 0, \"Cancer\": 0, \"Leo\": 0, \"Virgo\": 1, \"Libra\": 0, \"Scorpio\": 0, \"Sagittarius\": 1, \"Capricorn\": 1, \"Aquarius\": 1, \"Pisces\": 0}, \"points\": [1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0], \"total\": 6}, \"Moon\": {\"by_sign\": {\"Aries\": 0, \"Taurus\": 1, \"Gemini\": 0, \"Cancer\": 1, \"Leo\": 0, \"Virgo\": 0, \"Libra\": 1, \"Scorpio\": 1, \"Sagittarius\": 0, \"Capricorn\": 1, \"Aquarius\": 1, \"Pisces\": 1}, \"points\": [0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1], \"total\": 7}, \"Mars\": {\"by_sign\": {\"Aries\": 0, \"Taurus\": 1, \"Gemini\": 1, \"Cancer\": 0, \"Leo\": 1, \"Virgo\": 1, \"Libra\": 0, \"Scorpio\": 0, \"Sagittarius\": 0, \"Capricorn\": 1, \"Aquarius\": 1, \"Pisces\": 0}, \"points\": [0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0], \"total\": 6}, \"Mercury\": {\"by_sign\": {\"Aries\": 0, \"Taurus\": 1, \"Gemini\": 1, \"Cancer\": 0, \"Leo\": 1, \"Virgo\": 0, \"Libra\": 1, \"Scorpio\": 1, \"Sagittarius\": 1, \"Capricorn\": 0, \"Aquarius\": 1, \"Pisces\": 1}, \"points\": [0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1], \"total\": 8}, \"Jupiter\": {\"by_sign\": {\"Aries\": 1, \"Taurus\": 1, \"Gemini\": 0, \"Cancer\": 1, \"Leo\": 1, \"Virgo\": 0, \"Libra\": 1, \"Scorpio\": 0, \"Sagittarius\": 0, \"Capricorn\": 1, \"Aquarius\": 1, \"Pisces\": 0}, \"points\": [1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0], \"total\": 7}, \"Venus\": {\"by_sign\": {\"Aries\": 1, \"Taurus\": 1, \"Gemini\": 0, \"Cancer\": 0, \"Leo\": 0, \"Virgo\": 1, \"Libra\": 1, \"Scorpio\": 1, \"Sagittarius\": 0, \"Capricorn\": 1, \"Aquarius\": 0, \"Pisces\": 1}, \"points\": [1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1], \"total\": 7}, \"Saturn\": {\"by_sign\": {\"Aries\": 1, \"Taurus\": 1, \"Gemini\": 0, \"Cancer\": 0, \"Leo\": 0, \"Virgo\": 0, \"Libra\": 1, \"Scorpio\": 0, \"Sag"
}

Captured from a real call using the exact request above. Results sit under data.

Errors

Metering errors return { "error": "…", "message": "<code>", "is_error": true }. Show error to people and branch on message. See the error reference.