Skip to content
POST/api/astro/argala/1 credit

Argala and virodhargala

Argala: the Jaimini doctrine of intervention between houses. Planets in the 2nd, 4th, 5th and 11th from a house intervene in it. Planets in the 12th, 10th, 3rd and 9th obstruct that intervention — the virodhargala. Both tables are returned, one row per house counted from the ascendant, every column labelled with the house it represents and every cell resolved to planet names. The two tables are given separately rather than zipped together, and `blocked_by` states which virodhargala house blocks which argala house. That matters: the engine stores the two house lists in mismatched order, so pairing them by column position would say the 5th is blocked by the 9th when classically it is blocked by the 3rd.

https://yogataraapi.prahlad.app/api/astro/argala/
Test Request

Authentication

Send your key in the X-API-Key header. Keys are server-side credentials — never put one in browser JavaScript or a mobile app.

X-API-Key: yt_live_a1b2c3d4_…
Content-Type: application/json

Request fields

FieldTypeRequiredNotes
date_timestring (date-time)required

The moment to calculate for, ISO 8601. ALWAYS include an offset or a trailing Z - a value with no zone is read as Asia/Kolkata (UTC+05:30), not UTC, and can return the previous day's result with a 200. '2026-09-01T06:00:00Z' and '2026-09-01 06:00:00' are different instants and give different answers.

latitudenumber (double)required

Latitude of the place, in decimal degrees. Positive is north, negative is south. Example: 26.9124 for Jaipur, 40.7128 for New York. Minutes and seconds are not accepted - convert first.

min -90 · max 90

longitudenumber (double)required

Longitude of the place, in decimal degrees. Positive is east, negative is west. Example: 75.7873 for Jaipur, -74.0060 for New York. Note the sign: a missing minus puts New York in China.

min -180 · max 180

timezone_as_floatnumber (double)required

UTC offset of the place, in hours, as a decimal. Example: 5.5 for India (UTC+05:30), -5 for New York in winter, 5.75 for Nepal. This is NOT validated against date_time - if the two disagree you get a successful response for the wrong moment, so derive both from the same source. Use the offset in force on that date, not today's: a summer birth in a country with daylight saving needs the summer offset.

min -12 · max 14

keysarrayoptional

Which calculations to return, as a list of names. See the key table for this endpoint; an unrecognised name rejects the whole request. One call costs one credit however many keys you ask for, so request everything you need at once rather than making several calls.

nodestringoptional
planetstringoptional
raasiintegeroptional

min 1 · max 12

Example request

curl -X POST https://yogataraapi.prahlad.app/api/astro/argala/ \
  -H "X-API-Key: $OCCULT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date_time":"1990-05-10T19:55:00+05:30","latitude":26.9124,"longitude":75.7873,"timezone_as_float":5.5,"node":"true"}'

Response

