SEARCH ASTROLOGY API DOCS

Home
Indian Astrology

Current Vimshottari Dasha By Given Date/current_vdasha_date

Get current vimshottari dasha by Date

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

Request Data

ParamsData typeDescriptions

day required

month required

year required

hour required

min required

lat required

lon required

tzone required

dasha_daterequired

int

int

int

int

int

float

float

float

string

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

Date of Dasha, eg: 8-02-2024

Response Data

{
	"major": {
		"planet": "Venus",
		"planet_id": 5,
		"start": "2-5-2001  8:7",
		"end": "2-5-2021  8:7"
	},
	"minor": {
		"planet": "Rahu",
		"planet_id": 7,
		"start": "1-7-2008  23:7",
		"end": "2-7-2011  17:7"
	},
	"sub_minor": {
		"planet": "Rahu",
		"planet_id": 7,
		"start": "1-7-2008  23:7",
		"end": "13-12-2008  7:49"
	},
	"sub_sub_minor": {
		"planet": "Jupiter",
		"planet_id": 4,
		"start": "26-7-2008  14:49",
		"end": "17-8-2008  12:47"
	},
	"sub_sub_sub_minor": {
		"planet": "Venus",
		"planet_id": 5,
		"start": "6-8-2008  9:25",
		"end": "10-8-2008  1:4"
	}
}
POST
var api = 'current_vdasha_date';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var language = '<Your Language>' // By default it is set to en
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',
    "Accept-Language": language 
},
    data:JSON.stringify(data)
});

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