ASTROLOGY API REFERENCE DOCUMENTATION

Tropical Chart/Tropical Natal Wheel Chart

Get Tropical Natal Wheel Chart

API Endpoint
natal_wheel_chart
Method & Url
MethodFull Url
POSThttps://json.apireports.com/v1/natal_wheel_chart
Extra Params

You can customize the look and feel of the chart. Find the params below

KeyData TypeNameOptionsDefault Value
chart_sizeintWheel Chart SizeSize in Number600
node_typestringNode Typetrue, meantrue
planet_icon_colorstringPlanets Icon ColorHex Color Code#000000
sign_icon_colorstringSign Icon ColorHex Color Code#FFFFFF
sign_backgroundstringSign Icon Background ColorHex Color CodeAccording to Sign
circle_stroke_widthintCircles Stroke Width0 to 102
outer_circle_backgroundstringOuter Circle Background ColorHex Color Code#FFFFFF
inner_circle_backgroundstringInner Circle Background ColorHex Color Code#FFFFFF
line_colorstringLines ColorHex Color Code#000000
line_stroke_widthintLines Stroke Width0 to 102
text_colorstringText ColorHex Color Code#000000
aspect_line_stroke_widthintAspects Lines Stroke Width0 to 101.5
line_dot_colorstringAspects Dot ColorHex Color Code#000000

Response Data

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
# cURL Request Example

curl --location --request POST 'https://json.apireports.com/v1/natal_wheel_chart' \
-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
}'

# END
/* JavaScript Request Example */

var apiEndPoint = "natal_wheel_chart";
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
};
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 = "natal_wheel_chart";
$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
);
$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 = "natal_wheel_chart";
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
})

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 = "natal_wheel_chart";
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
})
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

/* END */

Astrology API Reports in News