API Reference / Vedic Astrology / Predictions
/v1/vedic/narrative/sun-sign
Authored narrative for the Sun sign.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.lifeastroapi.com/v1/vedic/narrative/sun-sign?date=1990-01-15&tz=Asia%2FKolkata&lat=19.076&lon=72.8777" \
-H "Authorization: Bearer YOUR_API_KEY"Query parameters
Checked against the API: a parameter is marked required when the request fails without it.
| Name | Required | Example | Description |
|---|---|---|---|
date | yes | 1990-01-15 | Birth date (YYYY-MM-DD). |
tz | yes | Asia/Kolkata | Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30). |
lat | yes | 19.076 | Birth place latitude in decimal degrees. |
lon | yes | 72.8777 | Birth place longitude in decimal degrees. |
lang | no | — | Language of names, labels and readings in the response: `en` (default), `hi`, `mr`, `gu`, `bn`, `te`, `ta`, `kn`, `ml`, `pa`. `locale` is accepted as an alias. |
Response (200 OK)
The real response to the example request above, generated from the API itself. Long arrays are trimmed to their first two items. Field names are stable across versions.
{
"sections": [
{
"rule_id": "vedic.L1.sign.sun_in_capricorn",
"heading": "The Sun in Capricorn: in an enemy's sign, patient and dutiful",
"body": "The Sun in Capricorn colours your sense of self, authority and standing, and it does so through duty and patience. Capricorn is an earth sign of duty and structure, ruled by Saturn, and that is the flavour the Sun takes on here. It shapes how you act, decide and react.\n\nCapric…",
"bullets": [
"Dignity: Enemy's sign, some friction",
"Strength: your sense of self, authority and standing"
],
"resolved_locale": "en"
}
],
"remedies": {
"refs": [
{
"ref": "vedic.L1.remedy.mantra.sun",
"weight": 1
},
{
"ref": "vedic.L1.remedy.graha_shanti.sun",
"weight": 0.9
}
]
},
"narrative_meta": {
"engine": "vedic-N1",
"locale": "en"
}
}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": "unknown or revoked API key",
"request_id": "52a520f261d3db37"
}
}402 Payment Required
{
"error": {
"code": "daily_cap_exceeded",
"message": "free-plan daily limit reached — try again tomorrow or upgrade to a paid plan",
"request_id": "52a520f261d3db37"
}
}429 Too Many Requests
{
"error": {
"code": "rate_limited",
"message": "rate limit exceeded — retry after 12 seconds",
"request_id": "52a520f261d3db37"
}
}Try it
Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 7,500 welcome credits plus 1,500 free credits a month. Sign up.