Shreeng Engine API Documentation
Deterministic Vedic Astrology, Kundli, Panchang, Dasha, Transit, BNN, and Geocode REST API.
Base URL: https://api.shreeng.com
Authentication: Runtime API key required for all protected REST endpoints. Send via the `x-api-key` header (or `Authorization: Bearer <runtime-api-key>`). Get a free API key at https://developers.shreeng.com.
Quickstart
- Resolve birth or event location via `GET /v2/geocode/search` (e.g. `city=Bhagalpur`) to get a canonical `locationId` (or pass `lat`, `lng`, and IANA `tz`).
- Call any domain endpoint (for example `GET /v2/chart?locationId=1276300&datetime=1993-03-12T05:30:00`) using local ISO datetime (`YYYY-MM-DDTHH:mm:ss`) and default Lahiri ayanamsa (`1`).
Async Reverse Jobs: Heavy reverse queries (`/v2/panchang/search`, `/v2/chart/reverse-d1`, `/v2/transit/reverse`, `/v2/astronomical/eclipses`) return a `ReverseJobAcceptedDto` (`statusUrl`, `resultUrl`). Poll `GET /v2/reverse-jobs/{jobId}` until completed, then fetch `GET /v2/reverse-jobs/{jobId}/result`.
Machine-Readable Documentation
Public REST Endpoints
GET /v2/geocode/search — Search cities by name
GET /v2/geocode/reverse — Reverse geocode (coordinates to city)
GET /v2/panchang — Get complete daily Panchang
GET /v2/panchang/muhurta — Get daily Muhurta periods
GET /v2/panchang/auspicious — Check if time is auspicious
GET /v2/panchang/search — Search for dates by panchang criteria (Reverse Panchang)
POST /v2/panchang/search — Advanced reverse panchang search with optional transit filters
GET /v2/chart — Get D1 (Rasi) birth chart
GET /v2/chart/d/{division} — Get divisional chart (Shodash Varga)
POST /v2/chart/reverse-d1 — Reverse D1 search for birth datetime
GET /v2/yoga — Get Yogas and Doshas
GET /v2/dasha — Calculate Vimshottari dasha timeline
GET /v2/dasha/current — Get current running dasha
GET /v2/transit — Get current planetary positions
GET /v2/transit/to-natal — Get transit positions relative to birth chart
GET /v2/transit/timeline — Get dedicated transit timeline for AI/research
POST /v2/transit/reverse — Reverse transit search by planetary constraints
GET /v2/festivals/{year} — Get Hindu festivals for a year
GET /v2/festivals/{year}/{id} — Get specific festival details
GET /v2/astronomical — Get combined sun and moon times
GET /v2/astronomical/sun — Get sun times for a date
GET /v2/astronomical/moon — Get moon times for a date
GET /v2/astronomical/eclipses — Search solar and lunar eclipses
POST /v2/matching/ashtakoot — Calculate Ashtakoot (8-factor) Guna Milan
GET /v2/strength/ashtakavarga — Calculate Ashtakavarga (8-fold planetary strength)
GET /v2/strength/shadbala — Calculate Shadbala (six-fold planetary strength)
GET /v2/interpret/planet-house — Get planet-in-house interpretation
GET /v2/interpret/planet-sign — Get planet-in-sign interpretation
GET /v2/interpret/nakshatra — Get nakshatra interpretation
GET /v2/interpret/lordship — Get house lordship interpretation
GET /v2/interpret/archetype/planet/{planet} — Get planet archetype
GET /v2/interpret/archetype/house/{house} — Get house signification
GET /v2/interpret/metadata — Get interpretation coverage metadata
GET /v2/bnn/context — Get BNN chart context
POST /v2/bnn/interpret/life-area — Get BNN life-area interpretation context
POST /v2/bnn/timeline/progression — Get BNN progression marker timeline
GET /v2/reverse-jobs/{jobId} — Get reverse async job status
GET /v2/reverse-jobs/{jobId}/result — Get reverse async job result