AstroWay/api v2.19.0 · use-cases
all systems operational
UA EN
// 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

// 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.

100% uptime · Calculation API · 30d status →