Astrology Journaling API
daily prompts from the sky
Pull today's planetary transits, running Mahadasha, and nakshatra. Claude AI writes a personalised journal reflection question — unique to each user's chart and today's sky.
Pairs with meditation and mindfulness apps. $5–15/user/month wellness subscription. High retention — users return daily for their personalised prompt.
From birth data to daily prompt — 5 steps
Transit, nakshatra, and Mahadasha data fetched in parallel. Claude AI synthesises into one personalised prompt.
Sample AI-generated prompts
Each prompt is unique to the user's running Mahadasha and today's sky. These are real Claude AI outputs.
“Jupiter's expansive energy is meeting the nurturing stillness of Rohini today. Where in your life are you being asked to grow through comfort rather than struggle? What would it look like to expand without uprooting what already feels like home?”
“Saturn asks you to look at what you've been avoiding saying. With Mercury moving backward, a conversation from the past may resurface — not to reopen old wounds, but to close them properly. What words have you left unsaid that your future self would thank you for speaking now?”
“Ardra's storm clears what no longer serves. As the moon grows full, Rahu amplifies your hunger for the new — but storms reveal what's truly rooted. What have you been holding onto that the coming fullness is asking you to release?”
Complete daily prompt pipeline — 25 lines
Parallel fetches, AI generation, and a DB cache strategy to avoid repeat Claude calls.
// Daily journal prompt generation
const BASE = 'https://vedintelastroapi.com/api/v1'
const KEY = 'vai_YOUR_KEY'
// User's stored birth data (retrieved from your DB)
const user = { dob: '15/08/1992', tob: '07:45', lat: 12.9716, lon: 77.5946, tz: 5.5 }
const params = `api_key=${KEY}&dob=${user.dob}&tob=${user.tob}&lat=${user.lat}&lon=${user.lon}&tz=${user.tz}`
const today = new Date().toLocaleDateString('en-GB').replace(///g, '/')
// today → "03/06/2026"
// Run all three data fetches in parallel — under 200 ms total
const [transits, nakshatra, dasha] = await Promise.all([
fetch(`${BASE}/panchang/transit?${params}&date=${today}`).then(r => r.json()),
fetch(`${BASE}/predictions/daily-nakshatra?${params}&date=${today}`).then(r => r.json()),
fetch(`${BASE}/dashas/current-mahadasha?${params}`).then(r => r.json()),
])
// transits.response.transit → array of planet positions today
// nakshatra.response.nakshatra → { name, ruling_planet, qualities, prediction }
// dasha.response.current_mahadasha → { planet, end_date, years_remaining }
// Generate personalised AI prompt (call once per day per user, cache result)
const prompt = await fetch(`${BASE}/ai/transit/forecast?${params}&date=${today}`).then(r => r.json())
// prompt.response.narrative → 200-word personalised journal prompt
// Cache this in your DB so you don't re-call Claude AI mid-day
await db.journalPrompts.upsert({ userId: user.id, date: today, prompt: prompt.response.narrative })8 endpoints for journaling apps
Mix and match based on what context you want in the journal prompt.
/api/v1/panchang/transitAll 9 planet positions for any date and location — current sign, house, retrograde status
/api/v1/predictions/daily-nakshatraToday's nakshatra with qualities, ruling deity, and daily prediction
/api/v1/predictions/daily-moonDaily horoscope based on Moon sign transit — good for sign-based daily content
/api/v1/dashas/current-mahadashaActive Mahadasha and Antardasha with remaining duration — the user's life period context
/api/v1/dashas/current-mahadasha-fullFull Mahadasha tree — Maha, Antar, Pratyantar — with start/end dates
/api/v1/panchang/panchangFull daily panchang — tithi, nakshatra, yoga, karana, sunrise/sunset
/api/v1/panchang/retrogradesCurrent retrograde status for all planets — useful for "Mercury retrograde" content
/api/v1/ai/transit/forecastClaude AI transit forecast — personalised interpretation of current planets for this natal chart
Built for daily retention
Build your journaling app today
500 free API calls. No credit card. Daily fresh transit data from Swiss Ephemeris.