SEARCH ASTROLOGY API DOCS

Home
Indian Astrology

Basic Astro/planets/extended

The planets/extended API provides information same as 'planets' api along with neptune, uranus and pluto's details.

API Endpoint : planets/extended
Method : POST
Full URL :
https://json.astrologyapi.com/v1/planets/extended

Request Data

ParamsData typeDescriptions

day required

month required

year required

hour required

min required

lat required

lon required

tzone required

int

int

int

int

int

float

float

float

date of birth, eg: 10

month of birth, eg: 5

year of birth, eg: 1990

hour, eg: 19

minute, eg: 55

latitude, eg: 19.2056

longitude, eg: 25.2056

timezone, eg: 5.5

Response Data

[
   {
      "id":0,
      "name":"Sun",
      "fullDegree":307.11093703244296,
      "normDegree":7.110937032442962,
      "speed":1.007899344711752,
      "isRetro":"false",
      "sign":"Aquarius",
      "signLord":"Saturn",
      "nakshatra":"Shatbhisha",
      "nakshatraLord":"Rahu",
      "house":9
   },
   {
      "id":1,
      "name":"Moon",
      "fullDegree":100.02046875395637,
      "normDegree":10.020468753956365,
      "speed":12.78994958480992,
      "isRetro":"false",
      "sign":"Cancer",
      "signLord":"Moon",
      "nakshatra":"Pushya",
      "nakshatraLord":"Saturn",
      "house":2
   },
   {
      "id":2,
      "name":"Mars",
      "fullDegree":209.97753796440014,
      "normDegree":29.977537964400142,
      "speed":0.43577129970366774,
      "isRetro":"false",
      "sign":"Libra",
      "signLord":"Venus",
      "nakshatra":"Vishakha",
      "nakshatraLord":"Jupiter",
      "house":5
   },
   {
      "id":3,
      "name":"Mercury",
      "fullDegree":284.50777325224277,
      "normDegree":14.507773252242771,
      "speed":1.398430685817683,
      "isRetro":"false",
      "sign":"Capricorn",
      "signLord":"Saturn",
      "nakshatra":"Shravan",
      "nakshatraLord":"Moon",
      "house":8
   },
   {
      "id":4,
      "name":"Jupiter",
      "fullDegree":146.36827664042605,
      "normDegree":26.368276640426046,
      "speed":-0.11687389340516546,
      "isRetro":"true",
      "sign":"Leo",
      "signLord":"Sun",
      "nakshatra":"Purva Phalguni",
      "nakshatraLord":"Venus",
      "house":3
   },
   {
      "id":5,
      "name":"Venus",
      "fullDegree":279.91842300578094,
      "normDegree":9.918423005780937,
      "speed":1.2361539938276809,
      "isRetro":"false",
      "sign":"Capricorn",
      "signLord":"Saturn",
      "nakshatra":"Uttra Shadha",
      "nakshatraLord":"Sun",
      "house":8
   },
   {
      "id":6,
      "name":"Saturn",
      "fullDegree":231.3706884306987,
      "normDegree":21.370688430698692,
      "speed":0.05484731668007799,
      "isRetro":"false",
      "sign":"Scorpio",
      "signLord":"Mars",
      "nakshatra":"Jyeshtha",
      "nakshatraLord":"Mercury",
      "house":6
   },
   {
      "id":7,
      "name":"Rahu",
      "fullDegree":148.85708154742144,
      "normDegree":28.857081547421444,
      "speed":-0.052953741484386294,
      "isRetro":"true",
      "sign":"Leo",
      "signLord":"Sun",
      "nakshatra":"Uttra Phalguni",
      "nakshatraLord":"Sun",
      "house":3
   },
   {
      "id":8,
      "name":"Ketu",
      "fullDegree":328.85708154742144,
      "normDegree":28.857081547421444,
      "speed":-0.052953741484386294,
      "isRetro":"true",
      "sign":"Aquarius",
      "signLord":"Saturn",
      "nakshatra":"Purva Bhadrapad",
      "nakshatraLord":"Jupiter",
      "house":9
   },
   {
      "id":9,
      "name":"Uranus",
      "fullDegree":353.7720015288286,
      "normDegree":23.772001528828582,
      "speed":0.043119395378829556,
      "isRetro":"false",
      "sign":"Pisces",
      "signLord":"Jupiter",
      "nakshatra":"Revati",
      "nakshatraLord":"Mercury",
      "house":10
   },
   {
      "id":10,
      "name":"Neptune",
      "fullDegree":315.09082970766957,
      "normDegree":15.09082970766957,
      "speed":0.03769196080758616,
      "isRetro":"false",
      "sign":"Aquarius",
      "signLord":"Saturn",
      "nakshatra":"Shatbhisha",
      "nakshatraLord":"Rahu",
      "house":9
   },
   {
      "id":11,
      "name":"Pluto",
      "fullDegree":262.5880547208212,
      "normDegree":22.58805472082122,
      "speed":0.026539090293640644,
      "isRetro":"false",
      "sign":"Sagittarius",
      "signLord":"Jupiter",
      "nakshatra":"Purva Shadha",
      "nakshatraLord":"Venus",
      "house":7
   },
   {
      "id":12,
      "name":"Ascendant",
      "fullDegree":84.52564098249934,
      "normDegree":24.52564098249934,
      "speed":0,
      "isRetro":false,
      "sign":"Gemini",
      "signLord":"Mercury",
      "nakshatra":"Punarvasu",
      "nakshatraLord":"Jupiter",
      "house":1
   }
]
POST
var api = 'planets/extended';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var data = {
  day: 6,
  month: 1,
  year: 2000,
  hour: 7,
  min: 45,
  lat: 19.132,
  lon: 72.342,
  tzone: 5.5,
};

var auth = "Basic " + new Buffer(userId + ":" + apiKey).toString("base64");

var request = $.ajax({
url: "https://json.astrologyapi.com/v1/"+api,
method: "POST",
dataType:'json',
headers: {
    "authorization": auth,
    "Content-Type":'application/json'
},
    data:JSON.stringify(data)
});

request.then( function(resp){
    console.log(resp);
}, function(err){
    console.log(err);
});