Skip to content
BestAstroAPI

Matching & doshas

Kaal sarp dosha

POST/v1/dosha/kaalsarp

Whether all planets fall on one side of the Rahu-Ketu axis, the named type, and planets outside the axis.

Request

FieldTypeDescription
datetimestringrequiredLocal birth time, YYYY-MM-DDTHH:MM[:SS]
latnumberLatitude, -90 to 90 (north positive). Send lat, lon and tz, or place, or place_id
lonnumberLongitude, -180 to 180 (east positive)
tzstringIANA zone (Asia/Kolkata) or offset (+05:30). Needed with lat and lon; filled in with a place
placestringPlace name instead of lat, lon and tz, for example Gorakhpur, Uttar Pradesh. If the name is not unique: ambiguous_place with choices
place_idintegerThe id of a place from place search, instead of lat, lon and tz
ayanamsastringlahiri (default) | raman | krishnamurti
nodestringmean (default) | true
house_systemstringwhole_sign (default) | equal | placidus | porphyry
outer_planetsbooleanAlso return Uranus, Neptune, Pluto (default false)

Example

curl -X POST "https://api.bestastroapi.in/v1/dosha/kaalsarp" \
  -H "x-api-key: $BESTASTRO_KEY" \
  -H "content-type: application/json" \
  -d '{"datetime":"2004-05-18T10:30","lat":28.6139,"lon":77.209,"tz":"Asia/Kolkata"}'

Try it live

Sends a real request from your browser.

Response

  • [] is a list. {key} is a key that varies.
  • Fields marked “or null” are always there but can be empty.
FieldTypeMeaning
birthBirthBirth details we used
doshastringAlways kaalsarp on this path
resultobjectKaal sarp result
result.presentbooleanTrue for a full or partial kaal sarp
result.kindstringpartial means one planet is outside the axisnone | partial | full
result.namestring or nullNamed type, for example Ghatak. Null when there is none
result.rahu_houseintegerHouse of Rahu, 1 to 12
result.outsidestring[]Planets outside the Rahu-Ketu axis

Objects used above

Birth The birth details we used, so you can check the timezone.

FieldTypeMeaning
datetimestringLocal time you sent, with seconds
tzstringZone you sent
utc_offsetstringUTC offset in force then, for example +05:30
utcstringISO 8601The same moment in UTC
latnumberdegreesLatitude
lonnumberdegreesLongitude
jd_utnumberJulian day (UT)
placePlaceUsedThe place we looked up. Only when you sent place or place_id optional
Raw sample
200 application/json
{
  "birth": {
    "datetime": "2004-05-18T10:30:00",
    "jd_ut": 2453143.708333,
    "lat": 28.6139,
    "lon": 77.209,
    "tz": "Asia/Kolkata",
    "utc": "2004-05-18T05:00:00Z",
    "utc_offset": "+05:30"
  },
  "dosha": "kaalsarp",
  "result": {
    "kind": "partial",
    "name": "Ghatak",
    "outside": [
      "Mercury"
    ],
    "present": true,
    "rahu_house": 10
  }
}

Real output for the example request above.

Errors use one format. See error codes. Also in openapi.json.

Welcome! How will you use it?

We'll show you what matters to you. You can switch any time at the top.