Astrology API Reference Documentation

Western Transit/tropical_transits/monthly

Get monthly planet transits

API Endpoint

tropical_transits/monthly

Method & URL
Method Full URL
POST https://json.astrologyapi.com/v1/tropical_transits/monthly

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
        }
    ]
}			
		
Params Data type Descriptions

day

month

year

hour

min

lat

lon

tzone

prediction_timezone

int

int

int

int

int

float

float

float

int

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

prediction timezone eg : 0 for london

            
                var userId = '';
var apiKey = '';
var data = 'JSON Request Data';
var request = $.ajax({
url: "https://json.astrologyapi.com/v1/"+api,
    method: "POST",
    dataType:'json',
    headers: {
    "authorization": "Basic " + btoa(userId+":"+apiKey),
        "Content-Type":'application/json'
    },
    data:JSON.stringify(data)
});
// Returns A promiss
return( request.then( function(resp){
    return resp;
}, function(err){
    return err;
}));
}
            
		
                
                    require_once 'VedicRishiClient.php';
$userId = "";
$apiKey = "";
$data = array(
    'date' => 25,
    'month' => 12,
    'year' => 1988,
    'hour' => 4,
    'minute' => 0,
    'latitude' => 25.123,
    'longitude' => 82.34,
    'timezone' => 5.5
);
$resourceName = "astro_details";
$vedicRishi = new VedicRishiClient($userId, $apiKey);
$responseData = $vedicRishi->call($resourceName, $data['date'], $data['month'], $data['year'], $data['hour'], $data['minute'], $data['latitude'], $data['longitude'], $data['timezone']);
echo $responseData;


                

             
Download PHP Client