Skip to content
View DivineAPI's full-sized avatar

Block or report DivineAPI

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
DivineAPI/README.md

DivineAPI

DivineAPI: astrology API for developers

Astrology API for developers: Vedic (kundli, panchang), Western (natal charts), horoscopes, tarot, numerology and white-label PDF reports as JSON over REST. Hosted MCP servers bring the same data to AI assistants.

Docs Trial Postman Status MCP

At a glance

Endpoints 300+ across 8 domains
Vedic (Indian) astrology 140+ endpoints, 8 Indian languages
Western astrology 60+ endpoints, 12 languages on text reports
Horoscope and tarot 40+ endpoints, 25 languages
Numerology 15+ endpoints, English
White-label PDF reports 125+ report types
Response times from 72ms
SDKs Python, Node.js / TypeScript, PHP
Hosted MCP servers 3 (Vedic, Western, horoscope / tarot / numerology)
WordPress plugin 9,000+ downloads
Used by 600+ businesses
Founded 2021 in New Delhi, India

Get started

  1. Start the trial. Start a 14-day free trial (credit card required to activate the trial).
  2. Copy your keys. Take the API key and auth token from the dashboard.
  3. Make your first call. Every endpoint is a POST with a multipart form: the auth token goes in the Authorization: Bearer header and the API key in the api_key field. This one compares two zodiac signs:
curl -s -X POST https://astroapi-5.divineapi.com/api/v2/love-compatibility \
  -H "Authorization: Bearer YOUR_AUTH_TOKEN" \
  -F api_key=YOUR_API_KEY \
  -F sign_1=aries -F sign_2=leo

Real response (2 Oct 2026, trimmed with ...):

{
  "success": 1,
  "data": {
    "prediction": {
      "sign_1": "Aries",
      "sign_2": "Leo",
      "overall_compatibility": "In love, two fire signals can't be stopped. When Aries and Leo meet for the first time, ...",
      "positive_aspects": "Leos and Aries are natural-born flirts who bond immediately and fall in love rapidly. ...",
      "negative_aspects": "Leo-Aries is a good combination, but it doesn't come without flaws. ...",
      "ideal_date": "An ideal date would be camping in the woods, where the two can spend a lot of time together.",
      "score": { "general": "8.5", "communication": "9", "...": "..." }
    }
  }
}

The developer hub with quickstarts in curl, Python, Node.js and PHP is astrology-api.

Repositories

Questions developers ask

Are the Vedic and Western endpoints calculated the same way? No. Vedic endpoints use the sidereal zodiac with the Lahiri ayanamsa (fixed); Western endpoints use the tropical zodiac. Both take their astronomical positions from Swiss Ephemeris, used under a commercial licence.

Can responses come back in Hindi or other languages? Yes, with the lan field. Vedic endpoints answer in 8 Indian languages, Western text reports in 12 languages, and horoscopes and tarot in 25 languages through the translator host. Numerology is English only. DivineAPI uses its own codes, for example ma for Marathi and tm for Tamil.

How does authentication work? Every REST call sends both: the auth token in the Authorization: Bearer header and the API key in the api_key form field. The hosted MCP servers take the same pair as the X-Divine-Api-Key and X-Divine-Auth-Token headers.

How do I get access? Start the 14-day free trial (credit card required to activate the trial) and copy both values from the dashboard. Plans are sold per product; compare them at divineapi.com/pricing.

Where is the full API reference? At developers.divineapi.com, with the OpenAPI file at developers.divineapi.com/openapi.yaml and a Postman collection.

Links

Website divineapi.com
Docs developers.divineapi.com
Pricing divineapi.com/pricing
Report samples reports.divineapi.com/reports
Status status.divineapi.com
Support support.divineapi.com
LinkedIn linkedin.com/company/divineapi
X x.com/divineapi
YouTube youtube.com/@divineapi

Popular repositories Loading

  1. astrology-api astrology-api Public

    Astrology API for developers: Vedic, Western, horoscope, tarot, numerology and PDF reports. 300+ endpoints. DivineAPI.

    19 2

  2. horoscope-api horoscope-api Public

    Horoscope API (daily horoscope API): daily, weekly, monthly, yearly horoscopes for 12 signs in 25 languages, JSON.

    7

  3. fortune-cookie fortune-cookie Public archive

    Moved to github.com/DivineAPI/tarot-api: Fortune Cookie API by DivineAPI.

    2

  4. daily-tarot daily-tarot Public archive

    Moved to github.com/DivineAPI/tarot-api: Daily Tarot API by DivineAPI.

    1

  5. yes-or-no-tarot yes-or-no-tarot Public archive

    Moved to github.com/DivineAPI/tarot-api: Yes or No Tarot API by DivineAPI.

    1

  6. coffee-cup-reading coffee-cup-reading Public archive

    Moved to github.com/DivineAPI/tarot-api: Coffee Cup Reading API by DivineAPI.

    1