SEARCH ASTROLOGY API DOCS

Sun Sign Daily/sun_sign_prediction/daily/:zodiacName

Get today's daily prediction for 6 categories based on Sun Sign.

API Endpoint : sun_sign_prediction/daily/:zodiacName
Method : POST
Full URL :
https://json.astrologyapi.com/v1/sun_sign_prediction/daily/:zodiacName

Where Zodiac name is -

aries,
taurus,
gemini,
cancer,
leo,
virgo,
libra,
scorpio,
sagittarius,
capricorn,
aquarius,
pisces

NOTE- Based on the timezone given

Request Data

ParamsData typeDescriptions

timezone required

float required

timezone, eg: 5.5 // if not given default will taken as 5.5

Response Data

{
    "status": true,
    "sun_sign": "taurus",
    "prediction_date": "8-7-2019",
    "prediction": {
        "personal_life": "Mercury stations retrograde today. With it comes your need for a deeper understanding of your partner. Or if you are single this will mean that finding someone who matters has never been so important",
      "profession": "Have faith in your own decisions. This will propel your career, which will also benefit you financially.",
      "health": "You like to maintain a routine with both your diet and exercise. Stay on track and you will feel the benefits from all aspects",
      "travel": "An exciting upcoming trip has injected life into your day. Relish the feeling. ",
      "luck": "Go the road less travelled. It will bring you more luck.",
      "emotions": "Try not to be insecure about something you have no control over. This will do more damage than good.",
}
POST
var sdkClient = require("./sdk");

//Zodiac sign
var zodiacName = "aries";
var timezone = 5.5;

//Daily Horoscope APIs need to be called
var resource = "sun_sign_prediction/daily/" + zodiacName;

// call dailyHoroCall method for daily predictions
var dailyHoroData = sdkClient.dailyHoroCall(
  resource,
  zodiacName,
  timezone,
  function (error, result) {
    if (error) {
      console.log("Error returned!!");
    } else {
      console.log("Response has arrived from API server --");
      console.log(result);
    }
  }
);