SEARCH ASTROLOGY API DOCS

Home
Indian Astrology

Moon Biorhythm/moon_biorhythm

The moon_biorhythm API provides information about an individual's birth pakshi and its details, along with the recommended activities to perform during the day and night based on the moon's position.

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

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

{
	"birth_pakshi": "Peacock",
	"bird_id": 4,
	"birth_pakshi_details": {
		"name_letter": [
			"EA",
			"EAA"
		],
		"death_day": [
			"Wednesday",
			"Friday"
		],
		"day_ruling_days": [
			"Monday",
			"Saturday"
		],
		"night_ruling_days": [
			"Friday"
		],
		"color": "Green",
		"direction": "West",
		"enemy": [
			"Owl",
			"Crow"
		],
		"friend": [
			"Vulture",
			"Cock"
		]
	},
	"activity_cycle": {
		"day": [
			{
				"start_time": "06:03:02",
				"end_time": "08:28:33",
				"start_hours": 6.0508,
				"end_hours": 8.476,
				"activity_id": 3,
				"activity": "Sleep",
				"activity_meaning": "Relax"
			},
			{
				"start_time": "08:28:33",
				"end_time": "10:54:04",
				"start_hours": 8.476,
				"end_hours": 10.9012,
				"activity_id": 4,
				"activity": "Die",
				"activity_meaning": "Caution"
			},
			{
				"start_time": "10:54:04",
				"end_time": "13:19:34",
				"start_hours": 10.9012,
				"end_hours": 13.3263,
				"activity_id": 1,
				"activity": "Eat",
				"activity_meaning": "Energize"
			},
			{
				"start_time": "13:19:34",
				"end_time": "15:45:05",
				"start_hours": 13.3263,
				"end_hours": 15.7515,
				"activity_id": 2,
				"activity": "Walk",
				"activity_meaning": "Action"
			},
			{
				"start_time": "15:45:05",
				"end_time": "18:10:36",
				"start_hours": 15.7515,
				"end_hours": 18.1767,
				"activity_id": 0,
				"activity": "Rule",
				"activity_meaning": "Succeed"
			}
		],
		"night": [
			{
				"start_time": "18:10:36",
				"end_time": "20:36:19",
				"start_hours": 18.1767,
				"end_hours": 20.6053,
				"activity_id": 3,
				"activity": "Sleep",
				"activity_meaning": "Relax"
			},
			{
				"start_time": "20:36:19",
				"end_time": "23:02:02",
				"start_hours": 20.6053,
				"end_hours": 23.034,
				"activity_id": 1,
				"activity": "Eat",
				"activity_meaning": "Energize"
			},
			{
				"start_time": "23:02:02",
				"end_time": "01:27:45",
				"start_hours": 23.034,
				"end_hours": 25.4627,
				"activity_id": 0,
				"activity": "Rule",
				"activity_meaning": "Succeed"
			},
			{
				"start_time": "01:27:45",
				"end_time": "03:53:28",
				"start_hours": 25.4627,
				"end_hours": 27.8913,
				"activity_id": 4,
				"activity": "Die",
				"activity_meaning": "Caution"
			},
			{
				"start_time": "03:53:28",
				"end_time": "06:19:12",
				"start_hours": 27.8913,
				"end_hours": 30.32,
				"activity_id": 2,
				"activity": "Walk",
				"activity_meaning": "Action"
			}
		]
	},
	"considered_date": "20-3-2024"
}
POST
var api = 'moon_biorhythm';
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);
});