ASTROLOGY API REFERENCE DOCUMENTATION

Subscription Details

Get Your Api Subscription Details

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

Response Data

{
  "status": true,
  "status_code": 200,
  "data": {
    "subscription_id": "2",
    "plan_id": "3",
    "plan_name": "Premium",
    "your_app_name": "Astrology App",
    "user_id": "USER_ID",
    "api_key": "API_KEY",
    "duration": "Yearly",
    "plan_cost": "9999",
    "activation_datetime": "2021-05-19 13:28:51",
    "expiry_datetime": "2024-08-19 13:28:51",
    "authorized_api": [
      "advanced_panchang",
      "advanced_panchang/sunrise",
      "aprakashiy_upgraha",
      "astro_details",
      "avkahada_chakra",
      "ayanamsha",
      "basic_astro",
      "basic_gem_suggestion",
      "basic_panchang",
      "basic_panchang/sunrise",
      "bhav_madhya",
      "bhav_madhya/tropical",
      "bhav_table",
      "bhav_table/tropical",
      "biorhythm",
      "biorhythm/custom_date",
      "birth_details",
      "birth_tarot_reading",
      "career_path_tarot_reading",
      "career_tarot_reading",
      "celtic_cross_tarot_reading",
      "chaughadiya_muhurta",
      "chinese_month_forecast",
      "chinese_year_forecast",
      "chinese_zodiac",
      "chinese_zodiac_compatibility",
      "current_chardasha",
      "current_chardasha_date",
      "current_vdasha",
      "current_vdasha_all",
      "current_vdasha_date",
      "current_yogini_dasha",
      "current_yogini_dasha_date",
      "daily_nakshatra_consolidated",
      "daily_nakshatra_consolidated/next",
      "daily_nakshatra_consolidated/previous",
      "daily_nakshatra_prediction",
      "daily_nakshatra_prediction/next",
      "daily_nakshatra_prediction/previous",
      "ekadhipatya_shodhan",
      "favourable_points",
      "finance_tarot_reading",
      "gems_report",
      "general_ascendant_report",
      "general_house_report/jupiter",
      "general_house_report/ketu",
      "general_house_report/mars",
      "general_house_report/mercury",
      "general_house_report/moon",
      "general_house_report/neptune",
      "general_house_report/pluto",
      "general_house_report/rahu",
      "general_house_report/saturn",
      "general_house_report/sun",
      "general_house_report/uranus",
      "general_house_report/venus",
      "general_nakshatra_report",
      "general_rashi_report/jupiter",
      "general_rashi_report/ketu",
      "general_rashi_report/mars",
      "general_rashi_report/mercury",
      "general_rashi_report/moon",
      "general_rashi_report/rahu",
      "general_rashi_report/saturn",
      "general_rashi_report/sun",
      "general_rashi_report/venus",
      "geo_details",
      "ghat_chakra",
      "graha_gunak",
      "health_tarot_reading",
      "hora_muhurta",
      "horo_chart_extended_image/chalit",
      "horo_chart_extended_image/d1",
      "horo_chart_extended_image/d10",
      "horo_chart_extended_image/d12",
      "horo_chart_extended_image/d16",
      "horo_chart_extended_image/d2",
      "horo_chart_extended_image/d20",
      "horo_chart_extended_image/d24",
      "horo_chart_extended_image/d27",
      "horo_chart_extended_image/d3",
      "horo_chart_extended_image/d30",
      "horo_chart_extended_image/d4",
      "horo_chart_extended_image/d40",
      "horo_chart_extended_image/d45",
      "horo_chart_extended_image/d5",
      "horo_chart_extended_image/d6",
      "horo_chart_extended_image/d60",
      "horo_chart_extended_image/d7",
      "horo_chart_extended_image/d8",
      "horo_chart_extended_image/d9",
      "horo_chart_extended_image/moon",
      "horo_chart_extended_image/sun",
      "horo_chart_extended/chalit",
      "horo_chart_extended/d1",
      "horo_chart_extended/d10",
      "horo_chart_extended/d12",
      "horo_chart_extended/d16",
      "horo_chart_extended/d2",
      "horo_chart_extended/d20",
      "horo_chart_extended/d24",
      "horo_chart_extended/d27",
      "horo_chart_extended/d3",
      "horo_chart_extended/d30",
      "horo_chart_extended/d4",
      "horo_chart_extended/d40",
      "horo_chart_extended/d45",
      "horo_chart_extended/d5",
      "horo_chart_extended/d6",
      "horo_chart_extended/d60",
      "horo_chart_extended/d7",
      "horo_chart_extended/d8",
      "horo_chart_extended/d9",
      "horo_chart_extended/moon",
      "horo_chart_extended/sun",
      "horo_chart_image/chalit",
      "horo_chart_image/d1",
      "horo_chart_image/d10",
      "horo_chart_image/d12",
      "horo_chart_image/d16",
      "horo_chart_image/d2",
      "horo_chart_image/d20",
      "horo_chart_image/d24",
      "horo_chart_image/d27",
      "horo_chart_image/d3",
      "horo_chart_image/d30",
      "horo_chart_image/d4",
      "horo_chart_image/d40",
      "horo_chart_image/d45",
      "horo_chart_image/d5",
      "horo_chart_image/d6",
      "horo_chart_image/d60",
      "horo_chart_image/d7",
      "horo_chart_image/d8",
      "horo_chart_image/d9",
      "horo_chart_image/moon",
      "horo_chart_image/sun",
      "horo_chart/chalit",
      "horo_chart/d1",
      "horo_chart/d10",
      "horo_chart/d12",
      "horo_chart/d16",
      "horo_chart/d2",
      "horo_chart/d20",
      "horo_chart/d24",
      "horo_chart/d27",
      "horo_chart/d3",
      "horo_chart/d30",
      "horo_chart/d4",
      "horo_chart/d40",
      "horo_chart/d45",
      "horo_chart/d5",
      "horo_chart/d6",
      "horo_chart/d60",
      "horo_chart/d7",
      "horo_chart/d8",
      "horo_chart/d9",
      "horo_chart/moon",
      "horo_chart/sun",
      "horoscope_prediction/daily/:signName",
      "horoscope_prediction/monthly/:signName",
      "horoscope_prediction/next/:signName",
      "horoscope_prediction/previous/:signName",
      "horoscope_prediction/weekly/:signName",
      "horoscope_prediction/yearly/:signName",
      "jaimini_details",
      "kalsarpa_details",
      "kalsarpa_remedy",
      "kp_birth_chart",
      "kp_birth_chart_image",
      "kp_birth_chart_image/extended",
      "kp_birth_chart/extended",
      "kp_house_cusps",
      "kp_house_significator",
      "kp_house_significator/extended",
      "kp_planet_significator",
      "kp_planet_significator/extended",
      "kp_planets",
      "kp_planets/extended",
      "lalkitab_debts",
      "lalkitab_horoscope",
      "lalkitab_horoscope/extended",
      "lalkitab_houses",
      "lalkitab_planets",
      "lalkitab_remedies/jupiter",
      "lalkitab_remedies/ketu",
      "lalkitab_remedies/mars",
      "lalkitab_remedies/mercury",
      "lalkitab_remedies/moon",
      "lalkitab_remedies/rahu",
      "lalkitab_remedies/saturn",
      "lalkitab_remedies/sun",
      "lalkitab_remedies/venus",
      "love_tarot_reading",
      "major_chardasha",
      "major_vdasha",
      "major_yogini_dasha",
      "malefic_points",
      "manglik",
      "manglik_remedy",
      "match_ashtakoot_points",
      "match_ashtakoot_report",
      "match_astro_details",
      "match_birth_details",
      "match_dashakoot_points",
      "match_obstructions",
      "match_planet_details",
      "match_planet_details/extended",
      "match_rajju_dosha",
      "moon_biorhythm",
      "moon_biorhythm/custom_date",
      "nakshtra_dosha",
      "numero_fasts_report",
      "numero_fav_lord",
      "numero_fav_mantra",
      "numero_fav_time",
      "numero_place_vastu",
      "numero_report",
      "numero_table",
      "one_card_tarot_reading",
      "panchang_calendar",
      "panchang_calendar/sunrise",
      "panchang_chart",
      "panchang_chart_extended",
      "panchang_chart_extended_image",
      "panchang_chart_extended_image/sunrise",
      "panchang_chart_image",
      "panchang_chart_image/sunrise",
      "panchang_chart/sunrise",
      "panchang_festival",
      "panchang_planet",
      "panchang_planet_extended",
      "panchang_planet_extended/sunrise",
      "panchang_planet/sunrise",
      "papasamyam_details",
      "pitra_dosha_report",
      "planet_ashtak/ascendant",
      "planet_ashtak/jupiter",
      "planet_ashtak/mars",
      "planet_ashtak/mercury",
      "planet_ashtak/moon",
      "planet_ashtak/saturn",
      "planet_ashtak/sun",
      "planet_ashtak/venus",
      "planetary_friendship",
      "planets",
      "planets/extended",
      "planets/tropical",
      "puja_suggestion",
      "rasi_gunak",
      "rudraksha_suggestion",
      "sadhesati_current_status",
      "sadhesati_life_details",
      "sadhesati_remedies",
      "sarvashtak",
      "shodya_pinda",
      "sign_details/:signName",
      "spiritual_tarot_reading",
      "sub_chardasha",
      "sub_sub_chardasha",
      "sub_sub_sub_sub_vdasha",
      "sub_sub_sub_vdasha",
      "sub_sub_vdasha",
      "sub_vdasha",
      "sub_yogini_dasha",
      "subscription_details",
      "subscription_usage/daily",
      "subscription_usage/monthly",
      "sun_sign_prediction/daily/:signName",
      "sun_sign_prediction/next/:signName",
      "sun_sign_prediction/previous/:signName",
      "three_card_tarot_reading",
      "timezone",
      "timezone_with_dst",
      "trikon_shodhan",
      "true_love_tarot_reading",
      "varshaphal_details",
      "varshaphal_harsha_bala",
      "varshaphal_month_chart",
      "varshaphal_muntha",
      "varshaphal_panchavargeeya_bala",
      "varshaphal_planets",
      "varshaphal_saham_points",
      "varshaphal_vim_mudda_dasha",
      "varshaphal_year_chart",
      "varshaphal_year_chart_extended",
      "varshaphal_year_chart_image",
      "varshaphal_year_chart_image_extended",
      "varshaphal_yogini_mudda_dasha",
      "vedic_horoscope",
      "victory_tarot_reading",
      "yes_no_tarot_reading",
      "zodiac_compatibility"
    ],
    "authorized_language": [
      "English",
      "Hindi",
      "Marathi",
      "Tamil",
      "Bengali",
      "Malayalam",
      "Kannada",
      "Telugu"
    ],
    "request_per_month": "100000",
    "status": "Active"
  }
}
JSON
Params Data Type Description Example
# cURL Request Example

curl --location --request POST 'https://json.apireports.com/v1/subscription_details' \
-u '{YourUserID}:{YourApiKey}'\
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data-raw '[]'

# END
cURL
/* JavaScript Request Example */

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

data = json.dumps([])

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 = "subscription_details";
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([])
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

/* END */
NodeJS

Astrology API Reports in News