Skip to content
POST/api/astro/bhava-cusps/1 credit

Bhava cusps

The twelve house cusps under two systems, side by side. `equal_house` is the Swiss Ephemeris equal-house division in the sidereal zodiac; `sripati` is the Sripati method. Both come back as twelve entries in degree, sign, minute and second form with nakshatra and pada. Worth checking both before you commit to one: they agree on some charts and diverge on others, and a house placement that changes between them is exactly the kind of thing a reader will query.

https://yogataraapi.prahlad.app/api/astro/bhava-cusps/
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 -89.9 · max 89.9

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

dhuma_vyatipata_relationstringoptional
360_minus_dhumadhuma_plus_53_20
eccentric_anomalynumber (double)optional
eccentricitynumber (double)optional
gulika_portionstringoptional
saturneighth
gulika_rises_atstringoptional
beginningmiddleend
kala_mrityu_rise_atstringoptional
beginningmiddleend
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.

mandi_portionstringoptional
saturneighth
mandi_rises_atstringoptional
beginningmiddleend
mean_anomalynumber (double)optional
modestringoptional
nakshatrasstringoptional
samvata_typestringoptional
tolerancenumber (double)optional

Example request

curl -X POST https://yogataraapi.prahlad.app/api/astro/bhava-cusps/ \
  -H "X-API-Key: $OCCULT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date_time":"2026-09-01T06:00:00+05:30","timezone_as_float":5.5,"latitude":26.9124,"longitude":75.7873}'

Response

{
  "data": {
    "equal_house": [
      {
        "degree": 12,
        "sign": "Le",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Makha",
        "pada": 4
      },
      {
        "degree": 12,
        "sign": "Vi",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Hasta",
        "pada": 1
      },
      {
        "degree": 12,
        "sign": "Li",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Swaati",
        "pada": 2
      },
      {
        "degree": 12,
        "sign": "Sc",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Anooraadha",
        "pada": 3
      },
      {
        "degree": 12,
        "sign": "Sg",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Moola",
        "pada": 4
      },
      {
        "degree": 12,
        "sign": "Cp",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Sravanam",
        "pada": 1
      },
      {
        "degree": 12,
        "sign": "Aq",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Satabhishak",
        "pada": 2
      },
      {
        "degree": 12,
        "sign": "Pi",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Uttaraabhaadra",
        "pada": 3
      },
      {
        "degree": 12,
        "sign": "Ar",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Ashwini",
        "pada": 4
      },
      {
        "degree": 12,
        "sign": "Ta",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Rohini",
        "pada": 1
      },
      {
        "degree": 12,
        "sign": "Ge",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Aardra",
        "pada": 2
      },
      {
        "degree": 12,
        "sign": "Cn",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Pushyami",
        "pada": 3
      }
    ],
    "sripati": [
      {
        "degree": 12,
        "sign": "Le",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Makha",
        "pada": 4
      },
      {
        "degree": 12,
        "sign": "Vi",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Hasta",
        "pada": 1
      },
      {
        "degree": 12,
        "sign": "Li",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Swaati",
        "pada": 2
      },
      {
        "degree": 12,
        "sign": "Sc",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Anooraadha",
        "pada": 3
      },
      {
        "degree": 12,
        "sign": "Sg",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Moola",
        "pada": 4
      },
      {
        "degree": 12,
        "sign": "Cp",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Sravanam",
        "pada": 1
      },
      {
        "degree": 12,
        "sign": "Aq",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Satabhishak",
        "pada": 2
      },
      {
        "degree": 12,
        "sign": "Pi",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Uttaraabhaadra",
        "pada": 3
      },
      {
        "degree": 12,
        "sign": "Ar",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Ashwini",
        "pada": 4
      },
      {
        "degree": 12,
        "sign": "Ta",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Rohini",
        "pada": 1
      },
      {
        "degree": 12,
        "sign": "Ge",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Aardra",
        "pada": 2
      },
      {
        "degree": 12,
        "sign": "Cn",
        "minutes": 11,
        "seconds": 16,
        "nakshatra": "Pushyami",
        "pada": 3
      }
    ]
  },
  "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.