ASTROLOGY API REFERENCE DOCUMENTATION

Krishnamurti Paddhati/KP House Cusps

Get KP House Cusps Details

API Endpoint
kp_house_cusps
Method & Url
MethodFull Url
POSThttps://json.apireports.com/v1/kp_house_cusps

Response Data

{
  "status_code": 200,
  "status": true,
  "data": {
    "kp_house_cusps": [
      {
        "house_id": 1,
        "full_degree": 230.6818604,
        "normDegree": 20.681860400000005,
        "formatted_deg": {
          "full": "230:40:55",
          "deg": "230",
          "min": "40",
          "sec": "55"
        },
        "formatted_norm_deg": {
          "full": "20:40:55",
          "deg": "20",
          "min": "40",
          "sec": "55"
        },
        "sign_id": 8,
        "sign": "Scorpio",
        "sign_lord": "Mars",
        "nakshatra": "Jyeshtha",
        "nakshatra_lord": "Mercury",
        "sub_lord": "Venus",
        "sub_sub_lord": "Jupiter"
      },
      {
        "house_id": 2,
        "full_degree": 262.3742138,
        "normDegree": 22.374213800000007,
        "formatted_deg": {
          "full": "262:22:27",
          "deg": "262",
          "min": "22",
          "sec": "27"
        },
        "formatted_norm_deg": {
          "full": "22:22:27",
          "deg": "22",
          "min": "22",
          "sec": "27"
        },
        "sign_id": 9,
        "sign": "Sagittarius",
        "sign_lord": "Jupiter",
        "nakshatra": "Purva Ashadha",
        "nakshatra_lord": "Venus",
        "sub_lord": "Saturn",
        "sub_sub_lord": "Mercury"
      },
      {
        "house_id": 3,
        "full_degree": 297.3397978,
        "normDegree": 27.339797799999985,
        "formatted_deg": {
          "full": "297:20:23",
          "deg": "297",
          "min": "20",
          "sec": "23"
        },
        "formatted_norm_deg": {
          "full": "27:20:23",
          "deg": "27",
          "min": "20",
          "sec": "23"
        },
        "sign_id": 10,
        "sign": "Capricorn",
        "sign_lord": "Saturn",
        "nakshatra": "Dhanishtha",
        "nakshatra_lord": "Mars",
        "sub_lord": "Jupiter",
        "sub_sub_lord": "Sun"
      },
      {
        "house_id": 4,
        "full_degree": 332.0811782,
        "normDegree": 2.0811782000000107,
        "formatted_deg": {
          "full": "332:04:52",
          "deg": "332",
          "min": "04",
          "sec": "52"
        },
        "formatted_norm_deg": {
          "full": "02:04:52",
          "deg": "02",
          "min": "04",
          "sec": "52"
        },
        "sign_id": 12,
        "sign": "Pisces",
        "sign_lord": "Jupiter",
        "nakshatra": "Purva Bhadrapada",
        "nakshatra_lord": "Jupiter",
        "sub_lord": "Rahu",
        "sub_sub_lord": "Saturn"
      },
      {
        "house_id": 5,
        "full_degree": 2.4707358,
        "normDegree": 2.4707358,
        "formatted_deg": {
          "full": "02:28:15",
          "deg": "02",
          "min": "28",
          "sec": "15"
        },
        "formatted_norm_deg": {
          "full": "02:28:15",
          "deg": "02",
          "min": "28",
          "sec": "15"
        },
        "sign_id": 1,
        "sign": "Aries",
        "sign_lord": "Mars",
        "nakshatra": "Aswini",
        "nakshatra_lord": "Ketu",
        "sub_lord": "Venus",
        "sub_sub_lord": "Saturn"
      },
      {
        "house_id": 6,
        "full_degree": 27.9709016,
        "normDegree": 27.9709016,
        "formatted_deg": {
          "full": "27:58:15",
          "deg": "27",
          "min": "58",
          "sec": "15"
        },
        "formatted_norm_deg": {
          "full": "27:58:15",
          "deg": "27",
          "min": "58",
          "sec": "15"
        },
        "sign_id": 1,
        "sign": "Aries",
        "sign_lord": "Mars",
        "nakshatra": "Krittika",
        "nakshatra_lord": "Sun",
        "sub_lord": "Moon",
        "sub_sub_lord": "Saturn"
      },
      {
        "house_id": 7,
        "full_degree": 50.6818604,
        "normDegree": 20.681860399999998,
        "formatted_deg": {
          "full": "50:40:55",
          "deg": "50",
          "min": "40",
          "sec": "55"
        },
        "formatted_norm_deg": {
          "full": "20:40:55",
          "deg": "20",
          "min": "40",
          "sec": "55"
        },
        "sign_id": 2,
        "sign": "Taurus",
        "sign_lord": "Venus",
        "nakshatra": "Rohini",
        "nakshatra_lord": "Moon",
        "sub_lord": "Venus",
        "sub_sub_lord": "Venus"
      },
      {
        "house_id": 8,
        "full_degree": 82.3742138,
        "normDegree": 22.374213800000007,
        "formatted_deg": {
          "full": "82:22:27",
          "deg": "82",
          "min": "22",
          "sec": "27"
        },
        "formatted_norm_deg": {
          "full": "22:22:27",
          "deg": "22",
          "min": "22",
          "sec": "27"
        },
        "sign_id": 3,
        "sign": "Gemini",
        "sign_lord": "Mercury",
        "nakshatra": "Punarvasu",
        "nakshatra_lord": "Jupiter",
        "sub_lord": "Saturn",
        "sub_sub_lord": "Mercury"
      },
      {
        "house_id": 9,
        "full_degree": 117.3397978,
        "normDegree": 27.3397978,
        "formatted_deg": {
          "full": "117:20:23",
          "deg": "117",
          "min": "20",
          "sec": "23"
        },
        "formatted_norm_deg": {
          "full": "27:20:23",
          "deg": "27",
          "min": "20",
          "sec": "23"
        },
        "sign_id": 4,
        "sign": "Cancer",
        "sign_lord": "Moon",
        "nakshatra": "Ashlesha",
        "nakshatra_lord": "Mercury",
        "sub_lord": "Jupiter",
        "sub_sub_lord": "Sun"
      },
      {
        "house_id": 10,
        "full_degree": 152.0811782,
        "normDegree": 2.0811782000000107,
        "formatted_deg": {
          "full": "152:04:52",
          "deg": "152",
          "min": "04",
          "sec": "52"
        },
        "formatted_norm_deg": {
          "full": "02:04:52",
          "deg": "02",
          "min": "04",
          "sec": "52"
        },
        "sign_id": 6,
        "sign": "Virgo",
        "sign_lord": "Mercury",
        "nakshatra": "Uttra Phalguni",
        "nakshatra_lord": "Sun",
        "sub_lord": "Jupiter",
        "sub_sub_lord": "Ketu"
      },
      {
        "house_id": 11,
        "full_degree": 182.4707358,
        "normDegree": 2.4707358,
        "formatted_deg": {
          "full": "182:28:15",
          "deg": "182",
          "min": "28",
          "sec": "15"
        },
        "formatted_norm_deg": {
          "full": "02:28:15",
          "deg": "02",
          "min": "28",
          "sec": "15"
        },
        "sign_id": 7,
        "sign": "Libra",
        "sign_lord": "Venus",
        "nakshatra": "Chitra",
        "nakshatra_lord": "Mars",
        "sub_lord": "Ketu",
        "sub_sub_lord": "Saturn"
      },
      {
        "house_id": 12,
        "full_degree": 207.9709016,
        "normDegree": 27.97090159999999,
        "formatted_deg": {
          "full": "207:58:15",
          "deg": "207",
          "min": "58",
          "sec": "15"
        },
        "formatted_norm_deg": {
          "full": "27:58:15",
          "deg": "27",
          "min": "58",
          "sec": "15"
        },
        "sign_id": 7,
        "sign": "Libra",
        "sign_lord": "Venus",
        "nakshatra": "Vishakha",
        "nakshatra_lord": "Jupiter",
        "sub_lord": "Venus",
        "sub_sub_lord": "Jupiter"
      }
    ]
  }
}
JSON
Params Data Type Description Example
day int Date of Birth 15
month int Month of Birth 9
year int Year of Birth 1994
hour int Hour of Birth 12
min int Min of Birth 30
lat float Latitude of Birth Place 28.6139
lon float Longitude of Birth Place 77.1025
tzone float Timezone of Birth Place 5.5
# cURL Request Example

