Charts
Divisional chart
POST/v1/chart/divisional/{chart}
One divisional (varga) chart with each planet's sign, degree and house.
chartis one of d1, d2, d3, d4, d7, d9, d10, d12, d16, d20, d24, d27, d30, d40, d45, d60.
Request
| Field | Type | Description |
|---|---|---|
| datetime | stringrequired | Local birth time, YYYY-MM-DDTHH:MM[:SS] |
| lat | number | Latitude, -90 to 90 (north positive). Send lat, lon and tz, or place, or place_id |
| lon | number | Longitude, -180 to 180 (east positive) |
| tz | string | IANA zone (Asia/Kolkata) or offset (+05:30). Needed with lat and lon; filled in with a place |
| place | string | Place name instead of lat, lon and tz, for example Gorakhpur, Uttar Pradesh. If the name is not unique: ambiguous_place with choices |
| place_id | integer | The id of a place from place search, instead of lat, lon and tz |
| ayanamsa | string | lahiri (default) | raman | krishnamurti |
| node | string | mean (default) | true |
| house_system | string | whole_sign (default) | equal | placidus | porphyry |
| outer_planets | boolean | Also 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"}'Response
[]is a list.{key}is a key that varies.
| Field | Type | Meaning |
|---|---|---|
| birth | Birth | Birth details we used |
| chart | string | Chart code, for example D9 |
| name | string | Chart name, for example Navamsha |
| ascendant | object | Ascendant in this chart |
| ascendant.sign | Sign | Its sign |
| ascendant.degree | numberdegrees | Its position inside the sign in this chart |
| planets | object[] | Planets in this chart |
| planets[].id | string | Stable id |
| planets[].name | string | English name |
| planets[].sign | Sign | Sign in this chart |
| planets[].degree | numberdegrees | Position inside the sign in this chart |
| planets[].house | integer | House from this chart's ascendant, 1 to 12 |
| planets[].retrograde | boolean | Moving backwards |
Objects used above
Birth The birth details we used, so you can check the timezone.
| Field | Type | Meaning |
|---|---|---|
| datetime | string | Local time you sent, with seconds |
| tz | string | Zone you sent |
| utc_offset | string | UTC offset in force then, for example +05:30 |
| utc | stringISO 8601 | The same moment in UTC |
| lat | numberdegrees | Latitude |
| lon | numberdegrees | Longitude |
| jd_ut | number | Julian day (UT) |
| place | PlaceUsed | The place we looked up. Only when you sent place or place_id optional |
Sign A zodiac sign (rashi).
| Field | Type | Meaning |
|---|---|---|
| number | integer | 1 = Aries to 12 = Pisces |
| name | string | English name |
| rashi | string | Sanskrit name, for example Mesha |
| lord | string | Planet 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.