US :  +1 (888) 261-8481    |    INDIA :  +91 (22) 2635-9680

Astrology API Reference Documentation

Western Life Reports/general_house_report/tropical/:planetName

Get house report tropical by planet name

API Endpoint

general_house_report/tropical/:planetName

Method & URL
Method Full URL
POST https://json.astrologyapi.com/v1/general_house_report/tropical/:planetName

Response Data

			
				{
    "planet_name": "SUN",
    "house": 3,
    "report": "Knowledge is important to you and you chase as much of it as possible. You enjoy passing on the knowledge you have gained. Although you are probably very open to new ideas, there yet may be the desire for scientific proof before anything can be believed. Your mind enjoys creating and it is thorough and self-reliant. Pride and intellectual domination may be something you need to work on, especially intellectual pride. Patience may also need developing. Misunderstandings can occur with siblings or neighbors due to your belief that you are always or mostly right. You have a strong desire to learn and this may take you on many short journeys. You need to communicate and there may be writing or speaking ability."
}			
		
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