API Reference / Vedic Astrology / Predictions
/v1/vedic/narrative/planet-in-sign
Authored narrative for a specific planet in a specific sign.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.lifeastroapi.com/v1/vedic/narrative/planet-in-sign?date=1990-01-15&tz=Asia%2FKolkata&lat=19.076&lon=72.8777&planet=Mars" \
-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. |
planet | yes | Mars | |
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.mars_in_scorpio",
"heading": "Mars in Scorpio: in its own sign, deep and intense",
"body": "Mars in Scorpio colours your drive, courage and temper, and it does so in a deep, quiet way. Scorpio is a water sign of depth and intensity, ruled by Mars, and that is the flavour Mars takes on here. It shapes how you act, decide and react.\n\nScorpio is a sign that Mars owns, s…",
"bullets": [
"Dignity: Own sign, at home",
"Strength: your drive, courage and temper"
],
"resolved_locale": "en"
}
],
"remedies": {
"refs": [
{
"ref": "vedic.L1.remedy.mantra.mars",
"weight": 1
},
{
"ref": "vedic.L1.remedy.graha_shanti.mars",
"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.