US :  +1 (888) 261-8481    |    INDIA :  +91 (22) 2635-9680

Astrology API Reference Documentation

Basic Astro/auspicious_muhurta/marriage

Auspicious Muhurta For marriage

API Endpoint

auspicious_muhurta/marriage

Method & URL
Method Full URL
POST https://json.astrologyapi.com/v1/auspicious_muhurta/marriage

Response Data

			
				[
    {
        "month": "September 2019",
        "muhurtas": []
    },
    {
        "month": "October 2019",
        "muhurtas": []
    },
    {
        "month": "November 2019",
        "muhurtas": [
            {
                "date": "8 November, 2019",
                "day": "Friday",
                "nakshatra": "Uttarra Bhadrapad",
                "tithi": "Dwadashi",
                "start_time": "12:24",
                "end_time": "30: 42+"
            },
            {
                "date": "9 November, 2019",
                "day": "Saturday",
                "nakshatra": "Uttarra Bhadrapad, Revati",
                "tithi": "Dwadashi, Trayodashi",
                "start_time": "06:42",
                "end_time": "30: 43+"
            },
            {
                "date": "10 November, 2019",
                "day": "Sunday",
                "nakshatra": "Revati",
                "tithi": "Trayodashi",
                "start_time": "06:43",
                "end_time": "10:43"
            },
            {
                "date": "14 November, 2019",
                "day": "Thursday",
                "nakshatra": "Rohini, Mrigashira",
                "tithi": "Dwitiya, Tritiya",
                "start_time": "09:14",
                "end_time": "30: 47+"
            },
            {
                "date": "22 November, 2019",
                "day": "Friday",
                "nakshatra": "Uttara Phalguni, Hasta",
                "tithi": "Ekadashi",
                "start_time": "09:01",
                "end_time": "30: 53+"
            },
            {
                "date": "23 November, 2019",
                "day": "Saturday",
                "nakshatra": "Hasta",
                "tithi": "Dwadashi",
                "start_time": "06:53",
                "end_time": "14:45"
            },
            {
                "date": "24 November, 2019",
                "day": "Sunday",
                "nakshatra": "Svati",
                "tithi": "Trayodashi",
                "start_time": "12:48",
                "end_time": "25:05+"
            },
            {
                "date": "30 November, 2019",
                "day": "Saturday",
                "nakshatra": "Uttara Ashadh",
                "tithi": "Panchami",
                "start_time": "18:04",
                "end_time": "31: 00+"
            }
        ]
    }
]			
		
Params Data type Descriptions

duration

int

number of months data, eg: 3 for 3 month data (max 6 months)

            
                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