Vedic Astrology

Kundali API
for Developers

Generate birth charts, kundli matching, Vimshottari Dasha, doshas, and 300+ yogas via REST API. Swiss Ephemeris precision. 30 languages. AI chatbot included.

Complete Kundali Generation in One API Call

Send birth date, time, and location. Get a complete janam kundali with all standard Vedic astrology data.

# Generate a complete kundali

curl -X POST https://api.vedika.io/v2/astrology/birth-chart \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "datetime": "1990-06-15T10:30:00",
    "latitude": 28.6139,
    "longitude": 77.2090,
    "timezone": "+05:30"
  }'

What You Can Build

💒

Matrimonial Apps

Ashtakoot Guna Milan, Mangal Dosha check, compatibility scoring. Used by Shaadi, Jeevansathi-type platforms.

Matching API docs

📱

Astrology Apps

Full birth chart with yogas, dashas, predictions. Daily rashifal. Build a Kundli Software or Co-Star competitor.

Birth Chart API docs

🤖

AI Chatbots

Natural language kundali queries. "Tell me about my career from my kundali" — AI answers from real chart data.

AI Chat API docs

📰

Horoscope Websites

Daily, weekly, monthly rashifal in 30 languages. Panchang, tithi, nakshatra for Hindu calendar sites.

Horoscope API

🏥

Wellness Platforms

Gemstone recommendations, mantra suggestions, remedies based on weak planets in the kundali.

Remedies API docs

🎮

Gaming & Social

Zodiac-based matchmaking, personality profiles, daily luck scores for social and gaming apps.

Compatibility API docs

Kundali API Endpoints

Birth Chart & Positions

  • /v2/astrology/birth-chart — Complete kundali
  • /v2/astrology/kundli — Same (alias)
  • /v2/astrology/planetary-positions — Planet degrees
  • /v2/astrology/nakshatra — Nakshatra details
  • /v2/astrology/divisional-charts — D1-D60

Matching & Compatibility

  • /v2/astrology/guna-milan — Ashtakoot matching
  • /v2/astrology/kundli-matching — Full matching
  • /v2/astrology/compatibility — Compatibility score
  • /v2/astrology/mangal-dosha — Manglik check

Dasha & Timing

  • /v2/astrology/vimshottari-dasha — Mahadasha
  • /v2/astrology/antardasha — Sub-periods
  • /v2/astrology/chara-dasha — Jaimini dasha
  • /v2/astrology/muhurta — Auspicious timing

Doshas, Yogas & Strengths

  • /v2/astrology/kaal-sarp-dosha — Kaal Sarp
  • /v2/astrology/sade-sati — Shani Sade Sati
  • /v2/astrology/yoga-analysis — 300+ yogas
  • /v2/astrology/shadbala — Planet strengths

Kundali API Comparison

Feature Vedika AstrologyAPI.com Prokerala VedicAstroAPI
Total Endpoints140+~50~45~30
AI ChatbotYesNoNoNo
Kundli MatchingAshtakoot + AIAshtakootAshtakootAshtakoot
Yoga Detection300+~50~20~30
Divisional ChartsD1-D60 (16)D1-D12D1-D9D1-D9
Languages305121
Vedic + Western + KPAll 3Vedic onlyVedic onlyVedic only
Free Sandbox65 endpointsNo50 queries/moNo
Starting Price$12/mo$19/mo$19/mo$20/mo
SDKsJS + PythonPHP + PythonNoneNone

Code Examples

Python

import vedika

client = vedika.Client("YOUR_API_KEY")

# Generate kundali
chart = client.birth_chart(
    datetime="1990-06-15T10:30:00",
    latitude=28.6139,
    longitude=77.2090,
    timezone="+05:30"
)

print(chart.ascendant)     # Simha (Leo)
print(chart.moon_sign)     # Vrishabha
print(chart.nakshatra)     # Rohini
print(chart.yogas)         # [Gaja Kesari, ...]

JavaScript / Node.js

import Vedika from '@vedika-io/sdk';

const vedika = new Vedika('YOUR_API_KEY');

// Generate kundali
const chart = await vedika.birthChart({
  datetime: '1990-06-15T10:30:00',
  latitude: 28.6139,
  longitude: 77.2090,
  timezone: '+05:30'
});

console.log(chart.ascendant);  // Simha
console.log(chart.moonSign);   // Vrishabha
console.log(chart.yogas);      // [...]

Start Building with the Kundali API

Free sandbox with 65 mock endpoints. No API key needed. Production from $12/month.

Related Kundali & Astrology Guides