Examples
Working snippets you can copy straight into your code. Examples in cURL, Node.js, Python, PHP — for top endpoints, common integration tasks, and MCP agents.
MCP — Claude / Cursor Connect AstroWay to Claude Desktop or Cursor via @astroway/mcp. One npm package, all endpoints as tools.
Natal Chart First /chart call — planetary positions, houses, aspects. Base example in cURL, Node.js, Python, PHP.
Synastry Two-person compatibility: /synastry request, score interpretation, cross-aspect display.
Transits Current transits on a natal chart: filtering, aggregation, building a timeline.
Human Design Full HD chart: type, strategy, authority, profile, gates and channels.
Integrations Working templates: Express middleware, Next.js API route, background queues, caching.
Don’t see what you need?
Section titled “Don’t see what you need?”The Sandbox gives you 100 % free access to all 705 endpoints with deterministic responses — use it to quickly prototype integrations without spending credits.
Was this helpful?
Thanks for the feedback.