New Numerology API

Features

Vedic astrology API features

API for Astrology (apiforastrology.com) is a Vedic astrology API with 65 endpoints: 63 in the 14 features below, and 2 more listed at the end. Each feature covers one job, such as birth charts (kundli), dashas (planetary periods), the panchang (Hindu calendar), matching or written readings. Each feature's page shows a real response and the rules behind it.

Updated

© API for Astrology (apiforastrology.com). "Features explained". All rights reserved. Not to be copied or reused.Your requestDate: Aug 15, 1990Time: 10:30 AMPlace: New YorkAPIBirth chartPlanet periodsDaily panchangMatchingTransitsHoroscopesReadingsRemedies

Every feature is called the same way

  1. 1Send a birth date, local time and place as JSON, with your API key in the Authorization header. Calendar calls need only a date and a place.
  2. 2The API places the planets for that moment from NASA JPL data, then applies the published rules for the feature you called.
  3. 3It answers in JSON your app can show as it is: charts, life periods, daily times, match scores and readings in plain English.

Sources: NASA JPL planet data (DE440), NASA JPL Horizons

POST /v1/planets

# John Doe, born Aug 15, 1990, 10:30 AM, New York
curl -X POST "https://apiforastrology.com/api/astrology/v1/planets" \
  -H "Authorization: Bearer $ASTROLOGY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"year":1990,"month":8,"day":15,"hour":10,"minute":30,"second":0,"latitude":40.7128,"longitude":-74.006,"timezone":"America/New_York"}'

Birth charts

The chart itself: where each planet is, how strong it is, and the Jaimini view.

Timing

When things happen: planetary periods, transits and the Hindu calendar.

Matching and doshas

Checks people ask about most: marriage compatibility and doshas, each with a plain answer.

Readings

Text for your users: daily horoscopes, readings, a printable report, remedies, karmic themes and answers to one question.

Which astrology API feature should you call first?

Call the kundli API first: POST /v1/planets turns a birth date, time and place into the birth chart. Dashas, matching, doshas and readings all start from that chart. Some pages need no birth details, such as a daily panchang, a festival calendar or Moon-sign horoscopes. They can start with the panchang, Hindu calendar or horoscope API instead.

Comparing providers first? Read how to choose an astrology API.

How every astrology API feature works

  • One set of birth details

    Most calls take the same birth details: the date, the local time, the place (latitude and longitude) and the time zone. Calendar and sky calls need only a date and a place.

    Make your first call
  • Every plan, every endpoint

    Every plan can call all 65 endpoints. Plans differ only in their limits: calls a month, calls a minute and reading credits.

    See pricing
  • Answers that name their rule

    Checks such as doshas and yogas explain their answer in plain English and name the rule they used.

    Browse the rulebook
  • Text length and language

    Readings come in a standard or a longer version (detail=expanded). For names and text in another language, send lang=hi for Hindi.

    Read the conventions

2 more endpoints are not part of a feature above. You can find each one in the API reference.

Astrology API

Try any feature with a free key

Create an account and a test key, then call any endpoint. Or try a request in the API reference first.

Your first answer

John Doe, New York

POST /v1/planets200 OK
  • RisingVirgoHast
  • SunCancerAshlesha
  • MoonTaurusMrigashira
  • MarsAriesKrittika

Real API output. A free test key gets the same answer.

  1. 01

    Test key: 1,000 test calls a month to build with

  2. 02

    Free plan: 2,000 live calls a month, no card needed

  3. 03

    Open rules: every rule is published, so you can check any answer