SEARCH ASTROLOGY API DOCS

Home
Indian Astrology

Basic Vimshottari Dasha/current_vdasha

The API current_vdasha is returning information about the current Vimshottari Dasha periods according to Vedic astrology. It includes the start and end dates, as well as the ruling planet, for the major, minor, sub-minor, sub-sub-minor, and sub-sub-sub-minor periods.

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

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

{
	"major": {
		"end": "17-9-2028 14:32",
		"planet": "MERCURY",
		"start": "18-9-2011 11:43"
	},
	"minor": {
		"end": "11-2-2015 7:29",
		"planet": "KETU",
		"start": "14-2-2014 2:43"
	},
	"sub_minor": {
		"end": "22-12-2014 0:0",
		"planet": "SATURN",
		"start": "25-10-2014 15:39"
	},
	"sub_sub_minor": {
		"end": "14-12-2014 8:30",
		"planet": "RAHU",
		"start": "5-12-2014 18:2"
	},
	"sub_sub_sub_minor": {
		"end": "10-12-2014 18:28",
		"planet": "MERCURY",
		"start": "9-12-2014 13:13"
	}
}
POST
var api = 'current_vdasha';
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);
});