Get Varshaphal Planets Details
Method | Full Url |
---|---|
POST | https://json.apireports.com/v1/varshaphal_planets |
{
"status_code": 200,
"status": true,
"data": {
"birth_datetime": "15-09-1994 12:30:00",
"varshaphal_datetime": "15-09-2022 16:46:32",
"planets": {
"sun": {
"planet_id": 1,
"planet_name": "Sun",
"full_degree": 148.4329634,
"normDegree": 28.432963400000006,
"formatted_deg": {
"full": "148:25:59",
"deg": "148",
"min": "25",
"sec": "59"
},
"formatted_norm_deg": {
"full": "28:25:59",
"deg": "28",
"min": "25",
"sec": "59"
},
"house": 8,
"speed": 0.9742126,
"retro": false,
"sign": "Leo",
"sign_lord": "Sun",
"nakshatra": "Uttra Phalguni",
"nakshatra_lord": "Sun",
"nakshatra_pad": 1,
"is_planet_set": false,
"planet_bal_avastha": "Mrit",
"planet_jagrat_avastha": "Supust"
},
"moon": {
"planet_id": 2,
"planet_name": "Moon",
"full_degree": 31.1933676,
"normDegree": 1.1933675999999984,
"formatted_deg": {
"full": "31:11:36",
"deg": "31",
"min": "11",
"sec": "36"
},
"formatted_norm_deg": {
"full": "01:11:36",
"deg": "01",
"min": "11",
"sec": "36"
},
"house": 5,
"speed": 12.4334467,
"retro": false,
"sign": "Taurus",
"sign_lord": "Venus",
"nakshatra": "Krittika",
"nakshatra_lord": "Sun",
"nakshatra_pad": 2,
"is_planet_set": false,
"planet_bal_avastha": "Mrit",
"planet_jagrat_avastha": "Supust"
},
"mars": {
"planet_id": 3,
"planet_name": "Mars",
"full_degree": 49.6211775,
"normDegree": 19.6211775,
"formatted_deg": {
"full": "49:37:16",
"deg": "49",
"min": "37",
"sec": "16"
},
"formatted_norm_deg": {
"full": "19:37:16",
"deg": "19",
"min": "37",
"sec": "16"
},
"house": 5,
"speed": 0.459434,
"retro": false,
"sign": "Taurus",
"sign_lord": "Venus",
"nakshatra": "Rohini",
"nakshatra_lord": "Moon",
"nakshatra_pad": 3,
"is_planet_set": false,
"planet_bal_avastha": "Kumar",
"planet_jagrat_avastha": "Swapan"
},
"mercury": {
"planet_id": 4,
"planet_name": "Mercury",
"full_degree": 163.2213908,
"normDegree": 13.221390799999995,
"formatted_deg": {
"full": "163:13:17",
"deg": "163",
"min": "13",
"sec": "17"
},
"formatted_norm_deg": {
"full": "13:13:17",
"deg": "13",
"min": "13",
"sec": "17"
},
"house": 9,
"speed": -0.5842712,
"retro": true,
"sign": "Virgo",
"sign_lord": "Mercury",
"nakshatra": "Hasta",
"nakshatra_lord": "Moon",
"nakshatra_pad": 1,
"is_planet_set": false,
"planet_bal_avastha": "Yuva",
"planet_jagrat_avastha": "Swapan"
},
"jupiter": {
"planet_id": 5,
"planet_name": "Jupiter",
"full_degree": 341.0201106,
"normDegree": 11.02011060000001,
"formatted_deg": {
"full": "341:01:12",
"deg": "341",
"min": "01",
"sec": "12"
},
"formatted_norm_deg": {
"full": "11:01:12",
"deg": "11",
"min": "01",
"sec": "12"
},
"house": 3,
"speed": -0.1275563,
"retro": true,
"sign": "Pisces",
"sign_lord": "Jupiter",
"nakshatra": "Uttra Bhadrapada",
"nakshatra_lord": "Saturn",
"nakshatra_pad": 3,
"is_planet_set": false,
"planet_bal_avastha": "Vridha",
"planet_jagrat_avastha": "Swapan"
},
"venus": {
"planet_id": 6,
"planet_name": "Venus",
"full_degree": 138.5880978,
"normDegree": 18.588097800000014,
"formatted_deg": {
"full": "138:35:17",
"deg": "138",
"min": "35",
"sec": "17"
},
"formatted_norm_deg": {
"full": "18:35:17",
"deg": "18",
"min": "35",
"sec": "17"
},
"house": 8,
"speed": 1.2413084,
"retro": false,
"sign": "Leo",
"sign_lord": "Sun",
"nakshatra": "Purva Phalguni",
"nakshatra_lord": "Venus",
"nakshatra_pad": 2,
"is_planet_set": true,
"planet_bal_avastha": "Yuva",
"planet_jagrat_avastha": "Swapan"
},
"saturn": {
"planet_id": 7,
"planet_name": "Saturn",
"full_degree": 295.5483596,
"normDegree": 25.548359600000026,
"formatted_deg": {
"full": "295:32:54",
"deg": "295",
"min": "32",
"sec": "54"
},
"formatted_norm_deg": {
"full": "25:32:54",
"deg": "25",
"min": "32",
"sec": "54"
},
"house": 1,
"speed": -0.0563491,
"retro": true,
"sign": "Capricorn",
"sign_lord": "Saturn",
"nakshatra": "Dhanishtha",
"nakshatra_lord": "Mars",
"nakshatra_pad": 1,
"is_planet_set": false,
"planet_bal_avastha": "Bala",
"planet_jagrat_avastha": "Jagrat"
},
"rahu": {
"planet_id": 8,
"planet_name": "Rahu",
"full_degree": 21.7263972,
"normDegree": 21.7263972,
"formatted_deg": {
"full": "21:43:35",
"deg": "21",
"min": "43",
"sec": "35"
},
"formatted_norm_deg": {
"full": "21:43:35",
"deg": "21",
"min": "43",
"sec": "35"
},
"house": 4,
"speed": -0.0529538,
"retro": true,
"sign": "Aries",
"sign_lord": "Mars",
"nakshatra": "Bharani",
"nakshatra_lord": "Venus",
"nakshatra_pad": 3,
"is_planet_set": false,
"planet_bal_avastha": "Vridha",
"planet_jagrat_avastha": "Supust"
},
"ketu": {
"planet_id": 9,
"planet_name": "Ketu",
"full_degree": 201.7263972,
"normDegree": 21.726397200000008,
"formatted_deg": {
"full": "201:43:35",
"deg": "201",
"min": "43",
"sec": "35"
},
"formatted_norm_deg": {
"full": "21:43:35",
"deg": "21",
"min": "43",
"sec": "35"
},
"house": 10,
"speed": -0.0529538,
"retro": true,
"sign": "Libra",
"sign_lord": "Venus",
"nakshatra": "Vishakha",
"nakshatra_lord": "Jupiter",
"nakshatra_pad": 1,
"is_planet_set": false,
"planet_bal_avastha": "Vridha",
"planet_jagrat_avastha": "Supust"
},
"ascendant": {
"planet_id": 13,
"planet_name": "Ascendant",
"full_degree": 295.7454138,
"normDegree": 25.745413799999994,
"formatted_deg": {
"full": "295:44:43",
"deg": "295",
"min": "44",
"sec": "43"
},
"formatted_norm_deg": {
"full": "25:44:43",
"deg": "25",
"min": "44",
"sec": "43"
},
"house": 1,
"speed": 0,
"retro": "",
"sign": "Capricorn",
"sign_lord": "Saturn",
"nakshatra": "Dhanishtha",
"nakshatra_lord": "Mars",
"nakshatra_pad": 1,
"is_planet_set": "",
"planet_bal_avastha": "",
"planet_jagrat_avastha": ""
}
}
}
}
Params | Data Type | Description | Example |
---|---|---|---|
day | int | Date of Birth | 15 |
month | int | Month of Birth | 9 |
year | int | Year of Birth | 1994 |
hour | int | Hour of Birth | 12 |
min | int | Min of Birth | 30 |
lat | float | Latitude of Birth Place | 28.6139 |
lon | float | Longitude of Birth Place | 77.1025 |
tzone | float | Timezone of Birth Place | 5.5 |
varshaphal_year | String | Varshaphal Year | 2021 |
# cURL Request Example
curl --location --request POST 'https://json.apireports.com/v1/varshaphal_planets' \
-u '{YourUserID}:{YourApiKey}'\
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data-raw '{
"day": 15,
"month": 9,
"year": 1994,
"hour": 12,
"min": 30,
"lat": 28.61390000000000100044417195022106170654296875,
"lon": 77.1025000000000062527760746888816356658935546875,
"tzone": 5.5,
"varshaphal_year": 2021
}'
# END
/* JavaScript Request Example */
var apiEndPoint = "varshaphal_planets";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var language = "en";
var data = {
"day": 15,
"month": 9,
"year": 1994,
"hour": 12,
"min": 30,
"lat": 28.61390000000000100044417195022106170654296875,
"lon": 77.1025000000000062527760746888816356658935546875,
"tzone": 5.5,
"varshaphal_year": 2021
};
var url = 'https://json.apireports.com/v1/'+apiEndPoint;
var request = $.ajax({
url: url,
method: "POST",
dataType:'json',
headers: {
"Authorization": "Basic " + btoa(userId+":"+apiKey),
"Accept-Language": "en",
"Content-Type":'application/json'
},
data:JSON.stringify(data)
});
request.then(
function(resp){
console.log(resp);
},
function(err){
console.log(err);
}
);
/* END */
<?php
/* PHP Request Example */
$apiEndPoint = "varshaphal_planets";
$userId = "{YourUserID}";
$apiKey = "{YourApiKey}";
$url = "https://json.apireports.com/v1/";
$data = array(
"day" => 15,
"month" => 9,
"year" => 1994,
"hour" => 12,
"min" => 30,
"lat" => 28.6139,
"lon" => 77.1025,
"tzone" => 5.5,
"varshaphal_year" => 2021
);
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $url.$apiEndPoint);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 20);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
$header[] = 'Authorization: Basic '. base64_encode($userId.":".$apiKey);
$header[] = 'Accept-Language: en';
$header[] = 'Content-Type: application/json';
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
$error = curl_error($ch);
$http_code = curl_getinfo($ch ,CURLINFO_HTTP_CODE);
curl_close($ch);
echo $response;
/* END */
# Python Request Example
import requests
import json
apiEndPoint = "varshaphal_planets";
userId = "{YourUserID}";
apiKey = "{YourApiKey}";
url = "https://json.apireports.com/v1/"+apiEndPoint
data = json.dumps({
"day": 15,
"month": 9,
"year": 1994,
"hour": 12,
"min": 30,
"lat": 28.61390000000000100044417195022106170654296875,
"lon": 77.1025000000000062527760746888816356658935546875,
"tzone": 5.5,
"varshaphal_year": 2021
})
headers = {
'Accept-Language': 'en',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, auth=(userId, apiKey),data=data)
print(response.text)
# END
/* NodeJS Request Example */
var request = require('request');
var apiEndPoint = "varshaphal_planets";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var url = 'https://json.apireports.com/v1/'+apiEndPoint;
var options = {
'method': 'POST',
'url': url,
'auth': {
'user': userId,
'password': apiKey
},
'headers': {
'Accept-Language': 'en',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"day": 15,
"month": 9,
"year": 1994,
"hour": 12,
"min": 30,
"lat": 28.61390000000000100044417195022106170654296875,
"lon": 77.1025000000000062527760746888816356658935546875,
"tzone": 5.5,
"varshaphal_year": 2021
})
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
/* END */