LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Transit & Gochara

GET
10 credits

/v1/transit/vedha

Vedha (obstruction) analysis for a transit.

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/transit/vedha?birth.date=1990-01-15&birth.tz=Asia%2FKolkata&birth.lat=19.076&birth.lon=72.8777&date=2027-01-15&time=06%3A00&tz=Asia%2FKolkata&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
birth.dateyes1990-01-15Birth date (YYYY-MM-DD).
birth.tzyesAsia/KolkataBirth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
birth.latyes19.076Birth place latitude in decimal degrees.
birth.lonyes72.8777Birth place longitude in decimal degrees.
dateyes2027-01-15Date of the moment to check, e.g. the transit date (YYYY-MM-DD).
timeno06:00Local time of the moment to check (HH:MM, 24-hour). Defaults to 12:00.
tzyesAsia/KolkataTimezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
birth.timeno10:30Birth time (HH:MM, 24-hour, local). Defaults to 12:00.
ayanamsano—Ayanamsa (sidereal offset) to use. Defaults to lahiri.
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
{
  "at_jd": 2461420.520833,
  "blocked": [
    {
      "birth_planet": "Ketu",
      "vedha_by": "Sun",
      "rashi_index": 3
    },
    {
      "birth_planet": "Mars",
      "vedha_by": "Mercury",
      "rashi_index": 7
    }
  ]
}

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.