ASTROLOGY API REFERENCE DOCUMENTATION

Horoscope Chart/Sudarshan Chakra Extended Image

Get Sudarshan Chakra Extended Planets Image

API Endpoint
sudarshan_chakra/extended
Method & Url
MethodFull Url
POSThttps://json.apireports.com/v1/sudarshan_chakra/extended

Response Data

Params Data Type Description Example
day int Birth Date 15
month int Birth Month 9
year int Birth Year 1994
hour int Birth Hour 12
min int Birth Min 30
lat float Lat of Birth Place 28.6139
lon float Lon of Birth Place 77.1025
tzone float Timezone of Birth Place 5.5
chartStyle String Chart Style (north,south,east) east
bgClr String Image BG Color #FFFEC9
lineClr String Line Color #FFC000
signClr String Sign Color red
planetClr String Planet Color blue
chartSize int Image Size 500
lineWidth int Line Width 2
fontSize int Font Size (Default:15) 15
signSymbol String Show Sign Symbol (Y/N) N
planetSymbol String Show Planets Symbol (Y/N) N
swastikStatus String Show/Hide Swastik (show/hide) show
swastikClr String Swastik Fill Color red
swastikStrokeClr String Swastik Stroke Color) red
swastikStrokeWidth int Swastik Stroke Width 1
# cURL Request Example

curl --location --request POST 'https://json.apireports.com/v1/sudarshan_chakra/extended' \
-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,
    "chartStyle": "east",
    "bgClr": "#FFFEC9",
    "lineClr": "#FFC000",
    "signClr": "red",
    "planetClr": "blue",
    "chartSize": 500,
    "lineWidth": 2,
    "fontSize": 15,
    "signSymbol": "N",
    "planetSymbol": "N",
    "swastikStatus": "show",
    "swastikClr": "red",
    "swastikStrokeClr": "red",
    "swastikStrokeWidth": "1"
}'

# END
/* JavaScript Request Example */

var apiEndPoint = "sudarshan_chakra/extended";
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,
    "chartStyle": "east",
    "bgClr": "#FFFEC9",
    "lineClr": "#FFC000",
    "signClr": "red",
    "planetClr": "blue",
    "chartSize": 500,
    "lineWidth": 2,
    "fontSize": 15,
    "signSymbol": "N",
    "planetSymbol": "N",
    "swastikStatus": "show",
    "swastikClr": "red",
    "swastikStrokeClr": "red",
    "swastikStrokeWidth": "1"
};
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 = "sudarshan_chakra/extended";
$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,
	"chartStyle" => "east",
	"bgClr" => "#FFFEC9",
	"lineClr" => "#FFC000",
	"signClr" => "red",
	"planetClr" => "blue",
	"chartSize" => 500,
	"lineWidth" => 2,
	"fontSize" => 15,
	"signSymbol" => "N",
	"planetSymbol" => "N",
	"swastikStatus" => "show",
	"swastikClr" => "red",
	"swastikStrokeClr" => "red",
	"swastikStrokeWidth" => 1
);
$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 = "sudarshan_chakra/extended";
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,
    "chartStyle": "east",
    "bgClr": "#FFFEC9",
    "lineClr": "#FFC000",
    "signClr": "red",
    "planetClr": "blue",
    "chartSize": 500,
    "lineWidth": 2,
    "fontSize": 15,
    "signSymbol": "N",
    "planetSymbol": "N",
    "swastikStatus": "show",
    "swastikClr": "red",
    "swastikStrokeClr": "red",
    "swastikStrokeWidth": "1"
})

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 = "sudarshan_chakra/extended";
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,
    "chartStyle": "east",
    "bgClr": "#FFFEC9",
    "lineClr": "#FFC000",
    "signClr": "red",
    "planetClr": "blue",
    "chartSize": 500,
    "lineWidth": 2,
    "fontSize": 15,
    "signSymbol": "N",
    "planetSymbol": "N",
    "swastikStatus": "show",
    "swastikClr": "red",
    "swastikStrokeClr": "red",
    "swastikStrokeWidth": "1"
})
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

/* END */

Astrology API Reports in News