ASTROLOGY API REFERENCE DOCUMENTATION

Horoscope Prediction/Monthly Horoscope Prediction

Get Current Month Horoscope Prediction

API Endpoint
horoscope_prediction/monthly/:signName
Method & Url
MethodFull Url
POSThttps://json.apireports.com/v1/horoscope_prediction/monthly/:signName

signName

signName means the name of the Zodiac Sign for which you want data.

For example:-

  • aries : Aries
  • taurus : Taurus
  • gemini : Gemini
  • cancer : Cancer
  • leo : Leo
  • virgo : Virgo
  • libra : Libra
  • scorpio : Scorpio
  • sagittarius : Sagittarius
  • capricorn : Capricorn
  • aquarius : Aquarius
  • pisces : Pisces

Response Data

{
  "status_code": 200,
  "status": true,
  "data": {
    "sign": "Aries",
    "prediction_month": "October",
    "prediction_year": "2021",
    "prediction": [
      "On the 2nd, Venus moves into Scorpio. Your spouse's bad health will affect your mental well-being. Your decision-making capability will suffer in the worst situations. Crucial aspects in your professional life will also add to your worries. Health will be average, but there is nothing to worry about. You may want to take risks in setting up your business. It will not prove unworthy of your effort. This will be a good time for those in media, acting, or any other similar platform. On the same date, Mercury moves into Virgo.",
      "All your financial problems will find automatic solutions in no time. Take good care of your health. A thumping victory over your enemies will help you prove your ground. Challenges are bound to come in your way, but you must find effective solutions for each one of them. You will gain your due recognition at your workplace.",
      "Be vigilant about your surroundings, and stay away from fraudulent activities. When the Sun moves into Libra, you will be able to fix your career like never before. Minor misunderstandings with your family members are bound to dishearten you. Try to stay positive. Singles will enjoy a tremendous romantic period at this time. But, your lack of confidence can hamper your progress. Try to level up your attitude in a positive way.",
      "Some auspicious work is likely to be delayed. Planet Mars moves into Libra on the 22nd. It will prove to be a favorable period for you and your family. Financial gains will help you invest substantially in your future. If you are already married, it is an excellent time to enter into parenthood. You will gain a seemingly greater interest in philanthropy this month. Harmony in your personal life will help you maintain a positive approach towards life. On 30th October, Venus moves into Sagittarius. Fortune will return in your life. You will get success in whatever aspects you show interest in.",
      "Marriage is on the card. So, you can take a step further in your serious relationship now. It will lead to eternal harmony and happiness in your life. Your increasing inclination towards religious activities will help you imbibe spiritual values. October will be a mixed bag of emotions for Aries natives. You will ultimately achieve great heights of success, and that is what matters. Deal with the hurdles with a strong and positive attitude. It will help you pass them with flying colors. Maintain good relations with everyone you meet. It is a good time for you, both personally and professionally."
    ]
  }
}
JSON
Params Data Type Description Example
timezone float Timezone of Prediction 5.5
# cURL Request Example

curl --location --request POST 'https://json.apireports.com/v1/horoscope_prediction/monthly/:signName' \
-u '{YourUserID}:{YourApiKey}'\
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data-raw '{
    "timezone": 5.5
}'

# END
cURL
/* JavaScript Request Example */

var apiEndPoint = "horoscope_prediction/monthly/:signName";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var language = "en";
var data = {
    "timezone": 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 = "horoscope_prediction/monthly/:signName";
$userId = "{YourUserID}";
$apiKey = "{YourApiKey}";
$url = "https://json.apireports.com/v1/";
$data = array(
	"timezone" => 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 = "horoscope_prediction/monthly/:signName";
userId = "{YourUserID}";
apiKey = "{YourApiKey}";
url = "https://json.apireports.com/v1/"+apiEndPoint

data = json.dumps({
    "timezone": 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 = "horoscope_prediction/monthly/:signName";
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({
    "timezone": 5.5
})
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

/* END */
NodeJS

Astrology API Reports in News