Astrology & Metaphysics API for Developers

Ship birth charts, synastry, transits, aspects, and house systems in minutes — without managing ephemeris files or writing complex astronomical math.

  • Birth charts, synastry, progressions, and transits
  • Computed directly from modern astronomical models (no scraping)
  • Usage-based pricing starting at $9/month
LIVE Sample API Request
// JavaScript Example
fetch("https://api.astroapi.io/api/astro/birth-chart", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "Bearer YOUR_API_KEY"
  },
  body: JSON.stringify({
    date: "2000-01-01",
    time: "12:00",
    lat: 0.0,
    lon: 0.0
  })
})
  .then(res => res.json())
  .then(data => console.log(data));
# Python Example
import requests

url = "https://api.astroapi.io/api/astro/birth-chart"

payload = {
  "date": "2000-01-01",
  "time": "12:00",
  "lat": 0.0,
  "lon": 0.0
}

headers = {
  "Content-Type": "application/json",
  "Authorization": "Bearer YOUR_API_KEY"
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())

Built for Developers, Trusted by Astrology Apps

Stop fighting ephemeris math, file updates, and edge cases. AstroAPI handles the calculations so you can focus on shipping.

Targeted Astrology Endpoints

Birth charts, synastry, composite charts, progressions, transits, and multiple house systems.

Simple, Honest Pricing

Free tier to get started. Predictable usage-based plans for production workloads.

Modern Developer Experience

RESTful JSON APIs with copy-paste examples for JavaScript, Python, mobile, and serverless apps.

Frequently Asked Questions

Clear answers to the questions developers actually ask.

Can I start for free?

Yes. The free tier lets you test the API without a credit card.

What features are available?

Birth charts, transits, aspects, synastry, house systems. More coming soon.

Is commercial use allowed?

Yes. Paid plans include full commercial usage rights.

How do I authenticate?

Authorization: Bearer <YOUR_API_KEY>

What languages are supported?

Any language capable of sending HTTPS requests.

How accurate is the data?

All results are computed directly from modern astronomical models using high-precision ephemeris data suitable for professional and commercial use.

Can I change plans later?

Upgrade, downgrade, or cancel anytime as your usage changes.

Is my API key secure?

All API keys are encrypted and transmitted over HTTPS.