LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Chart (Kundli)

GET
10 credits

/v1/chart/argala

Argala (intervention) and virodha argala (obstruction) on every house, or on one house, with the grahas on each side and whether the argala stands.

Try it in the Playground

What this tells you

Argala (intervention) and virodha argala (obstruction) on each house of the birth chart, or on one house with `house`. Each house has argala from the 2nd, 4th and 11th (primary) and the 5th (secondary), obstructed from the 12th, 10th, 3rd and 9th, all counted by whole signs from the house itself. Each pair lists the grahas on both sides and a status by the number of grahas: none, unobstructed, prevails, obstructed or tied; stands is true for unobstructed and prevails. vipareeta reports the malefics in the 3rd place and whether they are enough for vipareeta argala.

include_eighth adds the 8th-place secondary argala (obstructed from the 6th). node_reversal=ketu (default, Jaimini Sutras 1.1.10), rahu_ketu (BPHS ch. 31) or none sets when the places are counted in reverse. vipareeta_min_malefics defaults to 3. A tie is reported as tied; strength is not computed.

Request

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

example request
curl "https://api.lifeastroapi.com/v1/chart/argala?date=1990-01-15&tz=Asia%2FKolkata&lat=19.076&lon=72.8777&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
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.
timeno10:30Birth time (HH:MM, 24-hour, local). Defaults to 12:00.
ayanamsano—Ayanamsa (sidereal offset) to use. Defaults to lahiri.
houseno—Return only this house (1 to 12 from the lagna). Leave out for all twelve houses.
include_eighthno—Also return the 8th-place secondary argala, obstructed from the 6th. Default false: most classical sources do not list it.
node_reversalno—When the places are counted in reverse. `ketu` (default): for a house that holds Ketu (Jaimini Sutras 1.1.10). `rahu_ketu`: for a house that holds Rahu or Ketu (BPHS ch. 31). `none`: never.
vipareeta_min_maleficsno—Number of natural malefics in the 3rd place needed for vipareeta argala. Default 3 (BPHS: three or more).
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
{
  "date": "1990-01-15",
  "time": "10:30",
  "location": {
    "lat": 19.076,
    "lon": 72.8777,
    "alt": 0
  },
  "tz": "Asia/Kolkata",
  "ayanamsa": "lahiri",
  "ayanamsa_value": 23.71795,
  "house_system": "whole_sign",
  "options": {
    "include_eighth": false,
    "node_reversal": "ketu",
    "vipareeta_min_malefics": 3
  },
  "houses": [
    {
      "house": 1,
      "sign_idx": 10,
      "sign": "Aquarius",
      "reversed": false,
      "pairs": [
        {
          "kind": "primary",
          "argala_place": 2,
          "argala_sign_idx": 11,
          "argala_sign": "Pisces",
          "argala_planets": [],
          "virodha_place": 12,
          "virodha_sign_idx": 9,
          "virodha_sign": "Capricorn",
          "virodha_planets": [
            {
              "id": "sun",
              "name": "Sun",
              "nature": "malefic"
            },
            {
              "id": "venus",
              "name": "Venus",
              "nature": "benefic"
            }
          ],
          "status": "none",
          "stands": false
        },
        {
          "kind": "primary",
          "argala_place": 4,
          "argala_sign_idx": 1,
          "argala_sign": "Taurus",
          "argala_planets": [],
          "virodha_place": 10,
          "virodha_sign_idx": 7,
          "virodha_sign": "Scorpio",
          "virodha_planets": [
            {
              "id": "mars",
              "name": "Mars",
              "nature": "malefic"
            }
          ],
          "status": "none",
          "stands": false
        }
      ],
      "vipareeta": {
        "sign_idx": 0,
        "sign": "Aries",
        "malefics": [],
        "malefic_ids": [],
        "formed": false
      }
    },
    {
      "house": 2,
      "sign_idx": 11,
      "sign": "Pisces",
      "reversed": false,
      "pairs": [
        {
          "kind": "primary",
          "argala_place": 2,
          "argala_sign_idx": 0,
          "argala_sign": "Aries",
          "argala_planets": [],
          "virodha_place": 12,
          "virodha_sign_idx": 10,
          "virodha_sign": "Aquarius",
          "virodha_planets": [],
          "status": "none",
          "stands": false
        },
        {
          "kind": "primary",
          "argala_place": 4,
          "argala_sign_idx": 2,
          "argala_sign": "Gemini",
          "argala_planets": [
            {
              "id": "jupiter",
              "name": "Jupiter",
              "nature": "benefic"
            }
          ],
          "virodha_place": 10,
          "virodha_sign_idx": 8,
          "virodha_sign": "Sagittarius",
          "virodha_planets": [
            {
              "id": "mercury",
              "name": "Mercury",
              "nature": "benefic"
            },
            {
              "id": "saturn",
              "name": "Saturn",
              "nature": "malefic"
            }
          ],
          "status": "obstructed",
          "stands": false
        }
      ],
      "vipareeta": {
        "sign_idx": 1,
        "sign": "Taurus",
        "malefics": [],
        "malefic_ids": [],
        "formed": false
      }
    }
  ],
  "source": "Jaimini Sutras 1.1.5-10 and Brihat Parashara Hora Shastra ch. 31 v. 2-9 (argala from the 2nd, 4th, 11th and 5th; obstruction from the 12th, 10th, 3rd and 9th; the larger number of grahas prevails)"
}

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.