LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Predictions

GET
10 credits

/v1/vedic/narrative/planet-in-house

Authored narrative for a specific planet in a specific house.

Try it in the Playground

Request

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

example request
curl "https://api.lifeastroapi.com/v1/vedic/narrative/planet-in-house?date=1990-01-15&time=10%3A30&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.

NameRequiredExampleDescription
dateyes1990-01-15Birth date (YYYY-MM-DD).
timeno10:30Birth time (HH:MM, 24-hour, local). Defaults to 12:00.
tzyesAsia/KolkataBirth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
latyes19.076Birth place latitude in decimal degrees.
lonyes72.8777Birth place longitude in decimal degrees.
planetyesMars
langno—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.

200 response
{
  "sections": [
    {
      "rule_id": "vedic.L1.house.mars_in_10",
      "heading": "Mars in your 10th house: career and status",
      "body": "Mars sits in your 10th house, the house of career, status and your public name. Mars stands for your drive, courage and temper, so this placement highlights those themes in everything the 10th house touches. Mars gains directional strength (digbala) in the 10th house, which ma…",
      "bullets": [
        "Where it acts: career and status",
        "Best habit with Mars: push the stuck task forward"
      ],
      "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.