Skip to content
BestAstroAPI

Advanced

Ashtakavarga

POST/v1/ashtakavarga

Bhinna and sarva ashtakavarga, trikona and ekadhipatya sodhana, and rasi/graha/sodhya pindas.

Request

FieldTypeDescription
datetimestringrequiredLocal birth time, YYYY-MM-DDTHH:MM[:SS]
latnumberLatitude, -90 to 90 (north positive). Send lat, lon and tz, or place, or place_id
lonnumberLongitude, -180 to 180 (east positive)
tzstringIANA zone (Asia/Kolkata) or offset (+05:30). Needed with lat and lon; filled in with a place
placestringPlace name instead of lat, lon and tz, for example Gorakhpur, Uttar Pradesh. If the name is not unique: ambiguous_place with choices
place_idintegerThe id of a place from place search, instead of lat, lon and tz
ayanamsastringlahiri (default) | raman | krishnamurti
nodestringmean (default) | true
house_systemstringwhole_sign (default) | equal | placidus | porphyry
outer_planetsbooleanAlso return Uranus, Neptune, Pluto (default false)

Example

curl -X POST "https://api.bestastroapi.in/v1/ashtakavarga" \
  -H "x-api-key: $BESTASTRO_KEY" \
  -H "content-type: application/json" \
  -d '{"datetime":"2004-05-18T10:30","lat":28.6139,"lon":77.209,"tz":"Asia/Kolkata"}'

Try it live

Sends a real request from your browser.

Response

  • [] is a list. {key} is a key that varies.
FieldTypeMeaning
birthBirthBirth details we used
notestringHow to read the lists
bhinnaobjectBhinna ashtakavarga: sun to saturn, and lagna
bhinna.{planet}integer[12]12 numbers by sign: index 0 = Aries, 11 = Pisces
sarvainteger[12]Sarva ashtakavarga. 12 numbers by sign: index 0 = Aries, 11 = Pisces
sarva_totalintegerSum of sarva, 337
trikona_sodhitaobjectAfter trikona sodhana: sun to saturn
trikona_sodhita.{planet}integer[12]12 numbers by sign: index 0 = Aries, 11 = Pisces
ekadhipatya_sodhitaobjectAfter ekadhipatya sodhana: sun to saturn
ekadhipatya_sodhita.{planet}integer[12]12 numbers by sign: index 0 = Aries, 11 = Pisces
pindaobjectPindas
pinda.rasiobjectRasi pinda: sun to saturn
pinda.rasi.{planet}integerValue
pinda.grahaobjectGraha pinda: sun to saturn
pinda.graha.{planet}integerValue
pinda.sodhyaobjectSodhya pinda: rasi plus graha
pinda.sodhya.{planet}integerValue

Objects used above

Birth The birth details we used, so you can check the timezone.

