Use CaseHoroscopeSun SignMoon SignAscendant

Horoscope API for Websites & Apps
10 Endpoints. Every Reading Type.

Sun sign, moon sign, ascendant, personal characteristics, planets in houses — everything you need to power a world-class horoscope experience. Swiss Ephemeris runs locally, no external compute dependency.

Get Free API Key →API Documentation

Horoscope Endpoints

GET /extended-horoscope/find-sun-sign
Get the Vedic sun sign (rashi) for a birth date — returns sign name, lord, element, quality, and characteristics
Params: dob, tob, lat, lon, tz
GET /extended-horoscope/find-moon-sign
Moon sign (Chandra rashi) — the primary sign used in Vedic horoscope readings
Params: dob, tob, lat, lon, tz
GET /extended-horoscope/find-ascendant
Ascendant (Lagna) sign with degree, nakshatra, and rising time range
Params: dob, tob, lat, lon, tz
GET /horoscope/personal-characteristics
Personality description based on ascendant, moon sign, sun sign combination
Params: dob, tob, lat, lon, tz
GET /horoscope/planets-in-houses
Effect of each planet in its natal house — career, relationships, finance, health
Params: dob, tob, lat, lon, tz
GET /horoscope/planet-report
Detailed report for a specific planet — house lordship, dignity, relationships, interpretation
Params: dob, tob, lat, lon, tz, planet
GET /horoscope/ascendant-report
Full ascendant report — ruling planet, characteristics, compatible signs, life path themes
Params: dob, tob, lat, lon, tz
GET /horoscope/planetary-aspects
All active planetary aspects with degree, orb, strength, and nature (benefic/malefic)
Params: dob, tob, lat, lon, tz
GET /horoscope/western-planets
Western astrology planets — outer planets (Uranus, Neptune, Pluto) with sign and house
Params: dob, tob, lat, lon, tz
GET /extended-horoscope/extended-kundli-details
Comprehensive kundli details — varna, vashya, yoni, gana, nadi, bhakoot, nakshatrapad
Params: dob, tob, lat, lon, tz

Integration Example

horoscope.js
// Get moon sign (primary Vedic horoscope sign)
const moonSign = await fetch(
  'https://vedintelastroapi.com/api/v1/extended-horoscope/find-moon-sign' +
  '?api_key=vai_YOUR_KEY' +
  '&dob=15/06/1990' +    // DD/MM/YYYY
  '&tob=08:30' +          // HH:MM (24hr)
  '&lat=19.0760' +        // Mumbai
  '&lon=72.8777' +
  '&tz=5.5'
).then(r => r.json())

// moonSign.response.sign     → "Taurus"
// moonSign.response.sign_lord → "Venus"
// moonSign.response.element   → "Earth"
// moonSign.response.nakshatra → "Rohini"

// Get personality characteristics
const personality = await fetch(
  'https://vedintelastroapi.com/api/v1/horoscope/personal-characteristics' +
  '?api_key=vai_YOUR_KEY&dob=15/06/1990&tob=08:30&lat=19.0760&lon=72.8777&tz=5.5'
).then(r => r.json())
// Returns traits, strengths, challenges, and life path themes

Horoscope API — FAQs

What is the difference between sun sign and moon sign in Vedic horoscope?
In Vedic astrology, the moon sign (Chandra rashi) is the primary identity sign — what people commonly mean when they say "my rashi is Taurus" (Vrishabha). The sun sign is secondary. This is opposite to Western astrology where the sun sign dominates. The moon sign is used for all predictions, dasha timing, and marriage compatibility. The ascendant (lagna) is equally important for body constitution, health, and career.
Can I build a daily horoscope widget with this API?
Yes. Use the find-moon-sign endpoint to determine your user's rashi. Then use planets-in-houses and planetary-aspects along with current transit data to generate daily guidance. You can combine birth chart data with live panchang data from the /panchang endpoint to build a complete daily horoscope widget with tithi, nakshatra, and personalized planetary influence.
How accurate is the ascendant calculation?
Very accurate. The ascendant changes sign roughly every 2 hours, so birth time precision matters. The API uses Swiss Ephemeris which provides arc-second level accuracy for all celestial positions. For accurate ascendant calculation, birth time should be within ±5 minutes. The ascendant report includes the exact degree and the rising time window so users understand their birth time sensitivity.
Does the API support Western zodiac horoscopes too?
Yes. The /horoscope/western-planets endpoint returns positions in the tropical zodiac (Western system). For full Western horoscope support, also see the Tarot & Western plan which includes Western natal chart, aspects, and transits computed in the tropical zodiac.
What request format does the Horoscope API use?
All horoscope endpoints accept GET requests with query parameters: api_key (your key), dob (DD/MM/YYYY), tob (HH:MM in 24-hour format), lat (latitude), lon (longitude), and tz (timezone as decimal offset, e.g. 5.5 for IST). The response is always JSON with status, response, and remaining_api_calls fields.
Related Use Cases
Kundli APIPanchang APIDasha APIMarriage Matching APIFree Vedic API Guide

Start for free. Ship today.

500 free API calls. No credit card. All horoscope endpoints included.

Get Your Free API Key →