Astrology & Metaphysics API for Developers

Ship birth charts, synastry, transits, aspects, tarot, and numerology in minutes. Simple JSON endpoints, transparent pricing, and a free tier.

  • Birth charts, synastry, progressions, and transits
  • Tarot, numerology, moon phases, spiritual cycles
  • Usage-based pricing starting at $9/month
LIVE Sample API Request
// JavaScript Example (Sample Only)
fetch("https://api.astroapi.io/v1/birthchart", {
  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,
    tz: "UTC"
  })
})
  .then(res => res.json())
  .then(data => console.log(data));
# Python Example (Sample Only)
import requests

url = "https://api.astroapi.io/v1/birthchart"

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

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. Focus on your product — AstroAPI handles the calculations.

Targeted Astrology Endpoints

Birth charts, synastry, composite charts, progressions, and transits.

Metaphysics in One Platform

Tarot, numerology, moon phases, planetary hours, spiritual cycles.

Simple, Honest Pricing

Free tier to start. Predictable plans for production workloads.

Modern Developer Experience

RESTful JSON APIs with copy-paste examples for JS, Python, and mobile.

Frequently Asked Questions

Your most important questions, answered clearly.

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, and multiple house systems.

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?

Uses modern astronomical models and high-precision ephemeris data.

Can I change plans later?

Upgrade, downgrade, or cancel anytime.

Is my API key secure?

All API keys are encrypted and transmitted over HTTPS.