Skip to content
AstroWay/api v2.204.0 · docs
all systems operational

Astrology Apps

Building an astrology app like Co-Star, Sanctuary, The Pattern, Chani, or Costar Compat? AstroWay API replaces the need to license Solar Fire ($495) or build your own ephemeris: 761 endpoints (natal charts, synastry, transits, Human Design, AI interpretations), OpenAPI 3.1 plus published TypeScript, Python and PHP SDKs, Swiss Ephemeris accuracy - the same engine that powers Astrodienst and Kepler.

User (browser / mobile)
Your backend (Node.js / Python / PHP)
↓ HTTPS + X-Api-Key
api.astroway.info/v1/*
JSON response → render in your UI
EndpointCreditsPurpose
/v1/chart20Natal chart calculation
/v1/synastry50Compatibility between two people
/v1/horoscope/daily50Daily horoscope

Three endpoints and you have a working product with natal charts, compatibility, and daily content.

EndpointCreditsPurpose
/v1/transits50Current transits on natal chart
/v1/solar-return50Solar return (annual chart)
/v1/progressions50Secondary progressions
/v1/interpret/natal100AI-interpreted natal chart
/v1/transit-calendar100Transit event calendar
/v1/human-design50HD chart
EndpointCreditsPurpose
/v1/rectification500Birth time correction
/v1/acg50Astrocartography (where to live)
/v1/forecast-calendar100Annual forecast heatmap
/v1/group-synastry100Group compatibility

Assuming an average user performs 3 actions per day:

ActionEndpointCreditsRequests/dayCredits/day
View chart/v1/chart201002,000
Daily horoscope/v1/horoscope/daily501005,000
Compatibility/v1/synastry50301,500
Total2308,500/day

~255,000 credits/month (8,500 × 30) → Pro ($59/mo, 800,000 credits) with room to spare, or Starter ($19/mo, 200,000) plus ~$30 of overage for the extra 55K ($5 per 10,000 over quota). Caching the daily horoscope (one text per sign, not per user) takes 4,850 credits a day off this bill and puts the scenario back inside Starter.

ActionCredits/day
20 charts400
20 horoscopes1,000
5 synastries250
Total1,650/day

~49,500 credits/month - Indie ($5/mo, 50,000 credits) covers 99% of that, which is no headroom at all: the first bump in traffic hits overage or Starter. With horoscopes cached (12 calls a day instead of 20) it comes to ~35,000 and the headroom appears.

  • Cache natal charts: input is immutable (birth date doesn’t change), so you can cache results forever in your DB
  • Cache horoscopes daily: daily horoscope is the same for everyone with the same sun sign, generate once and serve
  • Sandbox keys (aw_test_*): for development, don’t consume credits
  • Typed clients: install @astroway/sdk, astroway or astroway/sdk; for another language, generate one from /v1/openapi.json with openapi-typescript or openapi-python-client
Was this helpful?
Suggest an edit

Last updated: