Embed Astrology Widgets
on Your Website
Add beautiful, interactive Vedic astrology tools to any website with a single script tag. Panchang, Nakshatra, Kundli, Numerology, Compatibility, and Choghadiya — all free.
6 Widgets, One Script Tag
Each widget is fully self-contained — just choose the one you need and paste the embed code.
Daily Panchang
Today's Tithi, Nakshatra, Yoga, Karana, sunrise/sunset, Rahu Kaal & Gulika Kaal. Loads automatically.
Choghadiya
Day and night muhurat periods with color-coded quality indicators. Great for temple sites.
Nakshatra Finder
Birth Nakshatra, Pada, ruling lord, Moon sign, and lucky name syllables. Popular for baby naming.
Kundli Summary
Ascendant, Sun sign, Moon sign, Nakshatra, and current Vimshottari Dasha at a glance.
Numerology Calculator
Life Path, Expression, and Soul Urge numbers from name and birth date. No location needed.
Compatibility Checker
Ashtakoota Guna Milan score with verdict and top Kuta aspects. Perfect for matrimony sites.
Built for Developers
One Script Tag
Copy, paste, done. No build tools, no dependencies, no configuration files.
4 Accent Colors
Saffron, Celestial, Emerald, or Purple. Light and dark themes built in.
English & Hindi
Full bilingual support with proper translations for labels and data.
Shadow DOM
Fully encapsulated. No CSS conflicts with your site's existing styles.
Three Steps to Get Started
Sign Up
Log in with your ModernAstro account and add your website URL. Get your API key instantly.
Customize
Choose your widget, theme, color, and language. Preview it live and generate your embed code.
Embed
Copy the script tag and paste it into your HTML. Works with any platform.
It's Just One Script Tag
<!-- Add this where you want the widget -->
<div id="my-widget"></div>
<script src="https://cdn.modernastro.com/widgets/v1/loader.js"
data-key="pk_live_your_key_here"
data-widget="panchang"
data-target="my-widget"
data-location="28.6139,77.2090"
data-location-name="New Delhi"
async></script>
Works with HTML, WordPress, React, Vue, Angular, Wix, Squarespace, and any CMS.
Free for Everyone
The free plan includes 1,000 API calls/day — plenty for most blogs, temples, and personal sites. CDN-cached widgets (Panchang, Choghadiya) don't count against your quota.