Skip to content
POST/api/astro/mundane/ingresses/1 credit

Sign ingresses

Every sign change, for every body, across a window of dates. Mundane astrology asks about the sky itself rather than about a person, so there is no birth data here — just a window and what happens in it. Each event names the sign left and the sign entered, and flags whether the body was retrograde: a retrograde ingress is a planet re-entering the sign it just left, which products normally label differently from an ordinary one. Found by scanning rather than by formula, which matters for correctness — a retrograde planet can cross the same boundary three times in a few weeks, and a closed-form solution returns one answer where there are really three.

https://yogataraapi.prahlad.app/api/astro/mundane/ingresses/
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.

end_date_timestring (date-time)required

End of the window.

bodiesarrayoptional

Defaults to all eleven. Narrow it to keep responses small.

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.

latitudenumber (double)optional

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.

longitudenumber (double)optional

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.

timezone_as_floatnumber (double)optional

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

Example request

curl -X POST https://yogataraapi.prahlad.app/api/astro/mundane/ingresses/ \
  -H "X-API-Key: $OCCULT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date_time":"2026-01-01T00:00:00+00:00","end_date_time":"2026-12-31T23:59:59+00:00","timezone_as_float":0,"bodies":["mars","jupiter","saturn"]}'

Response

{
  "data": {
    "count": 10,
    "ingresses": [
      {
        "type": "ingress",
        "body": "mars",
        "datetime_utc": "2026-01-23T09:16:45Z",
        "julian_day_ut": 2461063.88663757,
        "from_sign": "Capricorn",
        "to_sign": "Aquarius",
        "retrograde": false,
        "sign": "Aquarius",
        "sign_index": 11,
        "degree_in_sign": 0
      },
      {
        "type": "ingress",
        "body": "saturn",
        "datetime_utc": "2026-02-14T00:11:39Z",
        "julian_day_ut": 2461085.50809114,
        "from_sign": "Pisces",
        "to_sign": "Aries",
        "retrograde": false,
        "sign": "Aries",
        "sign_index": 1,
        "degree_in_sign": 0
      },
      {
        "type": "ingress",
        "body": "mars",
        "datetime_utc": "2026-03-02T14:15:50Z",
        "julian_day_ut": 2461102.09433434,
        "from_sign": "Aquarius",
        "to_sign": "Pisces",
        "retrograde": false,
        "sign": "Pisces",
        "sign_index": 12,
        "degree_in_sign": 0
      },
      {
        "type": "ingress",
        "body": "mars",
        "datetime_utc": "2026-04-09T19:36:10Z",
        "julian_day_ut": 2461140.3167767,
        "from_sign": "Pisces",
        "to_sign": "Aries",
        "retrograde": false,
        "sign": "Aries",
        "sign_index": 1,
        "degree_in_sign": 0
      },
      {
        "type": "ingress",
        "body": "mars",
        "datetime_utc": "2026-05-18T22:25:28Z",
        "julian_day_ut": 2461179.43435282,
        "from_sign": "Aries",
        "to_sign": "Taurus",
        "retrograde": false,
        "sign": "Aries",
        "sign_index": 1,
        "degree_in_sign": 30
      },
      {
        "type": "ingress",
        "body": "mars",
        "datetime_utc": "2026-06-28T19:29:15Z",
        "julian_day_ut": 2461220.31197564,
        "from_sign": "Taurus",
        "to_sign": "Gemini",
        "retrograde": false,
        "sign": "Gemini",
        "sign_index": 3,
        "degree_in_sign": 0
      },
      {
        "type": "ingress",
        "body": "jupiter",
        "datetime_utc": "2026-06-30T05:52:22Z",
        "julian_day_ut": 2461221.74469549,
        "from_sign": "Cancer",
        "to_sign": "Leo",
        "retrograde": false,
        "sign": "Cancer",
        "sign_index": 4,
        "degree_in_sign": 30
      },
      {
        "type": "ingress",
        "body": "mars",
        "datetime_utc": "2026-08-11T08:30:31Z",
        "julian_day_ut": 2461263.85452433,
        "from_sign": "Gemini",
        "to_sign": "Cancer",
        "retrograde": false,
        "sign": "Cancer",
        "sign_index": 4,
        "degree_in_sign": 0
      },
      {
        "type": "ingress",
        "body": "mars",
        "datetime_utc": "2026-09-28T02:48:53Z",
        "julian_day_ut": 2461311.61727514,
        "from_sign": "Cancer",
        "to_sign": "Leo",
        "retrograde": false,
        "sign": "Cancer",
        "sign_index": 4,
        "degree_in_sign": 30
      },
      {
        "type": "ingress",
        "body": "mars",
        "datetime_utc": "2026-11-25T23:37:06Z",
        "julian_day_ut": 2461370.48409604,
        "from_sign": "Leo",
        "to_sign": "Virgo",
        "retrograde": false,
        "sign": "Leo",
        "sign_index": 5,
        "degree_in_sign": 30
      }
    ],
    "from": "2026-01-01T00:00:00Z",
    "to": "2026-12-31T23:59:59Z",
    "window_days": 365
  },
  "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.