Skip to content
BestAstroAPI

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

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)
node_aspectsbooleanGive 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"}'

Try it live

Sends a real request from your browser.

Response

  • [] is a list. {key} is a key that varies.
  • Fields marked “or null” are always there but can be empty.
FieldTypeMeaning
birthBirthBirth details we used
node_aspectsstringAspects given to Rahu and Ketu7th only | 5th, 7th and 9th
planetsobject[]Sun to Ketu
planets[].planetstringName
planets[].idstringStable id
planets[].signSignSign it is in
planets[].houseintegerHouse by sign from the ascendant
planets[].aspects_housesinteger[]Houses it aspects
planets[].aspects_signsinteger[]Signs it aspects, 1 = Aries
planets[].on_planetsobject[]Planets it aspects by sign, or with some strength
planets[].on_planets[].planetstringPlanet aspected
planets[].on_planets[].fullbooleanAspect by sign (graha drishti)
planets[].on_planets[].virupasnumber or nullvirupasAspect strength, 0 to 60. Null when Rahu or Ketu is involved
housesobject[]The 12 houses
houses[].houseinteger1 to 12
houses[].signSignSign of the house
houses[].aspected_bystring[]Planets aspecting it. Can be empty

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
{
  "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.

Welcome! How will you use it?

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