LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Predictions

GET
20 credits

/v1/vedic/narrative/yogas

Authored narratives for all yogas 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/yogas?date=1990-01-15&time=10%3A30&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).
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.
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.yoga.ruchaka",
      "heading": "Ruchaka Yoga, the Mars yoga of courage and command",
      "body": "Ruchaka is one of the five Pancha Mahapurusha, or Great Person, yogas. It forms when Mars stands in an angle, the 1st, 4th, 7th or 10th house, in Aries, Scorpio or Capricorn. In your work, this gives you a commanding presence, a love of difficult tasks and the nerve to lead wh…",
      "bullets": [
        "Mars strong in an angle in its own or exalted sign",
        "Courage, stamina and a natural leader's bearing"
      ],
      "resolved_locale": "en"
    },
    {
      "rule_id": "vedic.L1.yoga.ruchaka.from_lagna",
      "heading": "Ruchaka Yoga, the Mars yoga of courage and command",
      "body": "Ruchaka is one of the five Pancha Mahapurusha, or Great Person, yogas. It forms when Mars stands in an angle, the 1st, 4th, 7th or 10th house, in Aries, Scorpio or Capricorn. Counted from your ascendant, it speaks mostly of the body, your status and outer achievement. In your …",
      "bullets": [
        "Mars strong in an angle in its own or exalted sign",
        "Courage, stamina and a natural leader's bearing"
      ],
      "resolved_locale": "en"
    }
  ],
  "remedies": {
    "refs": []
  },
  "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.