Astrology API Reference Documentation

Advanced Panchang/tamil_month_panchang

Get tamil panchang

API Endpoint

tamil_month_panchang

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

Response Data

			
				{
    "month": 6,
    "year": 1993,
    "panchang_data": [
        {
            "date": 1,
            "tithi": "Duvadasi",
            "nakshatra": "Chithirai",
            "paksha": "Shukla"
        },
        {
            "date": 2,
            "tithi": "Thirayodasi",
            "nakshatra": "Swathi",
            "paksha": "Shukla"
        },
        {
            "date": 3,
            "tithi": "Sathuradasi",
            "nakshatra": "Visakam",
            "paksha": "Shukla"
        },
        {
            "date": 4,
            "tithi": "Pournami",
            "nakshatra": "Anusham",
            "paksha": "Shukla"
        },
        {
            "date": 5,
            "tithi": "Pirathamai",
            "nakshatra": "Kettai",
            "paksha": "Krishna"
        },
        {
            "date": 6,
            "tithi": "Thuthiyai",
            "nakshatra": "Moolam",
            "paksha": "Krishna"
        },
        {
            "date": 7,
            "tithi": "Thiruthiyai",
            "nakshatra": "Pooradam",
            "paksha": "Krishna"
        },
        {
            "date": 8,
            "tithi": "Sathurthi",
            "nakshatra": "Uthiradam",
            "paksha": "Krishna"
        },
        {
            "date": 9,
            "tithi": "Panjami",
            "nakshatra": "Thiruvonam",
            "paksha": "Krishna"
        },
        {
            "date": 10,
            "tithi": "Shasti",
            "nakshatra": "Avittam",
            "paksha": "Krishna"
        },
        {
            "date": 11,
            "tithi": "Sapthami",
            "nakshatra": "Sathayam",
            "paksha": "Krishna"
        },
        {
            "date": 12,
            "tithi": "Astami",
            "nakshatra": "Poorattathi",
            "paksha": "Krishna"
        },
        {
            "date": 13,
            "tithi": "Navami",
            "nakshatra": "Uthirattathi",
            "paksha": "Krishna"
        },
        {
            "date": 14,
            "tithi": "Thasami",
            "nakshatra": "Revathi",
            "paksha": "Krishna"
        },
        {
            "date": 15,
            "tithi": "Egadashi",
            "nakshatra": "Aswini",
            "paksha": "Krishna"
        },
        {
            "date": 16,
            "tithi": "Egadashi",
            "nakshatra": "Aswini",
            "paksha": "Krishna"
        },
        {
            "date": 17,
            "tithi": "Duvadasi",
            "nakshatra": "Bharani",
            "paksha": "Krishna"
        },
        {
            "date": 18,
            "tithi": "Thirayodasi",
            "nakshatra": "Karthigai",
            "paksha": "Krishna"
        },
        {
            "date": 19,
            "tithi": "Sathuradasi",
            "nakshatra": "Rohini",
            "paksha": "Krishna"
        },
        {
            "date": 20,
            "tithi": "Amavasai",
            "nakshatra": "Mirugasirisham",
            "paksha": "Krishna"
        },
        {
            "date": 21,
            "tithi": "Pirathamai",
            "nakshatra": "Thiruvathirai",
            "paksha": "Shukla"
        },
        {
            "date": 22,
            "tithi": "Thiruthiyai",
            "nakshatra": "Punarpoosam",
            "paksha": "Shukla"
        },
        {
            "date": 23,
            "tithi": "Sathurthi",
            "nakshatra": "Poosam",
            "paksha": "Shukla"
        },
        {
            "date": 24,
            "tithi": "Panjami",
            "nakshatra": "Ayilyam",
            "paksha": "Shukla"
        },
        {
            "date": 25,
            "tithi": "Shasti",
            "nakshatra": "Pooram",
            "paksha": "Shukla"
        },
        {
            "date": 26,
            "tithi": "Sapthami",
            "nakshatra": "Uthiram",
            "paksha": "Shukla"
        },
        {
            "date": 27,
            "tithi": "Astami",
            "nakshatra": "Hastham",
            "paksha": "Shukla"
        },
        {
            "date": 28,
            "tithi": "Navami",
            "nakshatra": "Chithirai",
            "paksha": "Shukla"
        },
        {
            "date": 29,
            "tithi": "Thasami",
            "nakshatra": "Swathi",
            "paksha": "Shukla"
        },
        {
            "date": 30,
            "tithi": "Egadashi",
            "nakshatra": "Visakam",
            "paksha": "Shukla"
        }
    ],
    "status": true
}			
		
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