SEARCH ASTROLOGY API DOCS

Home
Indian Astrology

Panchang Dinman Hora/hora_muhurta_dinman

The API hora_muhurta_dinman provides information about the Hindu astrological system's Hora Muhurta, which divides a day into 24 hours and assigns a planetary ruler to each hour. The API response includes the time ranges and corresponding planetary rulers for the hours of the day and night.

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

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

{
	"hora": {
		"day": [
			{
				"time": "6:2 : 7:2",
				"hora": "Venus"
			},
			{
				"time": "7:2 : 8:2",
				"hora": "Mercury"
			},
			{
				"time": "8:2 : 9:2",
				"hora": "Moon"
			},
			{
				"time": "9:2 : 10:2",
				"hora": "Saturn"
			},
			{
				"time": "10:2 : 11:2",
				"hora": "Jupiter"
			},
			{
				"time": "11:2 : 12:2",
				"hora": "Mars"
			},
			{
				"time": "12:2 : 13:2",
				"hora": "Sun"
			},
			{
				"time": "13:2 : 14:2",
				"hora": "Venus"
			},
			{
				"time": "14:2 : 15:2",
				"hora": "Mercury"
			},
			{
				"time": "15:2 : 16:2",
				"hora": "Moon"
			},
			{
				"time": "16:2 : 17:2",
				"hora": "Saturn"
			},
			{
				"time": "17:2 : 18:2",
				"hora": "Jupiter"
			}
		],
		"night": [
			{
				"time": "18:2 : 19:2",
				"hora": "Mars"
			},
			{
				"time": "19:2 : 20:2",
				"hora": "Sun"
			},
			{
				"time": "20:2 : 21:2",
				"hora": "Venus"
			},
			{
				"time": "21:2 : 22:2",
				"hora": "Mercury"
			},
			{
				"time": "22:2 : 23:2",
				"hora": "Moon"
			},
			{
				"time": "23:2 : 0:2",
				"hora": "Saturn"
			},
			{
				"time": "0:2 : 1:2",
				"hora": "Jupiter"
			},
			{
				"time": "1:2 : 2:2",
				"hora": "Mars"
			},
			{
				"time": "2:2 : 3:2",
				"hora": "Sun"
			},
			{
				"time": "3:2 : 4:2",
				"hora": "Venus"
			},
			{
				"time": "4:2 : 5:2",
				"hora": "Mercury"
			},
			{
				"time": "5:2 : 6:2",
				"hora": "Moon"
			}
		]
	}
}
POST
var api = 'hora_muhurta_dinman';
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);
});