Vedika Ephemeris Powered | 1,138 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. Computed with Vedika Ephemeris for the date and place you send.

Try the Panchang endpoint

Sandbox returns a fixed sample at no charge, always the demo chart dated 1 January 1995, 12:00 IST, New Delhi, whatever day you run it. Inputs describe the endpoint request; they do not personalize the sample. Production requires your API key and charges your wallet.

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?

Daily Panchang with tithi, nakshatra, yoga and karana

Feature Vedika API
Panchang Elements All 5 (Tithi, Nakshatra, Yoga, Karana, Vara)
Muhurta Endpoints 8+ (Rahu Kaal, Choghadiya, Hora, etc.)
Location-Specific Yes
AI Interpretation Yes
Ephemeris Vedika Ephemeris
MCP Server Yes
Free Sandbox 100 free calls a day, no key

Simple Integration

Get Panchang data in seconds with our REST API

cURL

curl "https://api.vedika.io/v2/astrology/panchang?date=2026-10-15&latitude=28.6139&longitude=77.2090&timezone=%2B05:30" \
  -H "Authorization: Bearer YOUR_API_KEY"

Python

from vedika import VedikaClient

client = VedikaClient(api_key="YOUR_API_KEY")

result = client.get_panchang(
    date="2026-10-15",
    latitude=28.6139,
    longitude=77.2090,
    timezone="+05:30"
)
panchang = result["data"]

print(f"Tithi: {panchang['tithi']['name']}")
print(f"Nakshatra: {panchang['nakshatra']['name']}")
print(f"Yoga: {panchang['yoga']['name']}")
print(f"Karana: {panchang['karana']['name']}")
print(f"Vara: {panchang['vaara']['name']}")

JavaScript

const { VedikaClient } = require('@vedika-io/sdk');
const client = new VedikaClient({ apiKey: 'YOUR_API_KEY' });

(async () => {
  const panchang = await client.getPanchang({
    date: '2026-10-15',
    latitude: 28.6139,
    longitude: 77.2090,
    timezone: '+05:30'
  });

  console.log('Tithi:', panchang.tithi.name);
  console.log('Nakshatra:', panchang.nakshatra.name);
  console.log('Yoga:', panchang.yoga.name);
  console.log('Vara:', panchang.vaara.name);
})();

Sample Response

{
  "success": true,
  "data": {
    "tithi": {
      "name": "Panchami",
      "number": 5,
      "paksha": { "id": 1, "name": "Shukla" }
    },
    "nakshatra": { "name": "Jyeshtha", "number": 18, "pada": 2, "lord": "Mercury" },
    "yoga": { "name": "Saubhagya", "number": 4, "quality": "Auspicious" },
    "karana": { "name": "Bava", "number": 9, "type": "Chara" },
    "vaara": { "name": "Guruvara", "englishName": "Thursday", "lord": "Jupiter" },
    "masa": { "name": "Ashwin" },
    "ritu": { "name": "Varsha" },
    "timezone": "+05:30"
  }
}

Pricing

Wallet-based credits. No overage charges.

Starter

$12/mo

  • $12 in wallet credit/month
  • 1,138 operations

POPULAR

Pro

$60/mo

  • $60 in wallet credit/month
  • AI chatbot included

Business

$120/mo

  • $120 in wallet credit/month
  • Email support

Enterprise

$240/mo

  • $240 in wallet credit/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 Vedika Ephemeris, its own astronomical engine, for the astronomical calculations. Its agreement with NASA JPL DE440 is published per body, with method and limits, at vedika.io/benchmarks. Tithi, Nakshatra and Yoga boundaries are derived from the computed Sun and Moon longitudes.
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 1,138 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.