SEARCH ASTROLOGY API DOCS

Home
Western Astrology

Tropical Transit Monthly/tropical_transits/monthly

API tropical_transits/monthly returns a monthly report for a given date range that includes the start and end date of the month, ascendant, transit relations of various planets and their position, retrogrades and moon phases.

API Endpoint : tropical_transits/monthly
Method : POST
Full URL :
https://json.astrologyapi.com/v1/tropical_transits/monthly
Supported Languages

Guide:These languages are supported by this API. You can use them by passing Accept-Language header with a value of the language code.

Request Data

ParamsData typeDescriptions

day required

month required

year required

hour required

min required

lat required

lon required

tzone required

house_type

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

Default : "placidus" // koch/topocentric/poryphry/equal_house/whole_sign

Response Data

{
	"month_start_date": "1-6-2017",
	"month_end_date": "30-6-2017",
	"ascendant": "Leo",
	"transit_relation": [
		{
			"transit_planet": "Mars",
			"natal_planet": "Moon",
			"type": "Trine",
			"orb": 3.84,
			"date": "1-6-2017"
		},
		{
			"transit_planet": "Venus",
			"natal_planet": "Moon",
			"type": "Opposition",
			"orb": 1.27,
			"date": "1-6-2017"
		},
		{
			"transit_planet": "Venus",
			"natal_planet": "Jupiter",
			"type": "Conjunction",
			"orb": 0.44,
			"date": "1-6-2017"
		},
		{
			"transit_planet": "Saturn",
			"natal_planet": "Jupiter",
			"type": "Trine",
			"orb": 0.07,
			"date": "1-6-2017"
		},
		{
			"transit_planet": "Uranus",
			"natal_planet": "Moon",
			"type": "Opposition",
			"orb": 3.12,
			"date": "1-6-2017"
		},
		{
			"transit_planet": "Pluto",
			"natal_planet": "Moon",
			"type": "Square",
			"orb": 4.89,
			"date": "1-6-2017"
		},
		{
			"transit_planet": "Mercury",
			"natal_planet": "Sun",
			"type": "Conjunction",
			"orb": 0.57,
			"date": "3-6-2017"
		},
		{
			"transit_planet": "Venus",
			"natal_planet": "Mercury",
			"type": "Conjunction",
			"orb": 0.09,
			"date": "5-6-2017"
		},
		{
			"transit_planet": "Venus",
			"natal_planet": "Venus",
			"type": "Conjunction",
			"orb": 0.23,
			"date": "5-6-2017"
		},
		{
			"transit_planet": "Venus",
			"natal_planet": "Mars",
			"type": "Conjunction",
			"orb": 0.07,
			"date": "9-6-2017"
		},
		{
			"transit_planet": "Mercury",
			"natal_planet": "Ascendant",
			"type": "Sextile",
			"orb": 0.57,
			"date": "16-6-2017"
		},
		{
			"transit_planet": "Mercury",
			"natal_planet": "Moon",
			"type": "Trine",
			"orb": 0.78,
			"date": "18-6-2017"
		},
		{
			"transit_planet": "Saturn",
			"natal_planet": "Moon",
			"type": "Sextile",
			"orb": 0.03,
			"date": "24-6-2017"
		},
		{
			"transit_planet": "Venus",
			"natal_planet": "Ascendant",
			"type": "Square",
			"orb": 0.19,
			"date": "24-6-2017"
		},
		{
			"transit_planet": "Venus",
			"natal_planet": "Sun",
			"type": "Conjunction",
			"orb": 0.36,
			"date": "29-6-2017"
		}
	],
	"retrogrades": [],
	"moon_phase": [
		{
			"phase_type": "Full Moon",
			"date": "2017-06-09T13:11:00.000Z",
			"sign": "Sagittarius",
			"house": 5
		},
		{
			"phase_type": "New Moon",
			"date": "2017-06-24T02:33:00.000Z",
			"sign": "Gemini",
			"house": 11
		}
	]
}
POST
var api = 'tropical_transits/monthly';
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);
});