Advanced
Aspects
POST/v1/aspects
Graha drishti: the houses, signs and planets each planet aspects, with aspect strength in virupas.
- All planets aspect the 7th. Mars also the 4th and 8th, Jupiter the 5th and 9th, Saturn the 3rd and 10th.
- Rahu and Ketu aspect the 7th, or also the 5th and 9th with node_aspects.
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) |
| node_aspects | boolean | Give Rahu and Ketu the 5th and 9th aspects too (default false) |
Example
curl -X POST "https://api.bestastroapi.in/v1/aspects" \
-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.- Fields marked “or null” are always there but can be empty.
| Field | Type | Meaning |
|---|---|---|
| birth | Birth | Birth details we used |
| node_aspects | string | Aspects given to Rahu and Ketu7th only | 5th, 7th and 9th |
| planets | object[] | Sun to Ketu |
| planets[].planet | string | Name |
| planets[].id | string | Stable id |
| planets[].sign | Sign | Sign it is in |
| planets[].house | integer | House by sign from the ascendant |
| planets[].aspects_houses | integer[] | Houses it aspects |
| planets[].aspects_signs | integer[] | Signs it aspects, 1 = Aries |
| planets[].on_planets | object[] | Planets it aspects by sign, or with some strength |
| planets[].on_planets[].planet | string | Planet aspected |
| planets[].on_planets[].full | boolean | Aspect by sign (graha drishti) |
| planets[].on_planets[].virupas | number or nullvirupas | Aspect strength, 0 to 60. Null when Rahu or Ketu is involved |
| houses | object[] | The 12 houses |
| houses[].house | integer | 1 to 12 |
| houses[].sign | Sign | Sign of the house |
| houses[].aspected_by | string[] | Planets aspecting it. Can be empty |
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
{
"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"
},
"houses": [
{
"aspected_by": [],
"house": 1,
"sign": {
"lord": "Moon",
"name": "Cancer",
"number": 4,
"rashi": "Karka"
}
},
{
"aspected_by": [
"Saturn"
],
"house": 2,
"sign": {
"lord": "Sun",
"name": "Leo",
"number": 5,
"rashi": "Simha"
}
},
{
"aspected_by": [
"Mars"
],
"house": 3,
"sign": {
"lord": "Mercury",
"name": "Virgo",
"number": 6,
"rashi": "Kanya"
}
},
{
"aspected_by": [
"Moon",
"Mercury",
"Rahu"
],
"house": 4,
"sign": {
"lord": "Venus",
"name": "Libra",
"number": 7,
"rashi": "Tula"
}
},
{
"aspected_by": [
"Sun"
],
"house": 5,
"sign": {
"lord": "Mars",
"name": "Scorpio",
"number": 8,
"rashi": "Vrishchika"
}
},
{
"aspected_by": [
"Mars",
"Jupiter",
"Venus",
"Saturn"
],
"house": 6,
"sign": {
"lord": "Jupiter",
"name": "Sagittarius",
"number": 9,
"rashi": "Dhanu"
}
},
{
"aspected_by": [
"Mars"
],
"house": 7,
"sign": {
"lord": "Saturn",
"name": "Capricorn",
"number": 10,
"rashi": "Makara"
}
},
{
"aspected_by": [
"Jupiter"
],
"house": 8,
"sign": {
"lord": "Saturn",
"name": "Aquarius",
"number": 11,
"rashi": "Kumbha"
}
},
{
"aspected_by": [
"Saturn"
],
"house": 9,
"sign": {
"lord": "Jupiter",
"name": "Pisces",
"number": 12,
"rashi": "Meena"
}
},
{
"aspected_by": [
"Jupiter",
"Ketu"
],
"house": 10,
"sign": {
"lord": "Mars",
"name": "Aries",
"number": 1,
"rashi": "Mesha"
}
},
{
"aspected_by": [],
"house": 11,
"sign": {
"lord": "Venus",
"name": "Taurus",
"number": 2,
"rashi": "Vrishabha"
}
},
{
"aspected_by": [],
"house": 12,
"sign": {
"lord": "Mercury",
"name": "Gemini",
"number": 3,
"rashi": "Mithuna"
}
}
],
"node_aspects": "7th only",
"planets": [
{
"aspects_houses": [
5
],
"aspects_signs": [
8
],
"house": 11,
"id": "sun",
"on_planets": [
{
"full": false,
"planet": "Mars",
"virupas": 4.64
},
{
"full": false,
"planet": "Jupiter",
"virupas": 39.21
},
{
"full": false,
"planet": "Saturn",
"virupas": 6.47
}
],
"planet": "Sun",
"sign": {
"lord": "Venus",
"name": "Taurus",
"number": 2,
"rashi": "Vrishabha"
}
},
{
"aspects_houses": [
4
],
"aspects_signs": [
7
],
"house": 10,
"id": "moon",
"on_planets": [
{
"full": false,
"planet": "Mars",
"virupas": 10.1
},
{
"full": false,
"planet": "Jupiter",
"virupas": 33.74
},
{
"full": false,
"planet": "Venus",
"virupas": 4.74
},
{
"full": false,
"planet": "Saturn",
"virupas": 11.94
},
{
"full": true,
"planet": "Ketu",
"virupas": null
}
],
"planet": "Moon",
"sign": {
"lord": "Mars",
"name": "Aries",
"number": 1,
"rashi": "Mesha"
}
},
{
"aspects_houses": [
3,
6,
7
],
"aspects_signs": [
6,
9,
10
],
"house": 12,
"id": "mars",
"on_planets": [
{
"full": false,
"planet": "Mercury",
"virupas": 2.39
},
{
"full": false,
"planet": "Jupiter",
"virupas": 17.3
}
],
"planet": "Mars",
"sign": {
"lord": "Mercury",
"name": "Gemini",
"number": 3,
"rashi": "Mithuna"
}
},
{
"aspects_houses": [
4
],
"aspects_signs": [
7
],
"house": 10,
"id": "mercury",
"on_planets": [
{
"full": false,
"planet": "Mars",
"virupas": 19.78
},
{
"full": false,
"planet": "Jupiter",
"virupas": 22.91
},
{
"full": false,
"planet": "Venus",
"virupas": 12.03
},
{
"full": false,
"planet": "Saturn",
"virupas": 23.45
},
{
"full": true,
"planet": "Ketu",
"virupas": null
}
],
"planet": "Mercury",
"sign": {
"lord": "Mars",
"name": "Aries",
"number": 1,
"rashi": "Mesha"
}
},
{
"aspects_houses": [
6,
8,
10
],
"aspects_signs": [
9,
11,
1
],
"house": 2,
"id": "jupiter",
"on_planets": [
{
"full": false,
"planet": "Sun",
"virupas": 50.79
},
{
"full": true,
"planet": "Moon",
"virupas": 56.26
},
{
"full": false,
"planet": "Mars",
"virupas": 1.15
},
{
"full": true,
"planet": "Mercury",
"virupas": 33.54
},
{
"full": false,
"planet": "Venus",
"virupas": 6.52
},
{
"full": true,
"planet": "Rahu",
"virupas": null
}
],
"planet": "Jupiter",
"sign": {
"lord": "Sun",
"name": "Leo",
"number": 5,
"rashi": "Simha"
}
},
{
"aspects_houses": [
6
],
"aspects_signs": [
9
],
"house": 12,
"id": "venus",
"on_planets": [
{
"full": false,
"planet": "Jupiter",
"virupas": 28.04
}
],
"planet": "Venus",
"sign": {
"lord": "Mercury",
"name": "Gemini",
"number": 3,
"rashi": "Mithuna"
}
},
{
"aspects_houses": [
2,
6,
9
],
"aspects_signs": [
5,
9,
12
],
"house": 12,
"id": "saturn",
"on_planets": [
{
"full": false,
"planet": "Mercury",
"virupas": 49.23
},
{
"full": true,
"planet": "Jupiter",
"virupas": 14.32
}
],
"planet": "Saturn",
"sign": {
"lord": "Mercury",
"name": "Gemini",
"number": 3,
"rashi": "Mithuna"
}
},
{
"aspects_houses": [
4
],
"aspects_signs": [
7
],
"house": 10,
"id": "rahu",
"on_planets": [
{
"full": true,
"planet": "Ketu",
"virupas": null
}
],
"planet": "Rahu",
"sign": {
"lord": "Mars",
"name": "Aries",
"number": 1,
"rashi": "Mesha"
}
},
{
"aspects_houses": [
10
],
"aspects_signs": [
1
],
"house": 4,
"id": "ketu",
"on_planets": [
{
"full": true,
"planet": "Moon",
"virupas": null
},
{
"full": true,
"planet": "Mercury",
"virupas": null
},
{
"full": true,
"planet": "Rahu",
"virupas": null
}
],
"planet": "Ketu",
"sign": {
"lord": "Venus",
"name": "Libra",
"number": 7,
"rashi": "Tula"
}
}
]
}Real output for the example request above.
Errors use one format. See error codes. Also in openapi.json.