ASTROLOGY API REFERENCE DOCUMENTATION

Rashi Report by Planet

Calculates complete general rashi reports.

API Endpoint
general_rashi_report/:planetName
Method & Url
MethodFull Url
POSThttps://json.apireports.com/v1/general_rashi_report/:planetName

planetName

planetName means the name of the planet for which you want data.

For example:-

  • sun: Sun
  • moon : Moon
  • mars : Mars
  • mercury : Mercury
  • jupiter : Jupiter
  • venus : Venus
  • saturn : Saturn
  • rahu : Rahu
  • ketu : Ketu

Response Data

{
  "status_code": 200,
  "status": true,
  "data": {
    "planet_id": 1,
    "planet": "Sun",
    "sign_id": 5,
    "sign": "Leo",
    "rashi_report": [
      "Leos are dignified, courageous, affectionate, powerful, generous, playful, optimistic, ambitious, loyal, and cheerful. On the negative side, though, they can be quite demanding, intolerant, domineering, lazy, closed-minded, and self-centered. They choose to do things that give them wide scope for creativity, organizing, and leadership. Although appearing strong on the outside, most Leos are inwardly sensitive and their feelings are easily hurt. When this occurs, they can turn on the object of their affection, when their pride is hurt.",
      "Leos have a decided flair for the dramatic and they enjoy telling stories, being the center of attention, having a good time, and running the show. Mean and cruel acts are generally beneath them, but they do not hesitate to use force when needed. No matter what their actions, they always have the belief that whatever they do is for the other person’s benefit.",
      "If a Leo is angered, he immediately goes into his kingly role, “mounting his throne” and quickly putting the opposition or challenger in their proper place. Leos literally roar at people when they are angry. But once their tirade is over, they forgive and forget and never hold a grudge.",
      "At their best, Leos are affectionate, cheerful, optimistic people who can be counted on to bring sunshine into other people’s lives. They are exceptionally generous. Money appears to slip through their fingers as if it were grains of sand. And, like the sand, they have no idea where it has gone.",
      "Leos usually have vitality and good health, with strong recuperative powers. When they are ill, they have a tendency to run high fevers. They are seldom depressed, but when they are, they are devastated. Fortunately, their resilient powers are excellent, so they are soon sunny and happy again, unless their heart has been broken. That is the one thing a Leo has difficulty in overcoming. This can actually lead to physical troubles with their own heart.",
      "Leos need to admire their marriage partner. If they don’t, the marriage may not last very long. In the end, Leos need to feel appreciated."
    ]
  }
}
JSON
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/general_rashi_report/:planetName' \
-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
cURL
/* JavaScript Request Example */

var apiEndPoint = "general_rashi_report/:planetName";
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 */
JavaScript
<?php
/* PHP Request Example */

$apiEndPoint = "general_rashi_report/:planetName";
$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 */
PHP
# Python Request Example

import requests
import json

apiEndPoint = "general_rashi_report/:planetName";
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
Python
/* NodeJS Request Example */

var request = require('request');
var apiEndPoint = "general_rashi_report/:planetName";
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 */
NodeJS

Astrology API Reports in News