SEARCH ASTROLOGY API DOCS

Advanced Panchang/tamil_month_panchang

Get tamil panchang

API Endpoint
tamil_month_panchang
MethodPOST
Full URL
https://json.astrologyapi.com/v1/tamil_month_panchang

Request Data

ParamsData typeDescriptions

day required

month required

year required

lat required

lon required

tzone required

int

int

int

float

float

float

panchang day, eg: 10

panchang month, eg: 7

panchang year, eg: 2014

panchang place latitude, eg: 18.7250

panchang place longitude, eg: 72.250

panchang place timezone, eg: 5.5

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
}
POST
var api = 'tamil_month_panchang';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var data = {
  day: 6,
  month: 1,
  year: 2000,
  hour: 7,
  min: 45,
  lat: 19.132,
  lon: 72.342,
  tzone: 5.5,
};
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)
});

request.then( function(resp){
    console.log(resp);
}, function(err){
    console.log(err);
});