Alexa · Google Assistant · Siri · Custom TTS

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.

Start free — 500 calls →View API docs

8 endpoints that answer real voice queries

Each endpoint maps to a question your users actually ask their voice assistant.

Daily/api/v1/panchang/panchang~800 bytes
"Aaj ka panchang kya hai?"
Tithi, nakshatra, yoga, karana, sunrise, sunset, and auspicious/inauspicious hours
Daily/api/v1/predictions/daily-nakshatra~400 bytes
"Mera aaj ka rashifal batao"
One-paragraph daily prediction based on the birth nakshatra — natural voice-ready prose
Quick/api/v1/extended-horoscope/find-moon-sign~200 bytes
"What is my moon sign?"
Sign name, ruling planet, element, modality — short and voice-friendly
Quick/api/v1/dashas/current-mahadasha~300 bytes
"Which dasha am I in right now?"
Current Mahadasha lord, Antardasha lord, start date, end date, and remaining months
Muhurta/api/v1/panchang/hora-muhurta~600 bytes
"What is the best time to start work today?"
Hora time slots with ruling planet and nature (auspicious/inauspicious)
Transit/api/v1/extended-horoscope/current-sade-sati~350 bytes
"Am I in Sade Sati right now?"
Sade Sati status, current phase, start/end dates, and intensity level
Quick/api/v1/panchang/sunrise~120 bytes
"What time is sunrise today in Delhi?"
Sunrise time in local time with timezone offset — single field response
Weekly/api/v1/predictions/weekly-moon~550 bytes
"Give me my weekly horoscope"
Weekly prediction paragraph based on moon sign transit — voice-ready prose

Alexa 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=hiHindi
தமிழ்
lang=taTamil
తెలుగు
lang=teTelugu
ಕನ್ನಡ
lang=knKannada
മലയാളം
lang=mlMalayalam
मराठी
lang=mrMarathi
বাংলা
lang=bnBengali
ગુજરાતી
lang=guGujarati
ਪੰਜਾਬੀ
lang=paPunjabi
English
lang=enEnglish
ଓଡ଼ିଆ
lang=orOdia
অসমীয়া
lang=asAssamese
+ 15 more

Built for the constraints of voice

📦
Compact JSON responses
Responses are structured for easy extraction — no nested parsing. Grab the fields you need and compose the voice string in 3 lines of code.
🌐
27 languages including Hindi
Append `lang=hi` for Hindi responses, `lang=ta` for Tamil, and so on. Text comes back transliterated and ready for regional TTS engines without extra processing.
Fast enough for voice latency
Cached chart lookups return in under 200 ms. Fresh panchang computations return in under 400 ms — well within Alexa's and Google Assistant's 8-second timeout window.
🕐
Timezone-aware panchang
Every panchang result is computed for the user's exact location and timezone using Swiss Ephemeris — no generic sunrise times or pre-computed tables.
📅
Pre-cache daily content
For scale, pre-fetch the daily panchang and nakshatra predictions for all active user timezones every morning. Serve from cache and hit zero latency for voice requests.
🔊
Prose predictions for TTS
The predictions endpoints return human-readable paragraphs — not JSON tables. Feed them directly to your TTS engine without any formatting transformation.

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.

Get free API key →API Docs