1. Create an API key
Create an AstroM8 account, then create an API key in the dashboard. Keep each key scoped to one environment and never expose it in browser code.2. Call a deterministic endpoint
This request returns a planet snapshot for a UTC instant. Replaceastrom8_live_... with your own key.
3. Preflight a paid workflow
The estimate endpoint validates the caller’s tier and remaining credit balance without creating usage or debiting credits.tier_allowed and sufficient_credits are both true, submit the requested workflow. A successful preflight is informational only; the operation itself rechecks access atomically.
4. Choose a product family
- Open the Reference tab for Western relationship, return, progression, and transit calculations.
- Go to Vedic guide for sidereal timing, matching, and chart calculations.
- Go to reports for branded PDF jobs and result polling.