SEARCH ASTROLOGY API DOCS

Solar Return/solar_return_details

The solar_return_details API provides information about the solar return date for an individual based on their birth date and time. The response includes the native's birth date and time, their age at the time of the solar return, and the solar return date and time.

API Endpoint : solar_return_details
Method : POST
Full URL :
https://json.astrologyapi.com/v1/solar_return_details

Request Data

ParamsData typeDescriptions

day required

month required

year required

hour required

min required

lat required

lon required

tzone required

solar_yearrequired

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

Solar year for which you want the details, eg: 2017

Response Data

{
    "native_birth_date": "05-15-2011 12:10:00",
    "native_age": null,
    "solar_return_date": "05-15-2018 05:09:35"
}
POST
var api = 'solar_return_details';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var data = {
  day: 6,
  month: 1,
  year: 2000,
  hour: 7,
  min: 45,
  lat: 19.132,
  lon: 72.342,
  tzone: 5.5,
};

var auth = "Basic " + new Buffer(userId + ":" + apiKey).toString("base64");

var request = $.ajax({
url: "https://json.astrologyapi.com/v1/"+api,
method: "POST",
dataType:'json',
headers: {
    "authorization": auth,
    "Content-Type":'application/json'
},
    data:JSON.stringify(data)
});

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