Astrology API for JavaScript
110 Vedic astrology endpoints. Works with fetch(), axios, Next.js, React, Express, and any Node.js runtime.
No npm install needed. No SDK. One GET or POST request → JSON.
// JavaScript — works in Node.js 18+, browser, Next.js, Deno
const res = await fetch(
'https://vedintelastroapi.com/api/v1/horoscope/planet-details' +
'?api_key=YOUR_KEY&dob=01/10/1977&tob=11:40&lat=11&lon=77&tz=5.5'
);
const { response } = await res.json();
// response.planets[0] → { name: 'Sun', sign: 'Virgo', house: 10, degree: 14.32 }Works with every JavaScript environment
110 Astrology API Endpoints — All Available in JavaScript
One API key unlocks all categories. Free plan includes 500 calls.
Planetary Positions
12 endpointsAll 9 planets, houses, nakshatras, degrees, retrograde status
/horoscope/planet-detailsPanchang & Muhurta
14 endpointsDaily panchang, choghadiya, hora, moon calendar, festivals
/panchang/panchangDasha Systems
11 endpointsVimshottari, Char, Yogini — current period, full timeline
/dashas/current-mahadashaKundali Matching
11 endpointsNorth & south match, aggregate score, bulk matching
/matching/south-matchDosha Detection
5 endpointsMangal dosha, Kaalsarp, Pitra dosha, Papasamaya
/dosha/mangal-doshAI Astrologer
4 endpointsClaude AI chart reading, dasha narrative, transit forecast
/ai/chatDivisional Charts
1 endpointD1 through D60 — Navamsa, Dashamsha, all Dn charts
/horoscope/divisional-chartsExtended Horoscope
22 endpointsShadbala, yoga detection, KP houses, Jaimini karakas
/extended-horoscope/yoga-listWhy JavaScript Developers Choose VedIntel™
Zero SDK overhead
Pure REST — fetch() or any HTTP client. No npm package to maintain, no breaking version updates.
CORS-safe server-side
Call from Next.js server components or Express routes — API key stays server-side, never in browser bundle.
TypeScript types
All response shapes documented. Copy the interfaces from docs or auto-generate with openapi-typescript.
Under 800ms fresh, under 50ms cached
Natal charts cached in Supabase permanently. Same birth data = instant response on every call.
Streaming AI
SSE streaming from /ai/chat — ReadableStream, EventSource, or any SSE library you prefer.
ISR & edge compatible
Works with Next.js ISR, Cloudflare Workers, Vercel Edge Runtime, and Deno Deploy.
Complete Integration Guide
fetch, axios, Next.js App Router, React hooks, date format conversion — all in one guide.