Vedic astrology API for your app or website
Birth chart, dasha, panchang, sade sati, manglik and Ashtakoot matching, calculated, never guessed. Pay as you go with prepaid credits that never expire.
# one call, full Vedic chart curl -X POST https://api.astronirnay.com/v1/chart \ -H "x-api-key: YOUR_API_KEY" \ -H "content-type: application/json" \ -d '{"birth":{"date":"1990-05-15","time":"10:30", "latitude":19.076,"longitude":72.8777, "timezone":"Asia/Kolkata"}}' # 200 OK · X-Credits-Cost: 1 { "success": true, "data": { "summary": { "ascendant": "Cancer", "moon_sign": "Sagittarius" } } }
Built to be trusted in production
Accurate astronomy, predictable JSON and the controls a backend team expects.
Pure calculation
No AI in the calculation endpoints. The same birth details always return the same result.
Checked for accuracy
Planet positions agree with NASA JPL's ephemeris to a few thousandths of a degree. Lahiri sidereal zodiac.
Clean JSON
Consistent field names, ISO 8601 dates with local offset, and errors that name the field that is wrong.
Built for production
API keys you can lock to your server's IP addresses, usage reports and a full transaction history.
Pay per call with credits
Each successful call spends a few credits. At the base rate 1 credit = ₹0.02, so a chart call costs about 2 paise. Every verified account gets 1,000 free credits once, on signup, so you can build and test for free. Credits you buy never expire, and there is no monthly commitment.
/v1/chartAscendant, nine planets, houses and divisional charts (D1–D60)1about ₹0.02/v1/planets, /housesPlanet positions; houses with occupants1about ₹0.02/v1/dasha/vimshottariRunning dasha down to prana level and a nested timeline2about ₹0.04/v1/panchangTithi, nakshatra, yoga, karana with end times; Rahu kaal and more2about ₹0.04/v1/doshas/sade-satiSade sati and dhaiya status with a lifetime timeline3about ₹0.06/v1/doshas/manglikManglik status, severity and cancellations1about ₹0.02/v1/matching/ashtakootEight koota scores out of 36 with manglik compatibility2about ₹0.04/v1/chart/imageBirth or divisional chart as an SVG picture (North or South Indian style)2about ₹0.04/v1/ashtakvargaBhinna and Sarva Ashtakvarga points by sign and house2about ₹0.04/v1/dasha/yogini36-year Yogini dasha with nested periods2about ₹0.04/v1/dasha/charJaimini Chara dasha from the Lagna2about ₹0.04/v1/varshaphalAnnual chart: exact Varsha Pravesh, Muntha, the five officers and Mudda dasha for any year3about ₹0.06/v1/yogasClassical yogas in a chart: Mahapurusha, Gajakesari, Budhaditya, Viparita Raja and more, with the exact conditions met2about ₹0.04/v1/doshas/kalsarpaKaal Sarp dosha: full or partial, direction and type1about ₹0.02/v1/muhurta/chaughadiyaDay and night choghadiya with exact times2about ₹0.04/v1/muhurta/hora24 planetary hours with exact times2about ₹0.04/v1/biorhythmPhysical, emotional and intellectual cycles1about ₹0.02/v1/ayanamshaLahiri ayanamsha for any date1about ₹0.02/v1/ai/predictionAI-written prediction (career, finance, marriage, family, education, health) for a day, week, month or year, in 21 languages15+about ₹0.30 and up/v1/ai/askFree-text astrology Q&A, chat-style, in 21 languages15+about ₹0.30 and up/v1/ai/reportsBranded PDF report with your logo (Sade Sati report, Manglik report, 12-month roadmap, Premium Personalized Kundali, 5-Year Roadmaps (Career, Wealth, Love, Marriage, Health, Business)) in English, Hindi, Marathi, Tamil and Telugu40+about ₹0.80 and up/v1/places/search, /timezonePlace name to coordinates and time zone1about ₹0.02/v1/usageYour balance and usagefree₹0Top up once, use whenever
Bigger packs add bonus credits. Base price is ₹0.02 per credit; bigger packs bring it down to ₹0.0119. Prices are in Indian rupees, and you get a receipt for every purchase.
Starter
- Base credits
- 25,000
- Bonus credits
- –
- Chart calls
- ~25,000
- Expiry
- Never
Builder
+5% bonus- Base credits
- 50,000
- Bonus credits
- +2,500
- Chart calls
- ~52,500
- Expiry
- Never
Growth
+10% bonus- Base credits
- 2,50,000
- Bonus credits
- +25,000
- Chart calls
- ~2,75,000
- Expiry
- Never
Scale
+20% bonus- Base credits
- 10,00,000
- Bonus credits
- +2,00,000
- Chart calls
- ~12,00,000
- Expiry
- Never
Volume
+68% bonus- Base credits
- 25,00,000
- Bonus credits
- +17,00,000
- Chart calls
- ~42,00,000
- Expiry
- Never
Start with 1,000 free credits on signup, no card needed. Buy a pack from your dashboard when you need more.
Make your first call in a minute
const res = await fetch("https://api.astronirnay.com/v1/dasha/vimshottari", { method: "POST", headers: { "x-api-key": process.env.ASTRONIRNAY_KEY, "content-type": "application/json" }, body: JSON.stringify({ birth: { date: "1990-05-15", time: "10:30", latitude: 19.076, longitude: 72.8777, timezone: "Asia/Kolkata" }}) }); const { data } = await res.json();
Questions
Do credits expire?
No. Credits stay in your account until you use them.
What happens if a request fails?
Nothing is charged. Calls that return an error cost no credits.
Does the API use AI?
The calculation endpoints do not: everything is calculated or looked up, so results are repeatable. The separate AI Predictions endpoints (/v1/ai/...) use OpenAI to write predictions in 21 Indian languages from facts we calculate. They are clearly marked ai_generated and priced separately.
Can I restrict who can use my key?
Yes. Each key can be limited to specific IP addresses or ranges, and revoked instantly.
Do you give receipts?
Yes. Every purchase gets a receipt you can download from your dashboard.
Build with Vedic astrology today
1,000 free credits on signup. No card. Be live in minutes.