LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Predictions

GET
20 credits

/v1/vedic/narrative/doshas

Authored narratives for all doshas present in the natal chart.

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/doshas?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.

NameRequiredExampleDescription
dateyes1990-01-15Birth date (YYYY-MM-DD).
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.
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.dosha.mangal.cancelled_by_own_exaltation",
      "heading": "Mangal Dosha cancelled by a strong Mars: reassuring news",
      "body": "You have good news. Your Mangal Dosha is cancelled because Mars sits in its own sign, which is Aries or Scorpio, or in its sign of exaltation, which is Capricorn. A Mars this strong behaves well. Even in a Manglik house, its heat is considered tamed, and the dosha is treated a…",
      "bullets": [
        "Note that Mars is in Aries, Scorpio or Capricorn",
        "Enjoy the courage and discipline of a strong Mars"
      ],
      "resolved_locale": "en"
    },
    {
      "rule_id": "vedic.L1.dosha.combust_dosha",
      "heading": "Combustion: a planet close to the Sun",
      "body": "Combustion, called Astangata, happens when a planet sits very close to the Sun in your chart, within a set number of degrees that differs by planet, from about 8 to 17. The Sun's light overpowers the planet, and the old image is that it is burnt. It is very common, because Mer…",
      "bullets": [
        "Find which planet is near your Sun",
        "Note how close it is, since closer is stronger"
      ],
      "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.