XALEN Ephemeris Powered | 704 Operations | FREE Sandbox

Panchang API for Developers

Tithi | Nakshatra | Yoga | Karana | Rahu Kaal | Choghadiya | Muhurta

Get complete Hindu calendar and Panchang data via REST API. Location-specific sunrise/sunset, auspicious timings, and festival dates. XALEN Ephemeris accuracy for any date from 3000 BCE to 3000 CE.

Complete Panchang Data via API

Everything your Hindu calendar app needs in one API call

Tithi & Nakshatra

Precise Tithi (lunar day) and Nakshatra (lunar mansion) with exact start and end times. Includes Paksha (Shukla/Krishna) and Pada divisions.

  • 30 Tithis with timing
  • 27 Nakshatras with Pada
  • Shukla/Krishna Paksha

Sunrise & Sunset

Location-specific sunrise, sunset, moonrise, and moonset times. Computed for any latitude/longitude pair worldwide.

  • Any city worldwide
  • Moonrise & Moonset
  • Minute-level precision

Muhurta Timings

Rahu Kaal, Gulika Kaal, Yamaghanda, Abhijit Muhurta, Brahma Muhurta, Choghadiya, and Hora for daily planning.

  • Rahu Kaal & Gulika Kaal
  • 8 Choghadiya periods
  • Abhijit Muhurta

Yoga & Karana

All 27 Yogas and 11 Karanas with exact timing. Essential for determining auspicious and inauspicious periods.

  • 27 Yoga types
  • 11 Karana types
  • Start/end timestamps

Disha Shool

Daily directional inauspiciousness (Disha Shool) based on the day of the week. Important for travel planning.

  • Inauspicious direction
  • Day-based calculation
  • Travel planning

AI Interpretation

Vedika AI can explain today's Panchang in natural language. Ask questions like "Is today good for starting a business?" via the AI chatbot endpoint.

  • Natural language Q&A
  • Auspiciousness scoring
  • MCP server support

Why Vedika for Panchang Data?

Most complete Panchang API available

Feature Vedika API Competitors
Panchang Elements All 5 (Tithi, Nakshatra, Yoga, Karana, Vara) 2-3 elements
Muhurta Endpoints 8+ (Rahu Kaal, Choghadiya, Hora, etc.) 1-2
Location-Specific Yes Partial
AI Interpretation Yes No
Ephemeris XALEN Ephemeris Varies
Response Time < 150ms 500ms+
MCP Server Yes No
Free Sandbox Unlimited (mock data) Limited / None

Simple Integration

Get Panchang data in seconds with our REST API

cURL

curl -X POST https://api.vedika.io/v2/astrology/panchang \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "date": "2026-03-14",
    "latitude": 28.6139,
    "longitude": 77.2090,
    "timezone": "Asia/Kolkata"
  }'

Python

from vedika import VedikaClient

client = VedikaClient("your_api_key")

panchang = client.panchang.daily(
    date="2026-03-14",
    lat=28.6139,
    lon=77.2090,
    tz="Asia/Kolkata"
)

print(f"Tithi: {panchang.tithi}")
print(f"Nakshatra: {panchang.nakshatra}")
print(f"Yoga: {panchang.yoga}")
print(f"Sunrise: {panchang.sunrise}")
print(f"Rahu Kaal: {panchang.rahu_kaal}")

JavaScript

const Vedika = require('vedika');
const client = new Vedika('your_api_key');

const panchang = await client.panchang.daily({
  date: '2026-03-14',
  lat: 28.6139,
  lon: 77.2090,
  tz: 'Asia/Kolkata'
});

console.log('Tithi:', panchang.tithi);
console.log('Nakshatra:', panchang.nakshatra);
console.log('Rahu Kaal:', panchang.rahuKaal);

Sample Response

{
  "tithi": {
    "name": "Purnima",
    "number": 15,
    "paksha": "Shukla",
    "start": "2026-03-14T02:15:00+05:30",
    "end": "2026-03-15T04:42:00+05:30"
  },
  "nakshatra": {
    "name": "Hasta",
    "pada": 3,
    "lord": "Moon",
    "start": "2026-03-14T08:12:00+05:30"
  },
  "yoga": { "name": "Siddha", "number": 21 },
  "karana": { "name": "Bava", "number": 1 },
  "sunrise": "06:24:15",
  "sunset": "18:22:47",
  "rahu_kaal": { "start": "12:23", "end": "13:53" },
  "choghadiya": [...]
}

Pricing

Wallet-based credits. No overage charges.

Starter

$12/mo

  • 300 credits/month
  • 700+ operations

POPULAR

Pro

$60/mo

  • 1,500 credits/month
  • AI chatbot included

Business

$120/mo

  • 3,000 credits/month
  • Priority support

Enterprise

$240/mo

  • 6,000 credits/month
  • White labeling

Frequently Asked Questions

The Vedika Panchang API returns complete Hindu calendar data including Tithi (with start/end times and Paksha), Nakshatra (with Pada and lord), Yoga, Karana, Vara (weekday), Sunrise, Sunset, Moonrise, Moonset, Rahu Kaal, Gulika Kaal, Yamaghanda, Abhijit Muhurta, Brahma Muhurta, Choghadiya (day and night), Hora timings, and Disha Shool. All calculations are location-specific.
Yes. The API accepts latitude, longitude, and timezone parameters. Sunrise, sunset, and all derived timings are computed for the exact geographic location. It works for any city worldwide, not just Indian cities.
Vedika uses XALEN Ephemeris for all astronomical calculations, providing code-computed, source-grounded accuracy to 0.001 degrees. Tithi, Nakshatra, and Yoga boundaries are computed to the exact minute. The same ephemeris is used by professional astrologers and astronomical institutions worldwide.
Vedika offers a FREE Sandbox with mock data for development and testing. Production plans are wallet-based: Starter at $12/month, Pro at $60/month, Business at $120/month, and Enterprise at $240/month. All plans include access to all 700+ operations including Panchang, birth charts, horoscopes, and the AI chatbot.
Yes. Vedika provides dedicated Muhurta endpoints including Abhijit Muhurta, Brahma Muhurta, Choghadiya (day and night), Hora, Rahu Kaal, Gulika Kaal, Yamaghanda, Disha Shool, and Gowri Nalla Neram. Each returns precise start and end times for the queried location.