Accurate · Fast · Location-Aware

Panchang API & Hindu Calendar API

The most accurate Vedic panchang API for India. Get tithi, nakshatra, sunrise-sunset, rahu kalam, shubh muhurat and full kundli data for any date and any city — powered by panchang-ts mathematical engine. No third-party dependencies, 100% offline computation.

Explore API Endpoints Get API Key →
20+Endpoints & fields
<5msResponse time
Any CityLocation-based data
100%Mathematical accuracy
Why AstroHood Panchang API

Complete Vedic Astrology & Hindu Calendar Data

One API for everything — from daily panchang to wedding muhurat. Built on panchang-ts (Drik + Surya Siddhanta), the same engine trusted by thousands of astrology platforms.

Daily Panchang API

Full Hindu calendar data for any date: tithi with start/end time, nakshatra, yoga, karana, vara.

Sunrise & Sunset API

Location-accurate sunrise, sunset, moonrise, moonset — computed for the exact city coordinates.

Rahu Kalam & Muhurat API

Rahu kalam, gulika kalam, yamaganda, abhijit muhurat, brahma, vijaya, nishita — precise windows.

Shubh Muhurat API

Best wedding / griha-pravesh / mundan dates scored 0-100 with reasons for any month.

Kundli / Birth Chart API

Full Vedic birth chart: lagna, rashi, nakshatra, planetary positions, houses, divisional charts.

Choghadiya & Hora API

Day/night choghadiya and planetary hora periods — perfect for travel and work timing.

Any City in India

Pass latitude & longitude — get panchang for Delhi, Mumbai, Kolkata, Patna or any town.

Vikram Samvat API

Hindu calendar conversions: Vikram Samvat, Shaka Samvat, lunar month (masa), tithi calendar.

Authentication

Simple API Key Authentication

Every request needs an API key. Send it via the X-API-Key header or ?key= query parameter.

Getting an API key: Email astrohood.in@gmail.com with your use case. Keys are issued with a rate limit (default 60 requests/minute). Bulk / commercial plans available.
curl -H "X-API-Key: ak_your_key_here" \
  "https://api.astrohood.in/panchang?date=2026-08-29&lat=22.57&lon=88.36"
API Reference

Panchang API Endpoints

Base URL: https://api.astrohood.in — all endpoints return JSON.

GET/panchangDaily PanchangHindu Calendar

Full daily panchang for any date & location — the complete Hindu calendar API. Returns tithi (with start/end), nakshatra, yoga, karana, vara, sunrise/sunset, muhurtas, rahu kalam, choghadiya, hora, festivals, Vikram Samvat and more.

ParamTypeRequiredDescription
datestringno*YYYY-MM-DD (default: today)
latnumberyesCity latitude (e.g. 22.57 for Kolkata)
lonnumberyesCity longitude (e.g. 88.36 for Kolkata)
tznumbernoTimezone offset in minutes (default 330 = IST)
curl -H "X-API-Key: ak_your_key" \
  "https://api.astrohood.in/panchang?date=2026-08-29&lat=22.57&lon=88.36"
{
  "date": "2026-08-29",
  "location": { "latitude": 22.57, "longitude": 88.36 },
  "sun": { "rise": "...", "set": "...", "riseLocal": "2026-08-29T05:18:00+05:30", ... },
  "moon": { "rise": "...", "set": "...", "rashi": { "name": "Kumbha" } },
  "angas": {
    "tithis": [{ "name": "Krishna Pratipada", "number": 1, "start": "...", "end": "..." }],
    "nakshatras": [{ "name": "Purva Bhadrapada" }],
    "yogas": [...], "karanas": [...], "vara": { "name": "Shaniwara" }
  },
  "calendar": { "masa": {...}, "chandramasa": {...}, "samvat": { "vikramSamvat": 2083 } },
  "muhurtas": { "abhijit": {...}, "brahma": {...}, "vijaya": {...}, "godhuli": {...}, "nishita": {...} },
  "inauspicious": { "rahuKalam": {...}, "gulikaKalam": {...}, "yamaganda": {...}, "varjyam": {...} },
  "periods": { "choghadiya": [...], "hora": [...], "gowri": [...] },
  "festivals": [...], "specialYogas": [...], "eclipse": {...}
}
GET/instantLive NowToday Panchang

Current tithi, nakshatra, rahu kalam and more right now for any location — the today panchang API for live widgets and home-screen astrology apps.

