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

Choghadiya

The choghadiya: the daylight and the night each divided into eight parts, each named for its quality, plus which one is running at the moment you asked. Both reckonings are returned. `day` and `night` are the North Indian form with ISO timestamps. `gowri_day` and `gowri_night` are the Gowri Panchangam used in Tamil practice, which carries a Good/Bad status per period and twelve-hour clock strings. The two do not agree with each other, so pick the one your audience expects rather than treating either as the answer.

https://yogataraapi.prahlad.app/api/astro/choghadiya/
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/choghadiya/ \
  -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": {
    "current": "Kaal",
    "day": [
      {
        "name": "Roga",
        "start": "2026-08-31T06:09:30+05:30",
        "end": "2026-08-31T07:43:53+05:30"
      },
      {
        "name": "Udwega",
        "start": "2026-08-31T07:43:53+05:30",
        "end": "2026-08-31T09:18:16+05:30"
      },
      {
        "name": "Chara",
        "start": "2026-08-31T09:18:16+05:30",
        "end": "2026-08-31T10:52:39+05:30"
      },
      {
        "name": "Laabh",
        "start": "2026-08-31T10:52:39+05:30",
        "end": "2026-08-31T12:27:02+05:30"
      },
      {
        "name": "Amrit",
        "start": "2026-08-31T12:27:02+05:30",
        "end": "2026-08-31T14:01:25+05:30"
      },
      {
        "name": "Kaal",
        "start": "2026-08-31T14:01:25+05:30",
        "end": "2026-08-31T15:35:48+05:30"
      },
      {
        "name": "Shubh",
        "start": "2026-08-31T15:35:48+05:30",
        "end": "2026-08-31T17:10:11+05:30"
      },
      {
        "name": "Roga",
        "start": "2026-08-31T17:10:11+05:30",
        "end": "2026-08-31T18:44:34+05:30"
      }
    ],
    "night": [
      {
        "name": "Kaal",
        "start": "2026-08-31T18:44:34+05:30",
        "end": "2026-08-31T20:10:14.250000+05:30"
      },
      {
        "name": "Laabh",
        "start": "2026-08-31T20:10:14.250000+05:30",
        "end": "2026-08-31T21:35:54.500000+05:30"
      },
      {
        "name": "Udwega",
        "start": "2026-08-31T21:35:54.500000+05:30",
        "end": "2026-08-31T23:01:34.750000+05:30"
      },
      {
        "name": "Shubh",
        "start": "2026-08-31T23:01:34.750000+05:30",
        "end": "2026-09-01T00:27:15+05:30"
      },
      {
        "name": "Amrit",
        "start": "2026-09-01T00:27:15+05:30",
        "end": "2026-09-01T01:52:55.250000+05:30"
      },
      {
        "name": "Chara",
        "start": "2026-09-01T01:52:55.250000+05:30",
        "end": "2026-09-01T03:18:35.500000+05:30"
      },
      {
        "name": "Roga",
        "start": "2026-09-01T03:18:35.500000+05:30",
        "end": "2026-09-01T04:44:15.750000+05:30"
      },
      {
        "name": "Kaal",
        "start": "2026-09-01T04:44:15.750000+05:30",
        "end": "2026-09-01T06:09:56+05:30"
      }
    ],
    "gowri_day": [
      {
        "name": "Rog",
        "status": "Bad",
        "start": "06:09:57 AM",
        "end": "07:44:09 AM"
      },
      {
        "name": "Udveg",
        "status": "Bad",
        "start": "07:44:09 AM",
        "end": "09:18:21 AM"
      },
      {
        "name": "Chara",
        "status": "Good",
        "start": "09:18:21 AM",
        "end": "10:52:32 AM"
      },
      {
        "name": "Laabha",
        "status": "Good",
        "start": "10:52:32 AM",
        "end": "12:26:44 PM"
      },
      {
        "name": "Amrit",
        "status": "Good",
        "start": "12:26:44 PM",
        "end": "14:00:56 PM"
      },
      {
        "name": "Kaala",
        "status": "Bad",
        "start": "14:00:56 PM",
        "end": "15:35:08 PM"
      },
      {
        "name": "Shubha",
        "status": "Good",
        "start": "15:35:08 PM",
        "end": "17:09:19 PM"
      },
      {
        "name": "Rog",
        "status": "Bad",
        "start": "17:09:19 PM",
        "end": "18:43:31 PM"
      }
    ],
    "gowri_night": [
      {
        "name": "Kaala",
        "status": "Bad",
        "start": "18:43:31 PM",
        "end": "20:09:23 PM"
      },
      {
        "name": "Laabha",
        "status": "Good",
        "start": "20:09:23 PM",
        "end": "21:35:14 PM"
      },
      {
        "name": "Udveg",
        "status": "Bad",
        "start": "21:35:14 PM",
        "end": "23:01:06 PM"
      },
      {
        "name": "Shubha",
        "status": "Good",
        "start": "23:01:06 PM",
        "end": "00:26:57 AM"
      },
      {
        "name": "Amrit",
        "status": "Good",
        "start": "00:26:57 AM",
        "end": "01:52:49 AM"
      },
      {
        "name": "Chara",
        "status": "Good",
        "start": "01:52:49 AM",
        "end": "03:18:40 AM"
      },
      {
        "name": "Rog",
        "status": "Bad",
        "start": "03:18:40 AM",
        "end": "04:44:32 AM"
      },
      {
        "name": "Kaala",
        "status": "Bad",
        "start": "04:44:32 AM",
        "end": "06:10:23 AM"
      }
    ]
  },
  "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.