Chart (Kundli)
GET
1 credit

/v1/chart/aspects

Graha drishti (planetary aspects).

What this tells you

Graha drishti (planetary aspects) is fundamentally different from Western astrology. Every planet casts a 7th-house aspect. Mars also casts 4th and 8th; Jupiter also 5th and 9th; Saturn also 3rd and 10th. Aspects are always full-strength and directional (from → to, not mutual by default).

Request

All requests require an Authorization header with your dv_live_* API key.

example request
curl "https://api.divyastroapi.com/v1/chart/aspects?date=2026-04-19&time=06%3A30&tz=%2B05%3A30&lat=28.61&lon=77.21" \
  -H "Authorization: Bearer dv_live_0123456789abcdef0123456789abcdef"

Response (200 OK)

Successful requests return a JSON body. Field names are stable across versions.

200 response
{
  "aspects": [
    { "from": "Jupiter", "to": "Moon",    "type": "5th",  "strength": "full"    },
    { "from": "Jupiter", "to": "Saturn",  "type": "7th",  "strength": "full"    },
    { "from": "Jupiter", "to": "Mars",    "type": "9th",  "strength": "full"    },
    { "from": "Mars",    "to": "Mercury", "type": "4th",  "strength": "full"    },
    { "from": "Mars",    "to": "Saturn",  "type": "7th",  "strength": "full"    },
    { "from": "Mars",    "to": "Sun",     "type": "8th",  "strength": "full"    },
    { "from": "Saturn",  "to": "Sun",     "type": "3rd",  "strength": "full"    },
    { "from": "Saturn",  "to": "Jupiter", "type": "7th",  "strength": "full"    },
    { "from": "Saturn",  "to": "Mars",    "type": "10th", "strength": "full"    }
  ]
}

Field reference

Every field in the response, with its type, a real example, and what it means.

FieldTypeMeaning
aspects[].fromstring
Aspecting planet.
example: "Jupiter"
aspects[].tostring
Aspected planet.
example: "Moon"
aspects[].typestring
Aspect type — house distance. "7th" is universal (all planets). Mars: 4th, 7th, 8th. Jupiter: 5th, 7th, 9th. Saturn: 3rd, 7th, 10th.
example: "5th"
aspects[].strengthstring
All Vedic graha drishtis are full-strength (unlike Western orbs). Reserved for future partial aspect work.
example: "full"

Usage tips

How to use it

  • Draw aspect lines on a chart
    For each aspect, draw a line between the "from" planet's house and the "to" planet's house in your chart UI.
  • Filter by intensity
    Mars, Jupiter, and Saturn special aspects are considered the most powerful. Tone down or hide the generic 7th aspects from all other planets to reduce visual noise.

Errors

Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.

401 Unauthorized

{
  "error": {
    "code": "unauthorized",
    "message": "missing or invalid API key",
    "request_id": "req_01hqy7k8c3e7m1n"
  }
}

402 Payment Required

{
  "error": {
    "code": "trial_exhausted",
    "message": "your free trial credits are exhausted — pick a plan to continue",
    "top_up_url": "https://divyastroapi.com/pricing",
    "request_id": "req_01hqy7k8c3e7m1n"
  }
}

429 Too Many Requests

{
  "error": {
    "code": "rate_limited",
    "message": "rate limit exceeded; retry after 12 seconds",
    "request_id": "req_01hqy7k8c3e7m1n"
  }
}

Try it

Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 500 free credits. Sign up.