Astrology API Reference Documentation

Solar Return/solar_return_planets

Get solar return planet details

API Endpoint

solar_return_planets

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

Response Data

			
				[
    {
        "name": "Sun",
        "fullDegree": 54.11380109399159,
        "normDegree": 24.11380109399159,
        "speed": 0.9650326085062656,
        "isRetro": "false",
        "sign": "Taurus",
        "house": 1
    },
    {
        "name": "Moon",
        "fullDegree": 47.31498623994308,
        "normDegree": 17.31498623994308,
        "speed": 14.338228826984029,
        "isRetro": "false",
        "sign": "Taurus",
        "house": 1
    },
    {
        "name": "Mars",
        "fullDegree": 299.5180197054693,
        "normDegree": 29.518019705469328,
        "speed": 0.39892711393865726,
        "isRetro": "false",
        "sign": "Capricorn",
        "house": 9
    },
    {
        "name": "Mercury",
        "fullDegree": 32.27603700198721,
        "normDegree": 2.2760370019872127,
        "speed": 1.5869226013806572,
        "isRetro": "false",
        "sign": "Taurus",
        "house": 1
    },
    {
        "name": "Jupiter",
        "fullDegree": 227.59923202631205,
        "normDegree": 17.599232026312052,
        "speed": -0.12617328212943554,
        "isRetro": "true",
        "sign": "Scorpio",
        "house": 7
    },
    {
        "name": "Venus",
        "fullDegree": 84.52954056784534,
        "normDegree": 24.529540567845345,
        "speed": 1.20082511692115,
        "isRetro": "false",
        "sign": "Gemini",
        "house": 2
    },
    {
        "name": "Saturn",
        "fullDegree": 278.5764139505125,
        "normDegree": 8.576413950512517,
        "speed": -0.04129842163652542,
        "isRetro": "true",
        "sign": "Capricorn",
        "house": 9
    },
    {
        "name": "Uranus",
        "fullDegree": 29.965198848479137,
        "normDegree": 29.965198848479137,
        "speed": 0.05351337432937592,
        "isRetro": "false",
        "sign": "Aries",
        "house": 12
    },
    {
        "name": "Neptune",
        "fullDegree": 346.16198941562084,
        "normDegree": 16.161989415620837,
        "speed": 0.018542846554730846,
        "isRetro": "false",
        "sign": "Pisces",
        "house": 11
    },
    {
        "name": "Pluto",
        "fullDegree": 291.167437553819,
        "normDegree": 21.167437553819013,
        "speed": -0.010481214318287215,
        "isRetro": "true",
        "sign": "Capricorn",
        "house": 9
    },
    {
        "name": "Ascendant",
        "fullDegree": 37.368916222730974,
        "normDegree": 7.368916222730974,
        "speed": 0,
        "isRetro": false,
        "sign": "Taurus",
        "house": 1
    }
]			
		
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