Astrology API Reference Documentation

Solar Return/solar_return_planet_aspects

Get solar return planet aspects details

API Endpoint

solar_return_planet_aspects

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

Response Data

			
				[
    {
        "solar_return_planet": "Sun",
        "aspecting_planet": "Moon",
        "type": "Conjunction",
        "orb": 6.8
    },
    {
        "solar_return_planet": "Sun",
        "aspecting_planet": "Mars",
        "type": "Trine",
        "orb": 5.4
    },
    {
        "solar_return_planet": "Sun",
        "aspecting_planet": "Jupiter",
        "type": "Opposition",
        "orb": 6.51
    },
    {
        "solar_return_planet": "Moon",
        "aspecting_planet": "Mars",
        "type": "Square",
        "orb": 5.63
    },
    {
        "solar_return_planet": "Moon",
        "aspecting_planet": "Mercury",
        "type": "Opposition",
        "orb": 8.39
    },
    {
        "solar_return_planet": "Moon",
        "aspecting_planet": "Venus",
        "type": "Trine",
        "orb": 0.64
    },
    {
        "solar_return_planet": "Mars",
        "aspecting_planet": "Mercury",
        "type": "Conjunction",
        "orb": 0.72
    },
    {
        "solar_return_planet": "Mars",
        "aspecting_planet": "Venus",
        "type": "Sextile",
        "orb": 8.46
    },
    {
        "solar_return_planet": "Mars",
        "aspecting_planet": "Saturn",
        "type": "Trine",
        "orb": 5.58
    },
    {
        "solar_return_planet": "Mars",
        "aspecting_planet": "Rahu",
        "type": "Square",
        "orb": 6.81
    },
    {
        "solar_return_planet": "Mars",
        "aspecting_planet": "Ketu",
        "type": "Square",
        "orb": 6.81
    },
    {
        "solar_return_planet": "Mercury",
        "aspecting_planet": "Mars",
        "type": "Square",
        "orb": 0.44
    },
    {
        "solar_return_planet": "Mercury",
        "aspecting_planet": "Venus",
        "type": "Sextile",
        "orb": 4.55
    },
    {
        "solar_return_planet": "Mercury",
        "aspecting_planet": "Saturn",
        "type": "Trine",
        "orb": 9.49
    },
    {
        "solar_return_planet": "Jupiter",
        "aspecting_planet": "Mars",
        "type": "Square",
        "orb": 3.92
    },
    {
        "solar_return_planet": "Jupiter",
        "aspecting_planet": "Mercury",
        "type": "Conjunction",
        "orb": 6.67
    },
    {
        "solar_return_planet": "Jupiter",
        "aspecting_planet": "Venus",
        "type": "Sextile",
        "orb": 1.07
    },
    {
        "solar_return_planet": "Venus",
        "aspecting_planet": "Mars",
        "type": "Square",
        "orb": 0.3
    },
    {
        "solar_return_planet": "Venus",
        "aspecting_planet": "Mercury",
        "type": "Conjunction",
        "orb": 3.06
    },
    {
        "solar_return_planet": "Venus",
        "aspecting_planet": "Saturn",
        "type": "Trine",
        "orb": 9.36
    },
    {
        "solar_return_planet": "Saturn",
        "aspecting_planet": "Rahu",
        "type": "Sextile",
        "orb": 1.33
    },
    {
        "solar_return_planet": "Saturn",
        "aspecting_planet": "Ketu",
        "type": "Trine",
        "orb": 1.33
    },
    {
        "solar_return_planet": "Rahu",
        "aspecting_planet": "Mercury",
        "type": "Trine",
        "orb": 7.08
    },
    {
        "solar_return_planet": "Rahu",
        "aspecting_planet": "Venus",
        "type": "Opposition",
        "orb": 0.67
    },
    {
        "solar_return_planet": "Ketu",
        "aspecting_planet": "Mercury",
        "type": "Sextile",
        "orb": 7.08
    },
    {
        "solar_return_planet": "Ketu",
        "aspecting_planet": "Venus",
        "type": "Conjunction",
        "orb": 0.67
    }
]			
		
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