api.shreeng.com · REST + Hosted MCP
Shreeng Engine Developer API
Engineered in TypeScript on NestJS + Fastify with native C++ Swiss Ephemeris (sweph) and PostgreSQL historical timezone revisions. Consistent success / data / meta JSON envelopes across every endpoint.
# 1. Resolve city -> canonical locationId (Bhagalpur = 1276300)
curl -s "https://api.shreeng.com/v2/geocode/search?city=Bhagalpur&country=IN" \
-H "x-api-key: $SHREENG_API_KEY"
# 2. Calculate D1 Kundli (local ISO datetime, NO Z or +05:30)
curl -s "https://api.shreeng.com/v2/chart?locationId=1276300&datetime=1993-03-12T05:30:00" \
-H "x-api-key: $SHREENG_API_KEY"Core Endpoint Families
| Family | Key Routes | Tier & Capability Notes |
|---|---|---|
| Setup & Location | GET /v2/geocode/search | Canonical GeoNames locationIds + verified IANA historical timezones. |
| Core Kundli & Vargas | GET /v2/chart, GET /v2/chart/divisional/:division | D1 & D9 on Free; all 16 Shodashvarga divisions on Developer+. |
| Panchang, Muhurta & Festivals | GET /v2/panchang, /v2/panchang/muhurta, /v2/festivals/:year | ±1y Free/Hobby · ±10y Developer · ±50y Pro/Agency. |
| Dasha, Yoga & Strength | GET /v2/dasha, /v2/yoga, /v2/strength/ashtakavarga, /v2/strength/shadbala | 2-level Dasha on Free; 5-level Dasha & Shadbala (2/5/10 rps) on Developer+. |
| Matching & Transits | POST /v2/matching/ashtakoot, GET /v2/transit/* | Ashtakoota 36-Guna matching on Free; Transits on Hobby+; Timeline on Developer+. |
| BNN, Interpret & Reverse Engine | GET/POST /v2/bnn/*, /v2/interpret/*, /v2/chart/reverse-d1, /v2/mcp | Bhrigu Nandi Nadi sequential logic, AI-ready evidence, async reverse search & MCP. |