LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Predictions

GET
20 credits

/v1/vedic/narrative/transit-phal

Authored narrative for current transits: the slow grahas by sign, their transit from the natal Moon (and from the natal lagna when lat/lon are given), Sade Sati, the Sun's transit house and Jupiter/Saturn/Rahu passing over natal grahas.

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/transit-phal?tz=Asia%2FKolkata&birth.date=1990-01-15&birth.tz=Asia%2FKolkata&date=2027-01-15&lat=19.076&lon=72.8777&birth.time=10%3A30" \
  -H "Authorization: Bearer YOUR_API_KEY"

Query parameters

Checked against the API: a parameter is marked required when the request fails without it.

NameRequiredExampleDescription
tzyesAsia/KolkataTimezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
birth.dateyes1990-01-15Birth date (YYYY-MM-DD).
birth.tzyesAsia/KolkataBirth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
dateno2027-01-15Date of the moment to check, e.g. the transit date (YYYY-MM-DD).
latno19.076Latitude in decimal degrees.
lonno72.8777Longitude in decimal degrees.
birth.timeno10:30Birth time (HH:MM, 24-hour, local). Defaults to 12:00.
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.L2.transit.mars_in_leo",
      "heading": "Mars in Leo: about six weeks of competition",
      "body": "Mars stays in Leo for about six weeks, and Leo acts through pride and visibility. Leo is ruled by the Sun, a friend of Mars, so the stay is comfortable. Count from your Moon sign to Leo to find the part of your life this presses on.\n\nMars leaves you driven, hot-headed and impa…",
      "bullets": [
        "Stay: about six weeks in Leo",
        "Style: Leo works through pride and visibility"
      ],
      "citations": [
        "BPHS Ch.26",
        "Phaladeepika Ch.26"
      ],
      "resolved_locale": "en"
    },
    {
      "rule_id": "vedic.L2.transit.jupiter_in_leo",
      "heading": "Jupiter in Leo: about a year of advice",
      "body": "Jupiter stays in Leo for about a year, and Leo acts through pride and visibility. Leo is ruled by the Sun, a friend of Jupiter, so the stay is comfortable. Count from your Moon sign to Leo to find the part of your life this presses on.\n\nJupiter leaves you hopeful and generous,…",
      "bullets": [
        "Stay: about a year in Leo",
        "Style: Leo works through pride and visibility"
      ],
      "citations": [
        "BPHS Ch.26",
        "Phaladeepika Ch.26"
      ],
      "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.