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
| Field | Type | Description |
|---|---|---|
| datetime | stringrequired | Local birth time, YYYY-MM-DDTHH:MM[:SS] |
| lat | number | Latitude, -90 to 90 (north positive). Send lat, lon and tz, or place, or place_id |
| lon | number | Longitude, -180 to 180 (east positive) |
| tz | string | IANA zone (Asia/Kolkata) or offset (+05:30). Needed with lat and lon; filled in with a place |
| place | string | Place name instead of lat, lon and tz, for example Gorakhpur, Uttar Pradesh. If the name is not unique: ambiguous_place with choices |
| place_id | integer | The id of a place from place search, instead of lat, lon and tz |
| ayanamsa | string | lahiri (default) | raman | krishnamurti |
| node | string | mean (default) | true |
| house_system | string | whole_sign (default) | equal | placidus | porphyry |
| outer_planets | boolean | Also 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"}'Response
[]is a list.{key}is a key that varies.- Fields marked “or null” are always there but can be empty.
| Field | Type | Meaning |
|---|---|---|
| birth | Birth | Birth details we used |
| dosha | string | Always kaalsarp on this path |
| result | object | Kaal sarp result |
| result.present | boolean | True for a full or partial kaal sarp |
| result.kind | string | partial means one planet is outside the axisnone | partial | full |
| result.name | string or null | Named type, for example Ghatak. Null when there is none |
| result.rahu_house | integer | House of Rahu, 1 to 12 |
| result.outside | string[] | Planets outside the Rahu-Ketu axis |
Objects used above
Birth The birth details we used, so you can check the timezone.
| Field | Type | Meaning |
|---|---|---|
| datetime | string | Local time you sent, with seconds |
| tz | string | Zone you sent |
| utc_offset | string | UTC offset in force then, for example +05:30 |
| utc | stringISO 8601 | The same moment in UTC |
| lat | numberdegrees | Latitude |
| lon | numberdegrees | Longitude |
| jd_ut | number | Julian day (UT) |
| place | PlaceUsed | The 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.