Astrology API Reference Documentation

Advanced Panchang/tamil_panchang

Get tamil panchang

API Endpoint

tamil_panchang

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

Response Data

			
				{
    "day": "Friday",
    "sunrise": "6:2:39",
    "sunset": "19:19:24",
    "moonrise": "11:3:19",
    "moonset": "23:30:50",
    "tithi": {
        "details": "Shasti",
        "end_time": "19:45:55"
    },
    "nakshatra": {
        "details": "Pooram",
        "end_time": "27:10:51"
    },
    "yog": {
        "details": "Siddhi",
        "end_time": "21:3:43"
    },
    "karan": {
        "details": "Kaulav",
        "end_time": "8:56:27"
    },
    "hindu_month": {
        "adhik_status": false,
        "purnimanta": "Ashadha",
        "amanta": "Ashadha"
    },
    "tamil_month": {
        "month_name": "Aani"
    },
    "paksha": "Shukla",
    "ritu": "Grishm",
    "sun_sign": "Mithuna",
    "moon_sign": "Simha",
    "ayana": "Uttarayana",
    "vikram_samvat": 2050,
    "shaka_samvat": 1915,
    "shaka_samvat_name": "Vyay",
    "vkram_samvat_name": "Shrimukh",
    "abhijit_muhurta": {
        "start": "12:15",
        "end": "01:07",
        "start_ms": 735,
        "end_ms": 787
    },
    "rahu_kaal": {
        "start": "11:01:26",
        "end": "12:41:02",
        "start_hour": 11.024027777777778,
        "end_hour": 12.68388888888889
    },
    "gulik_kaal": {
        "start": "07:42:15",
        "end": "09:21:50",
        "start_hour": 7.704305555555555,
        "end_hour": 9.364166666666666
    },
    "yamghant_kaal": {
        "start": "16:00:13",
        "end": "17:39:48",
        "start_hour": 16.003611111111113,
        "end_hour": 17.663472222222225
    },
    "dur_muhurtha": [
        {
            "start_time": "08:42:00",
            "end_time": "09:35:07"
        },
        {
            "start_time": "13:07:35",
            "end_time": "14:00:42"
        }
    ],
    "amrit_kaal": [
        {
            "start": "21:11:36",
            "end": "22:41:12"
        }
    ],
    "varjyam": [
        {
            "start": "12:14:00",
            "end": "13:43:36"
        }
    ],
    "anandadi_yog": [
        {
            "yog_name": "Siddhi",
            "end_time": "27:10:51"
        },
        {
            "yog_name": "Shubham"
        }
    ]
}			
		
Params Data type Descriptions

day

month

year

hour

min

lat

lon

tzone

int

int

int

int

int

float

float

float

panchang day, eg: 10

panchang month, eg: 7

panchang year, eg: 2014

panchang hour, eg: 10

panchang minute, eg: 12

panchang place latitude, eg: 18.7250

panchang place longitude, eg: 72.250

panchang place timezone, eg: 5.5

            
                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