Astrology API for
Voice Assistants
Compact, voice-optimised JSON responses for Alexa skills, Google Actions, Siri shortcuts, and custom voice apps. 27 languages. Under 400 ms.
Daily panchang, nakshatra predictions, dasha status, and muhurta timings — all structured for direct text-to-speech output without additional processing. Hindi support built in for India-first voice experiences.
8 endpoints that answer real voice queries
Each endpoint maps to a question your users actually ask their voice assistant.
/api/v1/panchang/panchang~800 bytes/api/v1/predictions/daily-nakshatra~400 bytes/api/v1/extended-horoscope/find-moon-sign~200 bytes/api/v1/dashas/current-mahadasha~300 bytes/api/v1/panchang/hora-muhurta~600 bytes/api/v1/extended-horoscope/current-sade-sati~350 bytes/api/v1/panchang/sunrise~120 bytes/api/v1/predictions/weekly-moon~550 bytesAlexa skill handler — 15 lines
Fetch panchang, compose a Hindi voice response, and return to Alexa — all in one async function.
// Alexa skill handler — "What is today's panchang?"
const BASE = 'https://vedintelastroapi.com/api/v1'
const KEY = 'vai_YOUR_KEY'
// User's stored preferences (lat/lon/tz from account setup)
const { lat, lon, tz } = getUserPreferences(userId)
const today = new Date().toLocaleDateString('en-GB').replace(/\//g, '/')
const panchang = await fetch(
`${BASE}/panchang/panchang` +
`?api_key=${KEY}&lat=${lat}&lon=${lon}&tz=${tz}&date=${today}&lang=hi`
).then(r => r.json())
const { tithi, nakshatra, yoga, sunrise, sunset } = panchang.response
// Compose a concise voice response (under 120 words for good TTS)
const speechOutput = [
`Aaj ${tithi.name} tithi hai.`,
`Nakshatra ${nakshatra.name} hai.`,
`Yoga ${yoga.name} hai.`,
`Surya uday ${sunrise} baje aur surya ast ${sunset} baje hoga.`,
].join(' ')
// Return to Alexa / Google / your TTS engine
return { outputSpeech: { type: 'PlainText', text: speechOutput } }27 languages. One parameter.
Add lang=hi to any endpoint. The response text, nakshatra names, and predictions all return in the target language.
lang=hiHindilang=taTamillang=teTelugulang=knKannadalang=mlMalayalamlang=mrMarathilang=bnBengalilang=guGujaratilang=paPunjabilang=enEnglishlang=orOdialang=asAssameseBuilt for the constraints of voice
Build your astrology voice skill today
500 free API calls to prototype. No credit card required. Hindi, Tamil, and 25 more languages ready out of the box.