Skip to main content

KP Natal Chart

Computes the KP (Krishnamurti Paddhati) natal chart using Krishnamurti ayanamsa and Placidus house system. Returns planet positions with nakshatra lord and sub-lord, and all 12 house cusps with sub-lords. Request JSON follows BirthInput: name, date (YYYY-MM-DD), time (HH:MM, required), either location or latitude/longitude/timezone, optional ayanamsa.

Endpoint

POST /v1/astro/kp/chart

Request parameters

FieldTypeRequiredDescription
locationstring | nullNoCity name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
namestringNoPerson name associated with the birth record
datestringYesBirth date in YYYY-MM-DD format
timestring | nullNoBirth time in HH:MM 24-hour format. If omitted, sunrise chart is used as fallback.
latitudenumber | nullNoLatitude. Required if location not provided.
longitudenumber | nullNoLongitude. Required if location not provided.
timezonestring | nullNoIANA timezone. Required if location not provided.
ayanamsastringNoSidereal ayanamsa mode used in calculations

Example request

curl -X POST "https://api.asterwise.com/v1/astro/kp/chart" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"date":"1985-11-12","time":"06:45","latitude":19.076,"longitude":72.8777,"timezone":"Asia/Kolkata"}'

Example response

{
"success": true,
"message": "success",
"data": {
"ayanamsa": "kp",
"lagna": {
"rashi": "Tula",
"rashi_index": 6,
"longitude": 205.3949,
"nakshatra_lord": "Jupiter",
"sub_lord": "Mercury"
},
"planets": {
"Sun": {
"longitude": 206.0339,
"rashi_index": 6,
"rashi": "Tula",
"degree": 26.0339,
"is_retrograde": false,
"house": 1,
"nakshatra_index": 15,
"nakshatra_lord": "Jupiter",
"sub_lord": "Ketu"
},
"Moon": {
"longitude": 198.2755,
"rashi_index": 6,
"rashi": "Tula",
"degree": 18.2755,
"is_retrograde": false,
"house": 1,
"nakshatra_index": 14,
"nakshatra_lord": "Rahu",
"sub_lord": "Moon"
},
"Mars": {
"longitude": 166.0897,
"rashi_index": 5,
"rashi": "Kanya",
"degree": 16.0897,
"is_retrograde": false,
"house": 12,
"nakshatra_index": 12,
"nakshatra_lord": "Moon",
"sub_lord": "Saturn"
},
"Mercury": {
"longitude": 228.6163,
"rashi_index": 7,
"rashi": "Vrischika",
"degree": 18.6163,
"is_retrograde": false,
"house": 2,
"nakshatra_index": 17,
"nakshatra_lord": "Mercury",
"sub_lord": "Ketu"
},
"Jupiter": {
"longitude": 286.0532,
"rashi_index": 9,
"rashi": "Makara",
"degree": 16.0532,
"is_retrograde": false,
"house": 4,
"nakshatra_index": 21,
"nakshatra_lord": "Moon",
"sub_lord": "Saturn"
},
"Venus": {
"longitude": 189.4692,
"rashi_index": 6,
"rashi": "Tula",
"degree": 9.4692,
"is_retrograde": false,
"house": 1,
"nakshatra_index": 14,
"nakshatra_lord": "Rahu",
"sub_lord": "Jupiter"
},
"Saturn": {
"longitude": 215.8406,
"rashi_index": 7,
"rashi": "Vrischika",
"degree": 5.8406,
"is_retrograde": false,
"house": 2,
"nakshatra_index": 16,
"nakshatra_lord": "Saturn",
"sub_lord": "Mercury"
},
"Rahu": {
"longitude": 14.9024,
"rashi_index": 0,
"rashi": "Mesha",
"degree": 14.9024,
"is_retrograde": true,
"house": 7,
"nakshatra_index": 1,
"nakshatra_lord": "Venus",
"sub_lord": "Venus"
},
"Ketu": {
"longitude": 194.9024,
"rashi_index": 6,
"rashi": "Tula",
"degree": 14.9024,
"is_retrograde": true,
"house": 1,
"nakshatra_index": 14,
"nakshatra_lord": "Rahu",
"sub_lord": "Ketu"
}
},
"house_cusps": {
"1": {
"longitude": 205.3949,
"rashi_index": 6,
"rashi": "Tula",
"nakshatra_lord": "Jupiter",
"sub_lord": "Mercury"
},
"2": {
"longitude": 234.6095,
"rashi_index": 7,
"rashi": "Vrischika",
"nakshatra_lord": "Mercury",
"sub_lord": "Rahu"
},
"3": {
"longitude": 264.9467,
"rashi_index": 8,
"rashi": "Dhanu",
"nakshatra_lord": "Venus",
"sub_lord": "Mercury"
},
"4": {
"longitude": 296.7805,
"rashi_index": 9,
"rashi": "Makara",
"nakshatra_lord": "Mars",
"sub_lord": "Jupiter"
},
"5": {
"longitude": 328.9134,
"rashi_index": 10,
"rashi": "Kumbha",
"nakshatra_lord": "Jupiter",
"sub_lord": "Sun"
},
"6": {
"longitude": 358.8425,
"rashi_index": 11,
"rashi": "Meena",
"nakshatra_lord": "Mercury",
"sub_lord": "Saturn"
},
"7": {
"longitude": 25.3949,
"rashi_index": 0,
"rashi": "Mesha",
"nakshatra_lord": "Venus",
"sub_lord": "Mercury"
},
"8": {
"longitude": 54.6095,
"rashi_index": 1,
"rashi": "Vrishabha",
"nakshatra_lord": "Mars",
"sub_lord": "Rahu"
},
"9": {
"longitude": 84.9467,
"rashi_index": 2,
"rashi": "Mithuna",
"nakshatra_lord": "Jupiter",
"sub_lord": "Mercury"
},
"10": {
"longitude": 116.7805,
"rashi_index": 3,
"rashi": "Karka",
"nakshatra_lord": "Mercury",
"sub_lord": "Jupiter"
},
"11": {
"longitude": 148.9134,
"rashi_index": 4,
"rashi": "Simha",
"nakshatra_lord": "Sun",
"sub_lord": "Mars"
},
"12": {
"longitude": 178.8425,
"rashi_index": 5,
"rashi": "Kanya",
"nakshatra_lord": "Mars",
"sub_lord": "Saturn"
}
}
}
}

Response fields

FieldTypeDescription
successbooleanTrue if the request succeeded
messagestringHuman-readable status message
dataobject
data.ayanamsastring
data.lagnaobject
data.lagna.rashistring
data.lagna.rashi_indexinteger
data.lagna.longitudenumber
data.lagna.nakshatra_lordstring
data.lagna.sub_lordstring
data.planetsobject
data.house_cuspsobject

Errors

CodeDescriptionReference
authentication_failedMissing or invalid API key.authentication_failed
ephemeris_unavailableUpstream ephemeris service error.ephemeris_unavailable
insufficient_tierAPI key tier does not include this endpoint.insufficient_tier
internal_errorUnexpected server error.internal_error
ip_rate_limit_exceededToo many requests in a short window.ip_rate_limit_exceeded
payload_too_largeRequest body exceeds the size limit.payload_too_large
resource_not_foundReferenced resource was not found.resource_not_found
validation_errorRequest body failed schema validation.validation_error