PanditAI / API

Developer API

Vedic astrology, as a REST API.

Every chart is computed deterministically from Swiss Ephemeris — the same engine that powers the app. Authenticate with a key, call an endpoint, get precise JSON. No astrology knowledge required to integrate.

Base URLhttps://api.panditai.com/api/v1

Authentication

All requests are authenticated with an API key sent as a bearer token. Create and manage keys from your dashboard. Keys are shown in full exactly once at creation — store them securely; you can rotate or revoke them anytime.

Authorization: Bearer YOUR_API_KEY

Quickstart

Generate a birth chart in one call. The response includes planetary positions, ascendant, houses, nakshatras and the Vimshottari dasha timeline.

curl -X POST https://api.panditai.com/api/v1/kundali/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Aryabhata",
    "date": "1990-08-15",
    "time": "05:30",
    "place": "Mumbai, India"
  }'

Credits & rate limits

Calls draw from your account’s credit balance. Deterministic calculations are cheap; AI-written interpretations cost more. Premium chart systems are charged once per report and are free to re-view after that.

ActionCost
Generate Kundali10 credits
Gun Milan compatibility15 credits
KP / Jaimini / Shodashvarga5 credits each (charged once, then free to re-view)
Doshas, remedies, predictions, horoscope, numerologyFree

Rate limit: 60 requests/minute per key by default. Need more? See plans.

Kundali & Charts

Generate a birth chart from Swiss Ephemeris, then unlock divisional and advanced chart systems.

POST/kundali/generate

Generate a Kundali (birth chart) from name, date, time and place.

GET/kundali

List all Kundali reports for the authenticated account.

GET/kundali/{id}

Fetch a single Kundali report by id.

POST/kundali/{id}/shodashvarga

Compute the 16 Shodashvarga divisional charts (D1–D60).

POST/kundali/{id}/kp

Compute KP (Krishnamurti Paddhati) sub-lords and significators.

POST/kundali/{id}/jaimini

Compute Jaimini chara karakas and arudha padas.

POST/kundali/{id}/share

Create a public, read-only share link for a report.

DELETE/kundali/{id}

Delete a Kundali report.

Predictions & Doshas

Life-area predictions and full dosha analysis grounded in the calculated chart.

POST/predictions/generate/{reportId}

Generate life-area predictions from a saved Kundali report.

GET/predictions/{reportId}

Retrieve previously generated predictions for a report.

GET/doshas/{id}

Detailed analysis of Mangal, Kaal Sarp, Pitru, Guru Chandal and Kemdrum doshas with cancellations.

Remedies

Classical remedial measures — general and personalised to a chart’s afflictions.

GET/remedies/{reportId}

Personalised remedies for a report’s afflicted planets.

GET/remedies/general

General, chart-independent Vedic remedies.

Compatibility

Ashtakoot Gun Milan matchmaking across all eight kootas.

POST/compatibility/match

Generate a 36-point Ashtakoot Gun Milan report with per-koota scores and cancellations.

Horoscope

Daily rashi horoscopes for the twelve signs.

GET/horoscope/daily

Daily horoscope for all 12 rashis.

POST/horoscope/generate

Generate a horoscope for a single rashi.

Numerology

Pythagorean and Chaldean numerology profiles and name suggestions.

POST/numerology/calculate

Calculate a full numerology profile (free).

POST/numerology/suggest-names

Suggest business or baby names for a target number.

Muhurat & Panchang

Auspicious timing and daily Panchang.

POST/muhurat/panchang

Panchang and Muhurat slots for a given date and place.

POST/muhurat/best-dates

Find the best Muhurat dates within a date range.

Account & Keys

Manage API keys and check your credit balance.

GET/credits/balance

Current credit balance for the account.

GET/credits/history

Credit transaction history.

POST/api-keys

Create a new API key with scoped permissions.

GET/api-keys

List your API keys (prefixes only — full keys are shown once).

PATCH/api-keys/{keyId}/rotate

Rotate (regenerate) an API key.

DELETE/api-keys/{keyId}

Revoke an API key.

Full reference

This page covers the most-used endpoints. The complete, always-current specification — every endpoint, parameter and schema — is published as OpenAPI and can be imported into Postman, Insomnia or any code generator.

Build astrology into your product.

Marriage portals, horoscope apps, kundali services — ship accurate Jyotish without building an ephemeris engine.