Get Solar Return House Cusps
Method | Full Url |
---|---|
POST | https://json.apireports.com/v1/solar_return_house_cusps |
{
"status_code": 200,
"status": true,
"data": {
"solar_return_details": {
"native_birth_date": "1994-09-15 12:30:00",
"native_age": 27,
"solar_return_date": "2021-09-15 01:28:11"
},
"houses": [
{
"house": 1,
"full_deg": {
"deg": 111.4785974,
"formatted": {
"full": "111:28:43",
"deg": "111",
"min": "28",
"sec": "43"
}
},
"norm_deg": {
"deg": 21.478597399999998,
"formatted": {
"full": "21:28:43",
"deg": "21",
"min": "28",
"sec": "43"
}
},
"sign": {
"id": 4,
"name": "Cancer",
"symbol": "♋︎"
}
},
{
"house": 2,
"full_deg": {
"deg": 134.3974597,
"formatted": {
"full": "134:23:51",
"deg": "134",
"min": "23",
"sec": "51"
}
},
"norm_deg": {
"deg": 14.397459700000013,
"formatted": {
"full": "14:23:51",
"deg": "14",
"min": "23",
"sec": "51"
}
},
"sign": {
"id": 5,
"name": "Leo",
"symbol": "♌︎"
}
},
{
"house": 3,
"full_deg": {
"deg": 160.5548194,
"formatted": {
"full": "160:33:17",
"deg": "160",
"min": "33",
"sec": "17"
}
},
"norm_deg": {
"deg": 10.554819400000014,
"formatted": {
"full": "10:33:17",
"deg": "10",
"min": "33",
"sec": "17"
}
},
"sign": {
"id": 6,
"name": "Virgo",
"symbol": "♍︎"
}
},
{
"house": 4,
"full_deg": {
"deg": 191.5926598,
"formatted": {
"full": "191:35:34",
"deg": "191",
"min": "35",
"sec": "34"
}
},
"norm_deg": {
"deg": 11.592659800000007,
"formatted": {
"full": "11:35:34",
"deg": "11",
"min": "35",
"sec": "34"
}
},
"sign": {
"id": 7,
"name": "Libra",
"symbol": "♎"
}
},
{
"house": 5,
"full_deg": {
"deg": 226.2655234,
"formatted": {
"full": "226:15:56",
"deg": "226",
"min": "15",
"sec": "56"
}
},
"norm_deg": {
"deg": 16.265523400000006,
"formatted": {
"full": "16:15:56",
"deg": "16",
"min": "15",
"sec": "56"
}
},
"sign": {
"id": 8,
"name": "Scorpio",
"symbol": "♏"
}
},
{
"house": 6,
"full_deg": {
"deg": 260.4666064,
"formatted": {
"full": "260:27:60",
"deg": "260",
"min": "27",
"sec": "60"
}
},
"norm_deg": {
"deg": 20.46660639999999,
"formatted": {
"full": "20:27:60",
"deg": "20",
"min": "27",
"sec": "60"
}
},
"sign": {
"id": 9,
"name": "Sagittarius",
"symbol": "♐"
}
},
{
"house": 7,
"full_deg": {
"deg": 291.4785974,
"formatted": {
"full": "291:28:43",
"deg": "291",
"min": "28",
"sec": "43"
}
},
"norm_deg": {
"deg": 21.478597400000012,
"formatted": {
"full": "21:28:43",
"deg": "21",
"min": "28",
"sec": "43"
}
},
"sign": {
"id": 10,
"name": "Capricorn",
"symbol": "♑"
}
},
{
"house": 8,
"full_deg": {
"deg": 314.3974597,
"formatted": {
"full": "314:23:51",
"deg": "314",
"min": "23",
"sec": "51"
}
},
"norm_deg": {
"deg": 14.397459700000013,
"formatted": {
"full": "14:23:51",
"deg": "14",
"min": "23",
"sec": "51"
}
},
"sign": {
"id": 11,
"name": "Aquarius",
"symbol": "♒"
}
},
{
"house": 9,
"full_deg": {
"deg": 340.5548194,
"formatted": {
"full": "340:33:17",
"deg": "340",
"min": "33",
"sec": "17"
}
},
"norm_deg": {
"deg": 10.554819399999985,
"formatted": {
"full": "10:33:17",
"deg": "10",
"min": "33",
"sec": "17"
}
},
"sign": {
"id": 12,
"name": "Pisces",
"symbol": "♓"
}
},
{
"house": 10,
"full_deg": {
"deg": 11.5926598,
"formatted": {
"full": "11:35:34",
"deg": "11",
"min": "35",
"sec": "34"
}
},
"norm_deg": {
"deg": 11.5926598,
"formatted": {
"full": "11:35:34",
"deg": "11",
"min": "35",
"sec": "34"
}
},
"sign": {
"id": 1,
"name": "Aries",
"symbol": "♈︎"
}
},
{
"house": 11,
"full_deg": {
"deg": 46.2655234,
"formatted": {
"full": "46:15:56",
"deg": "46",
"min": "15",
"sec": "56"
}
},
"norm_deg": {
"deg": 16.2655234,
"formatted": {
"full": "16:15:56",
"deg": "16",
"min": "15",
"sec": "56"
}
},
"sign": {
"id": 2,
"name": "Taurus",
"symbol": "♉︎"
}
},
{
"house": 12,
"full_deg": {
"deg": 80.4666064,
"formatted": {
"full": "80:27:60",
"deg": "80",
"min": "27",
"sec": "60"
}
},
"norm_deg": {
"deg": 20.466606400000003,
"formatted": {
"full": "20:27:60",
"deg": "20",
"min": "27",
"sec": "60"
}
},
"sign": {
"id": 3,
"name": "Gemini",
"symbol": "♊︎"
}
}
]
}
}
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/solar_return_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
/* JavaScript Request Example */
var apiEndPoint = "solar_return_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 */
<?php
/* PHP Request Example */
$apiEndPoint = "solar_return_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 */
# Python Request Example
import requests
import json
apiEndPoint = "solar_return_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
/* NodeJS Request Example */
var request = require('request');
var apiEndPoint = "solar_return_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 */