{
  "data": {
    "system": "jaimini",
    "argala_houses": [
      2,
      4,
      5,
      11
    ],
    "virodhargala_houses": [
      12,
      10,
      9,
      3
    ],
    "blocked_by": {
      "2": 12,
      "4": 10,
      "5": 3,
      "11": 9
    },
    "argala": [
      {
        "from_house": 1,
        "houses": {
          "2": [],
          "4": [
            "Mars"
          ],
          "5": [
            "Venus"
          ],
          "11": []
        }
      },
      {
        "from_house": 2,
        "houses": {
          "2": [
            "Saturn",
            "Rahu"
          ],
          "4": [
            "Venus"
          ],
          "5": [
            "Sun",
            "Mercury"
          ],
          "11": []
        }
      },
      {
        "from_house": 3,
        "houses": {
          "2": [
            "Mars"
          ],
          "4": [
            "Sun",
            "Mercury"
          ],
          "5": [],
          "11": [
            "Moon"
          ]
        }
      },
      {
        "from_house": 4,
        "houses": {
          "2": [
            "Venus"
          ],
          "4": [],
          "5": [
            "Jupiter"
          ],
          "11": []
        }
      },
      {
        "from_house": 5,
        "houses": {
          "2": [
            "Sun",
            "Mercury"
          ],
          "4": [
            "Jupiter"
          ],
          "5": [
            "Ketu"
          ],
          "11": [
            "Saturn",
            "Rahu"
          ]
        }
      },
      {
        "from_house": 6,
        "houses": {
          "2": [],
          "4": [
            "Ketu"
          ],
          "5": [],
          "11": [
            "Mars"
          ]
        }
      },
      {
        "from_house": 7,
        "houses": {
          "2": [
            "Jupiter"
          ],
          "4": [],
          "5": [],
          "11": [
            "Venus"
          ]
        }
      },
      {
        "from_house": 8,
        "houses": {
          "2": [
            "Ketu"
          ],
          "4": [],
          "5": [],
          "11": [
            "Sun",
            "Mercury"
          ]
        }
      },
      {
        "from_house": 9,
        "houses": {
          "2": [],
          "4": [],
          "5": [
            "Moon"
          ],
          "11": []
        }
      },
      {
        "from_house": 10,
        "houses": {
          "2": [],
          "4": [
            "Moon"
          ],
          "5": [],
          "11": [
            "Jupiter"
          ]
        }
      },
      {
        "from_house": 11,
        "houses": {
          "2": [],
          "4": [],
          "5": [
            "Saturn",
            "Rahu"
          ],
          "11": [
            "Ketu"
          ]
        }
      },
      {
        "from_house": 12,
        "houses": {
          "2": [
            "Moon"
          ],
          "4": [
            "Saturn",
            "Rahu"
          ],
          "5": [
            "Mars"
          ],
          "11": []
        }
      }
    ],
    "virodhargala": [
      {
        "from_house": 1,
        "houses": {
          "3": [
            "Saturn",
            "Rahu"
          ],
          "9": [
            "Ketu"
          ],
          "10": [],
          "12": []
        }
      },
      {
        "from_house": 2,
        "houses": {
          "3": [
            "Mars"
          ],
          "9": [],
          "10": [],
          "12": [
            "Moon"
          ]
        }
      },
      {
        "from_house": 3,
        "houses": {
          "3": [
            "Venus"
          ],
          "9": [],
          "10": [],
          "12": []
        }
      },
      {
        "from_house": 4,
        "houses": {
          "3": [
            "Sun",
            "Mercury"
          ],
          "9": [],
          "10": [
            "Moon"
          ],
          "12": [
            "Saturn",
            "Rahu"
          ]
        }
      },
      {
        "from_house": 5,
        "houses": {
          "3": [],
          "9": [
            "Moon"
          ],
          "10": [],
          "12": [
            "Mars"
          ]
        }
      },
      {
        "from_house": 6,
        "houses": {
          "3": [
            "Jupiter"
          ],
          "9": [],
          "10": [
            "Saturn",
            "Rahu"
          ],
          "12": [
            "Venus"
          ]
        }
      },
      {
        "from_house": 7,
        "houses": {
          "3": [
            "Ketu"
          ],
          "9": [
            "Saturn",
            "Rahu"
          ],
          "10": [
            "Mars"
          ],
          "12": [
            "Sun",
            "Mercury"
          ]
        }
      },
      {
        "from_house": 8,
        "houses": {
          "3": [],
          "9": [
            "Mars"
          ],
          "10": [
            "Venus"
          ],
          "12": []
        }
      },
      {
        "from_house": 9,
        "houses": {
          "3": [],
          "9": [
            "Venus"
          ],
          "10": [
            "Sun",
            "Mercury"
          ],
          "12": [
            "Jupiter"
          ]
        }
      },
      {
        "from_house": 10,
        "houses": {
          "3": [],
          "9": [
            "Sun",
            "Mercury"
          ],
          "10": [],
          "12": [
            "Ketu"
          ]
        }
      },
      {
        "from_house": 11,
        "houses": {
          "3": [
            "Moon"
          ],
          "9": [],
          "10": [
            "Jupiter"
          ],
          "12": []
        }
      },
      {
        "from_house": 12,
        "houses": {
          "3": [],
          "9": [
            "Jupiter"
          ],
          "10": [
            "Ketu"
          ],
          "12": []
        }
      }
    ]
  },
  "status": 200,
  "is_error": false,
  "message": "successful"
}

Captured from a real call using the exact request above. Results sit under data.

Errors

Metering errors return { "error": "…", "message": "<code>", "is_error": true }. Show error to people and branch on message. See the error reference.