Skip to content
BestAstroAPI

Charts

Divisional chart

POST/v1/chart/divisional/{chart}

One divisional (varga) chart with each planet's sign, degree and house.

  • chart is one of d1, d2, d3, d4, d7, d9, d10, d12, d16, d20, d24, d27, d30, d40, d45, d60.

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/chart/divisional/d9" \
  -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
chartstringChart code, for example D9
namestringChart name, for example Navamsha
ascendantobjectAscendant in this chart
ascendant.signSignIts sign
ascendant.degreenumberdegreesIts position inside the sign in this chart
planetsobject[]Planets in this chart
planets[].idstringStable id
planets[].namestringEnglish name
planets[].signSignSign in this chart
planets[].degreenumberdegreesPosition inside the sign in this chart
planets[].houseintegerHouse from this chart's ascendant, 1 to 12
planets[].retrogradebooleanMoving backwards

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

Sign A zodiac sign (rashi).

FieldTypeMeaning
numberinteger1 = Aries to 12 = Pisces
namestringEnglish name
rashistringSanskrit name, for example Mesha
lordstringPlanet that rules the sign
Raw sample
200 application/json
{
  "ascendant": {
    "degree": 24.4275,
    "sign": {
      "lord": "Venus",
      "name": "Libra",
      "number": 7,
      "rashi": "Tula"
    }
  },
  "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"
  },
  "chart": "D9",
  "name": "Navamsha",
  "planets": [
    {
      "degree": 3.1061,
      "house": 5,
      "id": "sun",
      "name": "Sun",
      "retrograde": false,
      "sign": {
        "lord": "Saturn",
        "name": "Aquarius",
        "number": 11,
        "rashi": "Kumbha"
      }
    },
    {
      "degree": 24.7079,
      "house": 1,
      "id": "moon",
      "name": "Moon",
      "retrograde": false,
      "sign": {
        "lord": "Venus",
        "name": "Libra",
        "number": 7,
        "rashi": "Tula"
      }
    },
    {
      "degree": 26.5798,
      "house": 4,
      "id": "mars",
      "name": "Mars",
      "retrograde": false,
      "sign": {
        "lord": "Saturn",
        "name": "Capricorn",
        "number": 10,
        "rashi": "Makara"
      }
    },
    {
      "degree": 13.5429,
      "house": 9,
      "id": "mercury",
      "name": "Mercury",
      "retrograde": false,
      "sign": {
        "lord": "Mercury",
        "name": "Gemini",
        "number": 3,
        "rashi": "Mithuna"
      }
    },
    {
      "degree": 17.3172,
      "house": 11,
      "id": "jupiter",
      "name": "Jupiter",
      "retrograde": false,
      "sign": {
        "lord": "Sun",
        "name": "Leo",
        "number": 5,
        "rashi": "Simha"
      }
    },
    {
      "degree": 19.9995,
      "house": 1,
      "id": "venus",
      "name": "Venus",
      "retrograde": true,
      "sign": {
        "lord": "Venus",
        "name": "Libra",
        "number": 7,
        "rashi": "Tula"
      }
    },
    {
      "degree": 29.6365,
      "house": 5,
      "id": "saturn",
      "name": "Saturn",
      "retrograde": false,
      "sign": {
        "lord": "Saturn",
        "name": "Aquarius",
        "number": 11,
        "rashi": "Kumbha"
      }
    },
    {
      "degree": 28.2183,
      "house": 11,
      "id": "rahu",
      "name": "Rahu",
      "retrograde": true,
      "sign": {
        "lord": "Sun",
        "name": "Leo",
        "number": 5,
        "rashi": "Simha"
      }
    },
    {
      "degree": 28.2183,
      "house": 5,
      "id": "ketu",
      "name": "Ketu",
      "retrograde": true,
      "sign": {
        "lord": "Saturn",
        "name": "Aquarius",
        "number": 11,
        "rashi": "Kumbha"
      }
    }
  ]
}

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.