INTRODUCTION

StarsAPI Documentation

Overview

StarsAPI is a Vedic and Western astrology API platform across nine product domains: horoscopes, kundli & dashas, Western charts, numerology, transits, panchang, AI chat & voice astrologers, AI-generated PDF reports, and location autocomplete.

Everything runs on a hardened, arcsecond-accurate astronomical backend. One API key gives you access to every product. No SDK required — every endpoint is a plain HTTPS request.

What's in v3

These docs are organized into two parts:

  • Guides — narrative, integration-focused tutorials (e.g. "Daily Horoscope — integrate in 60 seconds")
  • Reference — endpoint-by-endpoint API reference (request fields, response shape, errors)

Each endpoint reference page includes copy-paste code samples in cURL, JavaScript, Python, PHP, Go, Java, C#, and Ruby. Use the language switcher on the right to choose your stack.

Where to start

  • New to StarsAPI? Begin with the Quickstart — your first API call in 60 seconds.
  • Need an API key? Visit pricing — instant delivery, no card required for the trial tier.
  • Building a horoscope app? Jump to the Horoscope overview.
  • Looking for a specific endpoint? Press ⌘K (Mac) or Ctrl+K (Win/Linux) to search.

Support

Found an issue with these docs? Use the "Report an issue" link at the bottom of any page. For API questions, contact us via the contact page or open a thread on our developer Slack.