Astrology API Reference Documentation

Solar Return/solar_return_house_cusps

Get solar return house cusps details

API Endpoint

solar_return_house_cusps

Method & URL
Method Full URL
POST https://json.astrologyapi.com/v1/solar_return_house_cusps

Response Data

			
				{
    "houses": [
        {
            "house": 1,
            "sign": "Aries",
            "degree": 13.25529
        },
        {
            "house": 2,
            "sign": "Taurus",
            "degree": 43.01473
        },
        {
            "house": 3,
            "sign": "Gemini",
            "degree": 68.55911
        },
        {
            "house": 4,
            "sign": "Cancer",
            "degree": 93.78243
        },
        {
            "house": 5,
            "sign": "Leo",
            "degree": 122.1002
        },
        {
            "house": 6,
            "sign": "Virgo",
            "degree": 155.86703
        },
        {
            "house": 7,
            "sign": "Libra",
            "degree": 193.25529
        },
        {
            "house": 8,
            "sign": "Scorpio",
            "degree": 223.01473
        },
        {
            "house": 9,
            "sign": "Sagittarius",
            "degree": 248.55911
        },
        {
            "house": 10,
            "sign": "Capricorn",
            "degree": 273.78243
        },
        {
            "house": 11,
            "sign": "Aquarius",
            "degree": 302.1002
        },
        {
            "house": 12,
            "sign": "Pisces",
            "degree": 335.86703
        }
    ],
    "ascendant": 37.368916222730974,
    "midheaven": 297.8960549871522,
    "vertex": 194.57571878743278
}			
		
Params Data type Descriptions

day

month

year

hour

min

lat

lon

tzone

int

int

int

int

int

float

float

float

date of birth, eg: 10

month of birth, eg: 5

year of birth, eg: 1990

hour, eg: 19

minute, eg: 55

latitude, eg: 19.2056

longitude, eg: 25.2056

timezone, eg: 5.5

            
                var userId = '';
var apiKey = '';
var data = 'JSON Request Data';
var request = $.ajax({
url: "https://json.astrologyapi.com/v1/"+api,
    method: "POST",
    dataType:'json',
    headers: {
    "authorization": "Basic " + btoa(userId+":"+apiKey),
        "Content-Type":'application/json'
    },
    data:JSON.stringify(data)
});
// Returns A promiss
return( request.then( function(resp){
    return resp;
}, function(err){
    return err;
}));
}
            
		
                
                    require_once 'VedicRishiClient.php';
$userId = "";
$apiKey = "";
$data = array(
    'date' => 25,
    'month' => 12,
    'year' => 1988,
    'hour' => 4,
    'minute' => 0,
    'latitude' => 25.123,
    'longitude' => 82.34,
    'timezone' => 5.5
);
$resourceName = "astro_details";
$vedicRishi = new VedicRishiClient($userId, $apiKey);
$responseData = $vedicRishi->call($resourceName, $data['date'], $data['month'], $data['year'], $data['hour'], $data['minute'], $data['latitude'], $data['longitude'], $data['timezone']);
echo $responseData;


                

             
Download PHP Client