// industry · Meditation & wellness apps
Lunar API for wellness apps
Moon phase, void-of-course Moon, current transits — real data that helps pick the right time for meditation, beginnings, focus.
⏱
<150ms
🌙
8 phases tracked
💰
10 credits
🌍
geo-aware
// 01 / problem
The problem
Wellness apps often recommend "the best time" for practice — but they should base on reality vs marketing copy. The end of the lunar cycle and the full phase suggest different things.
// 02 / solution
How AstroWay solves it
AstroWay computes lunar metrics (phase, illumination, distance), void-of-course moments, active transits for a specific geolocation. All on real Swiss Ephemeris.
// 03 / endpoints
Endpoints used
- POST /v1/lunar-calendar — phase, illumination, void-of-course
- POST /v1/moon-voc — coming VoC moments
- POST /v1/transits — active aspects for date
- GET /v1/sun-times — sunrise/sunset for location
// 04 / code sample
TypeScript starter
// TS SDK in roadmap — native fetch today
const today = new Date().toISOString();
const moon = await fetch('https://api.astroway.info/v1/lunar-calendar', {
method: 'POST',
headers: { 'X-Api-Key': process.env.AW_KEY!, 'Content-Type': 'application/json' },
body: JSON.stringify({ date: today }),
}).then(r => r.json()).then(j => j.data);
const voc = await fetch('https://api.astroway.info/v1/moon-voc', {
method: 'POST',
headers: { 'X-Api-Key': process.env.AW_KEY!, 'Content-Type': 'application/json' },
body: JSON.stringify({ date: today }),
}).then(r => r.json()).then(j => j.data);
return { moonPhase: moon.phase, isVoid: voc.isVoid, recommendation: moon.advice }; Build a meditation & wellness apps feature
Generate an API key, hit any of the listed endpoints in 5 minutes. 10,000 credits free.