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.
Need a whole app, not a snippet? Ten runnable integrations built on the official SDKs - github.com/astroway/examples: Discord and Slack bots, OpenAI function-calling, a Cloudflare edge cache, forecast CSV export, and a FastAPI compatibility service.
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 761 endpoints with deterministic responses - use it to quickly prototype integrations without spending credits.
Was this helpful?
Thanks for the feedback.