curl --location --request POST 'https://json.apireports.com/v1/kp_house_cusps' \
-u '{YourUserID}:{YourApiKey}'\
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data-raw '{
    "day": 15,
    "month": 9,
    "year": 1994,
    "hour": 12,
    "min": 30,
    "lat": 28.61390000000000100044417195022106170654296875,
    "lon": 77.1025000000000062527760746888816356658935546875,
    "tzone": 5.5
}'

# END
cURL
/* JavaScript Request Example */

var apiEndPoint = "kp_house_cusps";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var language = "en";
var data = {
    "day": 15,
    "month": 9,
    "year": 1994,
    "hour": 12,
    "min": 30,
    "lat": 28.61390000000000100044417195022106170654296875,
    "lon": 77.1025000000000062527760746888816356658935546875,
    "tzone": 5.5
};
var url = 'https://json.apireports.com/v1/'+apiEndPoint;

var request = $.ajax({
	url: url,
	method: "POST",
	dataType:'json',
	headers: {
		"Authorization": "Basic " + btoa(userId+":"+apiKey),
		"Accept-Language": "en",
		"Content-Type":'application/json'
	},
	data:JSON.stringify(data)
});

request.then(
	function(resp){
		console.log(resp);
	},
	function(err){
		console.log(err);
	}
);

