ASTROLOGY API REFERENCE DOCUMENTATION

Gems Suggestions Report

Get Gems Suggestions Report

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

Response Data

{
  "status_code": 200,
  "status": true,
  "data": {
    "LIFE": {
      "name": "Red Coral",
      "gem_key": "red_coral",
      "gem_description": "Red Coral is the gemstone ruled by Mars. Wearing Red Coral makes one courageous and his enemies are defeat. Red Coral protects from evil spirits, sorcery, bad dreams.",
      "weight_and_metal": "Red Coral according to your body weight like: 1 carat is equal to 10kg. For example if your body weight is around 53 kg, you have to choose more than 5 carat of Red Coral. It should be set in gold copper ring. The ring should be made such that the stone touches skin.",
      "time_to_wear": "Red Coral should be worn on a Tuesday early morning (within one hour of sunrise) on bright half of lunar month.",
      "mantra": "Once the energizing rituals are completed one must worship stone with flower and incense. For Red Coral following mantra to be recited 10000 times.",
      "sanskrit_mantra": "।। ॐ क्रां क्रीं क्रौं सः भौमाय नमः ।।",
      "rituals": "Before wearing the Red Coral it one should keep the ring immersed in fresh cow milk or Ganges water for two days.",
      "wear_finger": "After the recitation on mantra the Red coral should be worn in the Ring finger of right hand.",
      "substitutes": "One can also use the substitutes for Red Coral like Sang Moongi, Carnelian and Red Jasper.",
      "caution": "One should take care that Red Coral should not be worn with Emerald, Diamond, Blue Sapphire, Gomedh and Cat’s Eye and their substitutes."
    },
    "BENEFIC": {
      "name": "Yellow Sapphire",
      "gem_key": "yellow_sapphire",
      "gem_description": "Yellow Sapphire is the gemstone ruled by Jupiter. Wearing Yellow Sapphire brings knowledge, property, longevity, fame, moralities, good health. Yellow Sapphire protects from evil spirits.",
      "weight_and_metal": "Yellow Sapphire should weigh according to your body weight like: 1 carat is equal to 10kg. For example if your body weight is around 56 kg, you have to choose more than 5 carat of yellow sapphire. It should be set in gold ring. The ring should be made such that the stone touches skin.",
      "time_to_wear": "Yellow Sapphire should be worn on a Thursday early morning (within one hour of sunrise) on bright half of lunar month.",
      "mantra": "Once the energizing rituals are completed one must worship stone with flower and incense. For Yellow Sapphire you can chose the following mantra to be recited 19,000 times.",
      "sanskrit_mantra": "।। ॐ ग्रां ग्रीं ग्रौं स: गुरवे नम: ।।",
      "rituals": "Before wearing the Yellow Sapphire it one should keep the ring plunge in fresh cow milk or Ganges water for two days. After that drag out the ring, you have to pray lord Vishnu with chanting of 19000 guru mantra with homam (Havan).",
      "wear_finger": "After the recitation on mantra the Yellow Sapphire should be worn in the first finger (from the thumb) of right hand.",
      "substitutes": "One can also use the substitutes for Yellow Sapphire like Yellow Pearl, Yellow Zircon, Yellow Tourmaline or Topaz.",
      "caution": "One should take care that Yellow Sapphire should not be worn with Opal, Diamond, Blue Sapphire, Gomedh and Cat’s Eye."
    },
    "LUCKY": {
      "name": "Emerald",
      "gem_key": "emerald",
      "gem_description": "As per Indian Vedic Astrology Emerald stone is ruled by Mercury. Wearing Emerald brings good health, business, strong body, wealth, property, good eye sight. Emerald protects from evil spirits, insects, bad influences of evil eye. Emerald cures and affords protection like epilepsy, insanity, bad dreams etc.",
      "weight_and_metal": "Select Emerald according to your body weight like: 1 carat is equal to 10kg. For example if your body weight is around 52 kg, you have to choose more than 5 carat of Emerald. It should be set in gold ring. The ring should be made such that the stone touches skin.",
      "time_to_wear": "Emerald should be worn on a Wednesday early morning (within one hour of sunrise) on bright half of lunar month.",
      "mantra": "Once the energizing rituals are completed one must worship stone with flower and incense. For Emerald following mantra to be recited 9000 times.",
      "sanskrit_mantra": "।। ॐ ब्रां ब्रौं सः बुधाय नमः ।।",
      "rituals": "Before wearing the Emerald it one should keep the ring immersed in fresh cow milk or Ganges water for two days.",
      "wear_finger": "After the recitation on mantra the Emerald should be worn in the little finger (Fifth from the thumb) of right hand.",
      "substitutes": "One can also use the substitutes for Emerald like Green Onax, Peridot, green zircon, green Agate or Jade.",
      "caution": "One should take care that Emerald should not be worn with Red Coral, Perl, Yellow Sapphire and their substitutes."
    }
  }
}
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/gems_report' \
-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 = "gems_report";
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 = "gems_report";
$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 = "gems_report";
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 = "gems_report";
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