Dosha API demo

Three calls that take the same birth body: Manglik, Kaal Sarp and Sade Sati. Each panel below makes one real call with the shared demo key. Use made-up birth details: nothing you send is stored.

Manglik

POST /v1/dosha/manglik (1 credit) grades Mangal dosha from the lagna, the Moon and Venus, and names each cancellation it applied.

Try it

Leave empty to use the shared demo key (limited). Test keys only: never charged. Kept in this browser tab and sent through this site to the API. Create one

Kaal Sarp

POST /v1/dosha/kaal-sarp (1 credit) says whether every graha sits on one side of the Rahu–Ketu axis, and if so whether the yoga is full or partial and which type it is.

Try it

Leave empty to use the shared demo key (limited). Test keys only: never charged. Kept in this browser tab and sent through this site to the API. Create one

Sade Sati

POST /v1/dosha/sade-sati (1 credit) says whether Saturn's seven-and-a-half-year transit over the Moon sign is running today, which phase it is in, when it ends, and lists each leg with its dates.

Try it

Leave empty to use the shared demo key (limited). Test keys only: never charged. Kept in this browser tab and sent through this site to the API. Create one

The same calls in code

curl -X POST 'https://api.astrologics.in/v1/dosha/manglik' \
  -H 'Authorization: Bearer al_test_YOUR_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"birth":{"date":"1990-08-13","time":"06:30","place":{"latitude":28.6139,"longitude":77.209}}}'
import json
import urllib.error
import urllib.request

body = {
    "birth": {
        "date": "1990-08-13",
        "time": "06:30",
        "place": {
            "latitude": 28.6139,
            "longitude": 77.209,
        },
    },
}

req = urllib.request.Request(
    "https://api.astrologics.in/v1/dosha/sade-sati",
    method="POST",
    headers={"Authorization": "Bearer al_test_YOUR_KEY", "Content-Type": "application/json"},
    data=json.dumps(body).encode(),
)
try:
    with urllib.request.urlopen(req) as res:
        print(json.dumps(json.load(res), indent=2, ensure_ascii=False))
except urllib.error.HTTPError as err:
    print(err.code, err.read().decode())

Questions

Why does Manglik return a severity and not just yes or no?

Traditions differ on the houses counted and on the cancellations. The API returns the house of Mars from each reference point and each cancellation it found, in words, so your app can show its working.

Is there a Sade Sati timeline for a whole life?

Yes: POST /v1/dosha/sade-sati/timeline (2 credits) lists every Sade Sati and Dhaiya from birth.

Do these calls cost extra?

Each is one ordinary call at the credits shown above, on every plan.

These are building blocks for apps. To check your own chart, use the free calculators on astrologics.in: Manglik, Kaal Sarp and Sade Sati.

All developer tools