/* END */
JavaScript
<?php
/* PHP Request Example */

$apiEndPoint = "kp_house_cusps";
$userId = "{YourUserID}";
$apiKey = "{YourApiKey}";
$url = "https://json.apireports.com/v1/";
$data = array(
	"day" => 15,
	"month" => 9,
	"year" => 1994,
	"hour" => 12,
	"min" => 30,
	"lat" => 28.6139,
	"lon" => 77.1025,
	"tzone" => 5.5
);
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $url.$apiEndPoint);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 20);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
$header[] = 'Authorization: Basic '. base64_encode($userId.":".$apiKey);
$header[] = 'Accept-Language: en';
$header[] = 'Content-Type: application/json';
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
$error = curl_error($ch);
$http_code = curl_getinfo($ch ,CURLINFO_HTTP_CODE);
curl_close($ch);
echo $response;

/* END */
PHP
# Python Request Example

import requests
import json

apiEndPoint = "kp_house_cusps";
userId = "{YourUserID}";
apiKey = "{YourApiKey}";
url = "https://json.apireports.com/v1/"+apiEndPoint

data = json.dumps({
    "day": 15,
    "month": 9,
    "year": 1994,
    "hour": 12,
    "min": 30,
    "lat": 28.61390000000000100044417195022106170654296875,
    "lon": 77.1025000000000062527760746888816356658935546875,
    "tzone": 5.5
})

headers = {
  'Accept-Language': 'en',
  'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, auth=(userId, apiKey),data=data)

print(response.text)

# END
Python
/* NodeJS Request Example */

var request = require('request');
var apiEndPoint = "kp_house_cusps";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var url = 'https://json.apireports.com/v1/'+apiEndPoint;
var options = {
  'method': 'POST',
  'url': url,
  'auth': {
    'user': userId,
    'password': apiKey
  },
  'headers': {
    'Accept-Language': 'en',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "day": 15,
    "month": 9,
    "year": 1994,
    "hour": 12,
    "min": 30,
    "lat": 28.61390000000000100044417195022106170654296875,
    "lon": 77.1025000000000062527760746888816356658935546875,
    "tzone": 5.5
})
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

/* END */
NodeJS

Astrology API Reports in News