Copy page
Copy page as Markdown for LLMs
This API returns house-wise cuspal details including sign, nakshatra lord, and sub lord along with a planet-wise significator table. The response is structured for direct mapping between planets and houses.
Step by Step KP Astrology API Postman Testing Integration
| Code | Language |
|---|---|
| en | English |
| hi | Hindi |
| bn | Bengali |
| ma | Marathi |
| tm | Tamil |
| tl | Telugu |
| ml | Malayalam |
| kn | Kannada |
Pass lan in the body to get the response in that language. Default is en.
POST https://astroapi-3.divineapi.com/indian-api/v1/kp/planetary-cuspal-significator-table| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API access token. Example: Bearer {token} |
| Name | Type | Required | Description |
|---|---|---|---|
| api_key | String | Yes | Your DivineAPI key. |
| full_name | String | Yes | Full name, e.g. Rahul Kumar. |
| day | Integer | Yes | Date of birth, e.g. 24. |
| month | Integer | Yes | Month of birth, e.g. 05. |
| year | Integer | Yes | Year of birth, e.g. 2023. |
| hour | Integer | Yes | Hour of birth (24h), e.g. 14. |
| min | Integer | Yes | Minute, e.g. 40. |
| sec | Integer | Yes | Second, e.g. 43. |
| gender | String | Yes | e.g. male. |
| place | String | Yes | e.g. New Delhi. |
| lat | Float | Yes | Latitude, e.g. 28.7041. |
| lon | Float | Yes | Longitude, e.g. 77.1025. |
| tzone | Float | Yes | Timezone, e.g. 5.5. |
| lan | String | No | Language code from the table above. |
{
"success": 1,
"data": {
"column": {
"1": {
"house": 1,
"sign": 6,
"nakshatra_lord": "Moon",
"sub_lord": "Mars"
},
"2": {
"house": 2,
"sign": 7,
"nakshatra_lord": "Rahu",
"sub_lord": "Jupiter"
},
"3": {
"house": 3,
"sign": 8,
"nakshatra_lord": "Saturn",
"sub_lord": "Sun"
},
"4": {
"house": 4,
"sign": 9,
"nakshatra_lord": "Ketu",
"sub_lord": "Mercury"
},
"5": {
"house": 5,
"sign": 10,
"nakshatra_lord": "Moon",
"sub_lord": "Rahu"
},
"6": {
"house": 6,
"sign": 11,
"nakshatra_lord": "Rahu",
"sub_lord": "Mercury"
},
"7": {
"house": 7,
"sign": 12,
"nakshatra_lord": "Saturn",
"sub_lord": "Moon"
},
"8": {
"house": 8,
"sign": 1,
"nakshatra_lord": "Ketu",
"sub_lord": "Saturn"
},
"9": {
"house": 9,
"sign": 2,
"nakshatra_lord": "Moon",
"sub_lord": "Moon"
},
"10": {
"house": 10,
"sign": 3,
"nakshatra_lord": "Rahu",
"sub_lord": "Saturn"
},
"11": {
"house": 11,
"sign": 4,
"nakshatra_lord": "Saturn",
"sub_lord": "Rahu"
},
"12": {
"house": 12,
"sign": 5,
"nakshatra_lord": "Venus",
"sub_lord": "Venus"
}
},
"significator_table": {
"Sun": {
"1": "-",
"2": "-",
"3": "-",
"4": "-",
"5": "-",
"6": "-",
"7": "-",
"8": "S",
"9": "-",
"10": "-",
"11": "-",
"12": "S"
},
"Moon": {
"1": "-",
"2": "-",
"3": "-",
"4": "S",
"5": "-",
"6": "-",
"7": "S",
"8": "-",
"9": "-",
"10": "S",
"11": "S",
"12": "-"
},
"Mercury": {
"1": "S",
"2": "S",
"3": "-",
"4": "-",
"5": "-",
"6": "-",
"7": "-",
"8": "S",
"9": "S",
"10": "S",
"11": "-",
"12": "-"
},
"Venus": {
"1": "-",
"2": "S",
"3": "-",
"4": "S",
"5": "-",
"6": "-",
"7": "S",
"8": "-",
"9": "S",
"10": "S",
"11": "-",
"12": "-"
},
"Mars": {
"1": "-",
"2": "-",
"3": "S",
"4": "-",
"5": "S",
"6": "S",
"7": "-",
"8": "S",
"9": "-",
"10": "S",
"11": "-",
"12": "-"
},
"Jupiter": {
"1": "S",
"2": "-",
"3": "S",
"4": "S",
"5": "-",
"6": "-",
"7": "S",
"8": "-",
"9": "-",
"10": "-",
"11": "-",
"12": "-"
},
"Saturn": {
"1": "-",
"2": "-",
"3": "-",
"4": "-",
"5": "S",
"6": "S",
"7": "S",
"8": "-",
"9": "-",
"10": "-",
"11": "-",
"12": "-"
},
"Uranus": {
"1": "-",
"2": "S",
"3": "-",
"4": "-",
"5": "-",
"6": "-",
"7": "-",
"8": "S",
"9": "S",
"10": "S",
"11": "-",
"12": "-"
},
"Neptune": {
"1": "-",
"2": "-",
"3": "-",
"4": "S",
"5": "-",
"6": "S",
"7": "S",
"8": "-",
"9": "-",
"10": "-",
"11": "-",
"12": "-"
},
"Pluto": {
"1": "-",
"2": "-",
"3": "-",
"4": "S",
"5": "-",
"6": "-",
"7": "-",
"8": "S",
"9": "-",
"10": "-",
"11": "-",
"12": "S"
},
"Rahu": {
"1": "S",
"2": "-",
"3": "S",
"4": "-",
"5": "-",
"6": "S",
"7": "S",
"8": "-",
"9": "-",
"10": "-",
"11": "-",
"12": "-"
},
"Ketu": {
"1": "S",
"2": "-",
"3": "S",
"4": "-",
"5": "-",
"6": "S",
"7": "S",
"8": "-",
"9": "-",
"10": "-",
"11": "-",
"12": "-"
}
}
}
}Below are example implementations in various programming environments.
curl --location 'https://astroapi-3.divineapi.com/indian-api/v1/kp/planetary-cuspal-significator-table' \
--header 'Authorization: Bearer your API Access Token' \
--form 'api_key="your API Key"' \
--form 'full_name="Your name"' \
--form 'day="24"' \
--form 'month="05"' \
--form 'year="2023"' \
--form 'hour="14"' \
--form 'min="40"' \
--form 'sec="43"' \
--form 'gender="male"' \
--form 'place="New Delhi, India"' \
--form 'lat="28.7041"' \
--form 'lon="77.1025"' \
--form 'tzone="5.5"' \
--form 'lan="en"'var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-3.divineapi.com/indian-api/v1/kp/planetary-cuspal-significator-table',
'headers': {
'Authorization': 'Bearer your API Access Token'
},
formData: {
'api_key': 'your API Key',
'full_name': 'Your name',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi, India',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5',
'lan': 'en'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
var form = new FormData();
form.append("api_key", "your API Key");
form.append("full_name", "Your name");
form.append("day", "24");
form.append("month", "05");
form.append("year", "2023");
form.append("hour", "14");
form.append("min", "40");
form.append("sec", "43");
form.append("gender", "male");
form.append("place", "New Delhi, India");
form.append("lat", "28.7041");
form.append("lon", "77.1025");
form.append("tzone", "5.5");
form.append("lan", "en");
var settings = {
"url": "https://astroapi-3.divineapi.com/indian-api/v1/kp/planetary-cuspal-significator-table",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer your API Access Token"
},
"processData": false,
"mimeType": "multipart/form-data",
"contentType": false,
"data": form
};
$.ajax(settings).done(function (response) {
console.log(response);
});import requests
url = "https://astroapi-3.divineapi.com/indian-api/v1/kp/planetary-cuspal-significator-table"
payload = {'api_key': 'your API Key',
'full_name': 'Your name',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi, India',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5',
'lan': 'en'}
files=[
]
headers = {
'Authorization': 'Bearer your API Access Token'
}
response = requests.request("POST", url, headers=headers, data=payload, files=files)
print(response.text)