FieldTypeMeaning
datetimestringLocal time you sent, with seconds
tzstringZone you sent
utc_offsetstringUTC offset in force then, for example +05:30
utcstringISO 8601The same moment in UTC
latnumberdegreesLatitude
lonnumberdegreesLongitude
jd_utnumberJulian day (UT)
placePlaceUsedThe place we looked up. Only when you sent place or place_id optional
Raw sample
200 application/json
{
  "bhinna": {
    "jupiter": [
      4,
      6,
      3,
      5,
      6,
      3,
      5,
      5,
      5,
      4,
      5,
      5
    ],
    "lagna": [
      6,
      3,
      5,
      3,
      5,
      6,
      2,
      4,
      2,
      4,
      5,
      4
    ],
    "mars": [
      4,
      3,
      5,
      4,
      1,
      6,
      1,
      1,
      3,
      4,
      4,
      3
    ],
    "mercury": [
      6,
      2,
      5,
      6,
      3,
      6,
      3,
      1,
      4,
      7,
      6,
      5
    ],
    "moon": [
      6,
      2,
      3,
      3,
      5,
      4,
      6,
      5,
      4,
      2,
      5,
      4
    ],
    "saturn": [
      4,
      4,
      3,
      2,
      3,
      3,
      3,
      5,
      4,
      2,
      3,
      3
    ],
    "sun": [
      4,
      3,
      7,
      2,
      2,
      5,
      1,
      2,
      7,
      6,
      5,
      4
    ],
    "venus": [
      6,
      4,
      4,
      3,
      6,
      5,
      3,
      3,
      4,
      2,
      6,
      6
    ]
  },
  "birth": {
    "datetime": "2004-05-18T10:30:00",
    "jd_ut": 2453143.708333,
    "lat": 28.6139,
    "lon": 77.209,
    "tz": "Asia/Kolkata",
    "utc": "2004-05-18T05:00:00Z",
    "utc_offset": "+05:30"
  },
  "ekadhipatya_sodhita": {
    "jupiter": [
      0,
      3,
      0,
      0,
      2,
      0,
      0,
      0,
      1,
      1,
      1,
      0
    ],
    "mars": [
      3,
      0,
      4,
      3,
      0,
      0,
      0,
      0,
      0,
      1,
      1,
      0
    ],
    "mercury": [
      3,
      0,
      2,
      5,
      0,
      2,
      0,
      0,
      1,
      3,
      3,
      1
    ],
    "moon": [
      2,
      0,
      0,
      0,
      1,
      2,
      3,
      2,
      0,
      0,
      2,
      1
    ],
    "saturn": [
      1,
      2,
      0,
      0,
      0,
      1,
      0,
      1,
      0,
      0,
      0,
      0
    ],
    "sun": [
      2,
      0,
      6,
      0,
      0,
      0,
      0,
      0,
      2,
      3,
      3,
      2
    ],
    "venus": [
      2,
      2,
      1,
      0,
      2,
      1,
      0,
      0,
      0,
      0,
      3,
      3
    ]
  },
  "note": "arrays are indexed by sign: 0 = Aries .. 11 = Pisces",
  "pinda": {
    "graha": {
      "jupiter": 35,
      "mars": 110,
      "mercury": 70,
      "moon": 30,
      "saturn": 20,
      "sun": 140,
      "venus": 70
    },
    "rasi": {
      "jupiter": 75,
      "mars": 81,
      "mercury": 138,
      "moon": 107,
      "saturn": 41,
      "sun": 152,
      "venus": 137
    },
    "sodhya": {
      "jupiter": 110,
      "mars": 191,
      "mercury": 208,
      "moon": 137,
      "saturn": 61,
      "sun": 292,
      "venus": 207
    }
  },
  "sarva": [
    34,
    24,
    30,
    25,
    26,
    32,
    22,
    22,
    31,
    27,
    34,
    30
  ],
  "sarva_total": 337,
  "trikona_sodhita": {
    "jupiter": [
      0,
      3,
      0,
      0,
      2,
      0,
      2,
      0,
      1,
      1,
      2,
      0
    ],
    "mars": [
      3,
      0,
      4,
      3,
      0,
      3,
      0,
      0,
      2,
      1,
      3,
      2
    ],
    "mercury": [
      3,
      0,
      2,
      5,
      0,
      4,
      0,
      0,
      1,
      5,
      3,
      4
    ],
    "moon": [
      2,
      0,
      0,
      0,
      1,
      2,
      3,
      2,
      0,
      0,
      2,
      1
    ],
    "saturn": [
      1,
      2,
      0,
      0,
      0,
      1,
      0,
      3,
      1,
      0,
      0,
      1
    ],
    "sun": [
      2,
      0,
      6,
      0,
      0,
      2,
      0,
      0,
      5,
      3,
      4,
      2
    ],
    "venus": [
      2,
      2,
      1,
      0,
      2,
      3,
      0,
      0,
      0,
      0,
      3,
      3
    ]
  }
}

Real output for the example request above.

Errors use one format. See error codes. Also in openapi.json.

Welcome! How will you use it?

We'll show you what matters to you. You can switch any time at the top.