Varshaphal/varshaphal_planets
API Endpoint
varshaphal_planets
Method & URL
Method | Full URL |
---|---|
POST | https://json.astrologyapi.com/v1/varshaphal_planets |
Response Data
[
{
"id": 0,
"name": "Sun",
"fullDegree": 290.5492548929573,
"normDegree": 20.54925489295732,
"speed": 1.0144107602137562,
"isRetro": "false",
"sign": "Capricorn",
"signLord": "Saturn",
"nakshatra": "Shravan",
"nakshatraLord": "Moon",
"house": 10
},
{
"id": 1,
"name": "Moon",
"fullDegree": 8.999300623030823,
"normDegree": 8.999300623030823,
"speed": 14.037573021178208,
"isRetro": "false",
"sign": "Aries",
"signLord": "Mars",
"nakshatra": "Ashwini",
"nakshatraLord": "Ketu",
"house": 1
},
{
"id": 2,
"name": "Mars",
"fullDegree": 340.4260202188891,
"normDegree": 10.426020218889107,
"speed": 0.7441883721584771,
"isRetro": "false",
"sign": "Pisces",
"signLord": "Jupiter",
"nakshatra": "Uttra Bhadrapad",
"nakshatraLord": "Saturn",
"house": 12
},
{
"id": 3,
"name": "Mercury",
"fullDegree": 269.95919225811286,
"normDegree": 29.959192258112864,
"speed": 1.4175810076192978,
"isRetro": "false",
"sign": "Sagittarius",
"signLord": "Jupiter",
"nakshatra": "Uttra Shadha",
"nakshatraLord": "Sun",
"house": 9
},
{
"id": 4,
"name": "Jupiter",
"fullDegree": 179.03223409278107,
"normDegree": 29.032234092781067,
"speed": 0.00942020951716231,
"isRetro": "false",
"sign": "Virgo",
"signLord": "Mercury",
"nakshatra": "Chitra",
"nakshatraLord": "Mars",
"house": 6
},
{
"id": 5,
"name": "Venus",
"fullDegree": 335.6182759549313,
"normDegree": 5.618275954931278,
"speed": 0.7942628291010582,
"isRetro": "false",
"sign": "Pisces",
"signLord": "Jupiter",
"nakshatra": "Uttra Bhadrapad",
"nakshatraLord": "Saturn",
"house": 12
},
{
"id": 6,
"name": "Saturn",
"fullDegree": 240.71999740122575,
"normDegree": 0.7199974012257542,
"speed": 0.08953546028530485,
"isRetro": "false",
"sign": "Sagittarius",
"signLord": "Jupiter",
"nakshatra": "Mool",
"nakshatraLord": "Ketu",
"house": 9
},
{
"id": 7,
"name": "Rahu",
"fullDegree": 130.36914290810165,
"normDegree": 10.36914290810165,
"speed": -0.05295374046660876,
"isRetro": "true",
"sign": "Leo",
"signLord": "Sun",
"nakshatra": "Magha",
"nakshatraLord": "Ketu",
"house": 5
},
{
"id": 8,
"name": "Ketu",
"fullDegree": 310.36914290810165,
"normDegree": 10.36914290810165,
"speed": -0.05295374046660876,
"isRetro": "true",
"sign": "Aquarius",
"signLord": "Saturn",
"nakshatra": "Shatbhisha",
"nakshatraLord": "Rahu",
"house": 11
},
{
"id": 9,
"name": "Ascendant",
"fullDegree": 28.266290492620563,
"normDegree": 28.266290492620563,
"speed": 0,
"isRetro": false,
"sign": "Aries",
"signLord": "Mars",
"nakshatra": "Krittika",
"nakshatraLord": "Sun",
"house": 1
}
]
Params | Data type | Descriptions |
day month year hour min lat lon tzone varshaphal_year |
int int int int int float float float int |
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 |
var api = 'API_ENDPOINT_HERE';
var userId = 'YOUR_USER_ID';
var apiKey = 'YOUR_API_KEY';
var data = {
day:12,
month:3,
year:1992,
hour:2,
min:23,
lat:19.132,
lon:72.342,
tzone:5.5
};
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)
});
request.then( function(resp){
console.log(resp);
}, function(err){
console.log(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 = 'API_ENDPOINT_HERE';
$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