curl -H "X-API-Key: ak_your_key" \
  "https://api.astrohood.in/instant?lat=22.57&lon=88.36"
GET/birth-chartKundliVedic Astrology

Complete Vedic birth chart (Janam Kundli) — lagna, rashi, nakshatra, all 9 planetary positions with degrees, houses (bhava), and divisional charts. Ideal for kundli apps and astrology software.

ParamTypeRequiredDescription
datestringyesBirth date YYYY-MM-DD
timestringyesBirth time HH:MM (24-hour)
latnumberyesBirth place latitude
lonnumberyesBirth place longitude
curl -H "X-API-Key: ak_your_key" \
  "https://api.astrohood.in/birth-chart?date=1990-01-01&time=05:30&lat=22.57&lon=88.36"
GET/muhuratShubh MuhuratWedding Dates

Best auspicious dates (shubh muhurat) in any month for 8 ceremony types — marriage, griha-pravesh, mundan, namkaran, upanayan, vidyarambh, annaprashan, karnavedha. Each date scored 0-100 with reasons.

ParamTypeRequiredDescription
yearnumberyese.g. 2026
monthnumberyes1-12
typestringnomarriage (default) · griha-pravesh · mundan · namkaran · upanayan · vidyarambh · annaprashan · karnavedha
lat/lonnumberyesCity coordinates
curl -H "X-API-Key: ak_your_key" \
  "https://api.astrohood.in/muhurat?year=2026&month=11&type=marriage&lat=22.57&lon=88.36"
Use Cases

Built for Apps That Need Hindu Calendar Data

Astrology Apps

Daily panchang widgets, tithi trackers and horoscope feeds powered by accurate Vedic data.

Wedding Platforms

Shubh muhurat date pickers with scores — help couples find the best marriage dates.

Calendar Apps

Hindu calendar / panchang calendar apps with festivals, ekadashi and amavasya marking.

Business Tools

Griha-pravesh, vehicle purchase and business-start muhurat selection for services.

Kundli Software

Instant birth chart computation for astrology consultation platforms.

Chatbots & AI

Let your assistant answer "aaj ka rahu kalam kya hai" with live location data.

Error Handling

HTTP Status Codes

StatusMeaningFix
401Missing API keyAdd X-API-Key header
403Invalid / disabled keyCheck your key or contact support
429Rate limit exceededWait for the window or request a higher limit
400Bad parametersCheck date / lat / lon values
500Computation failedContact support with your request
FAQ

Frequently Asked Questions

What is a Panchang API?
A Panchang API is a web service that returns Hindu calendar (panchang) data — tithi, nakshatra, yoga, karana, sunrise/sunset, muhurat and more — for any date and location. AstroHood's Panchang API computes everything mathematically using the panchang-ts engine (Drik + Surya Siddhanta), so results are accurate and consistent across India.
Is the data location-based?
Yes. Pass latitude and longitude (e.g. lat=22.57&lon=88.36 for Kolkata, lat=28.61&lon=77.21 for Delhi) and every time-based value — sunrise, sunset, rahu kalam, muhurat windows — is computed for that exact location. Tithi and nakshatra are planetary positions, which vary minimally, but times are fully location-accurate.
How accurate is the Hindu calendar data?
AstroHood's Panchang API uses panchang-ts — a pure TypeScript astronomical engine with 8,700+ tests. Sunrise accuracy is within ~1.4 seconds, and tithi/nakshatra boundaries follow the standard Vedic (Sidereal / Lahiri ayanamsa) convention used across India.
Which muhurat types are supported?
The muhurat endpoint supports 8 types: marriage (vivah), griha-pravesh, mundan, namkaran, upanayan, vidyarambh, annaprashan and karnavedha. Each returned date includes a score (0-100) and the astrological reasons — auspicious tithi, vara, avoided rahu kalam, special yogas.
How do I get an API key?
Email astrohood.in@gmail.com with your name, app and expected volume. We issue keys with a default 60 requests/minute limit — higher limits and commercial plans are available.
Is there a free tier?
Yes — we offer a free tier for developers and small apps (60 requests/minute, 100k requests/month). Production and commercial usage can upgrade for higher limits and priority support.
Can I use this for commercial products?
Yes. Contact us for a commercial plan. The API is built for production — wedding platforms, astrology apps and calendar products can rely on it.

Ready to Build with the Panchang API?

Get your API key today and start integrating accurate Hindu calendar data into your product.

Get API Key →