# Shreeng Engine API > Deterministic Vedic Astrology, Kundli, Panchang, Dasha, Transit, BNN, and Geocode REST API. - Interactive API Reference: https://docs.shreeng.com - OpenAPI 3.0 JSON: https://docs.shreeng.com/openapi.json - Full Endpoint Markdown Reference: https://docs.shreeng.com/llms-full.txt - Production 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 `). Get a free API key at https://developers.shreeng.com. - Datetime Input Format: Local ISO without offset (`YYYY-MM-DDTHH:mm:ss`, e.g. `1993-03-12T05:30:00`) — never `Z` or `+05:30` - Default Ayanamsa: Lahiri (`ayanamsa=1`) ## Quickstart & Coding Agent Rules 1. 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`). 2. 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`). - **Datetime format (`YYYY-MM-DDTHH:mm:ss`):** Always send local civil time WITHOUT a `Z` or UTC offset (e.g. `1993-03-12T05:30:00`). Never pass JS `new Date().toISOString()` (`...Z`) or `+05:30` in query/body inputs. - **Location exclusivity:** Send EITHER `locationId` OR all three of `lat`, `lng`, and IANA `tz` (e.g. `Asia/Kolkata`). Do not combine both in the same request. - **Canonical conventions:** 1-indexed houses (`1..12`), lowercase planet/sign/nakshatra names, and default Lahiri ayanamsa (`1`) unless explicitly overridden (`3`=Raman, `5`=KP, `0`=Tropical). - **Standard errors, rate limits & upgrades:** Validation issues return `400` (`REQUEST_VALIDATION_FAILED` with `whatIsWrong` and `howToFix`); missing/invalid keys return `401`; plan-gated features return `403` (`TIER_UPGRADE_REQUIRED` / `DATE_RANGE_TIER_EXCEEDED`); rate/concurrency limits return `429` (`RATE_LIMIT_EXCEEDED`, `CONCURRENCY_LIMIT_EXCEEDED`, `FREE_MONTHLY_QUOTA_EXCEEDED`, or `REVERSE_QUOTA_EXCEEDED` with `Retry-After` and `X-Shreeng-Upgrade-Hint`). Enforced windows emit `X-RateLimit-{Limit,Remaining,Reset}-{burst3s,minute,hour,day}` plus `X-RateLimit-{Limit,Remaining,Reset}-month` on the Free tier. - Response Success Envelope: `{ "success": true, "data": , "meta": { "timestamp": "", "responseTimeMs": } }` - Response Error Envelope: `{ "success": false, "error": { "statusCode": , "errorCode": "", "message": "" } }` - 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`. ## Pricing, Free Tier & Rate Limits - **Predictable pricing (zero credit multipliers):** Every synchronous REST endpoint counts as 1 request. No confusing point weights. - **free** (Free (No credit card)): 10,000/mo, burst 9/3s, 30/min, 350/day, 2 concurrent, 1 key, No reverse jobs. - **hobby** (INR 199/mo ($5/mo)): Unlimited synchronous calls/mo, burst 15/3s, 60/min, 20,000/day, 3 concurrent, 2 keys, No reverse jobs. - **developer** (INR 799/mo ($19/mo)): Unlimited synchronous calls/mo, burst 30/3s, 200/min, 80,000/day, 6 concurrent, 5 keys, 10 async reverse jobs/mo (<=5y). - **pro** (INR 1999/mo ($49/mo)): Unlimited synchronous calls/mo, burst 60/3s, 600/min, 250,000/day, 12 concurrent, 10 keys, 30 async reverse jobs/mo (<=15y). - **agency** (INR 4999/mo ($119/mo)): Unlimited synchronous calls/mo, burst 120/3s, 1800/min, 720,000/day, 20 concurrent, 25 keys, 100 async reverse jobs/mo (<=30y). - **enterprise** (INR 14999+/mo ($199+/mo)): Unlimited synchronous calls/mo, burst 300/3s, 3000/min, 1,000,000/day, 50 concurrent, Custom keys, Custom reverse worker. - **Upgrade & developer console:** https://shreeng.com/pricing — tier blocks return HTTP `403 TIER_UPGRADE_REQUIRED` and `429 RATE_LIMIT_EXCEEDED` / `CONCURRENCY_LIMIT_EXCEEDED` with actionable `howToFix` and `X-Shreeng-Upgrade-Hint` headers. ## API Groups ### Geocode Resolve city names or latitude/longitude coordinates to canonical GeoNames location IDs and timezones. - `GET /v2/geocode/search`: Search cities by name - `GET /v2/geocode/reverse`: Reverse geocode (coordinates to city) ### Chart Deterministic Parashari birth charts (D1, Navamsa, divisional Vargas), planetary longitudes, and reverse chart search. - `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 ### Panchang Daily Vedic Panchang (Tithi, Nakshatra, Yoga, Karana, Vara), muhurta windows, and reverse panchang queries. - `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 ### Dasha Vimshottari Mahadasha, Antardasha, and Pratyantardasha timelines. - `GET /v2/dasha`: Calculate Vimshottari dasha timeline - `GET /v2/dasha/current`: Get current running dasha ### Transit Planetary transit snapshots, Gochar evaluation, Sade Sati, and reverse transit windows. - `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 ### Strength Shadbala planetary strength and Ashtakavarga bindu tables. - `GET /v2/strength/ashtakavarga`: Calculate Ashtakavarga (8-fold planetary strength) - `GET /v2/strength/shadbala`: Calculate Shadbala (six-fold planetary strength) ### Yoga Classical Parashari Yoga and Dosha detection with deterministic conditions. - `GET /v2/yoga`: Get Yogas and Doshas ### Matching Ashtakoota compatibility matching and Guna Milan scoring. - `POST /v2/matching/ashtakoot`: Calculate Ashtakoot (8-factor) Guna Milan ### Festivals Deterministic Hindu festival and vrat dates computed from Panchang rules. - `GET /v2/festivals/{year}`: Get Hindu festivals for a year - `GET /v2/festivals/{year}/{id}`: Get specific festival details ### Astronomical Times Sunrise, sunset, moonrise, moonset, and solar/lunar eclipse timelines. - `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 ### Interpretation Verified classical placement interpretations and structured evidence modes. - `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 ### BNN Bhrigu Nandi Nadi (BNN) sequential context and life-area interpretation. - `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 ### Reverse Jobs Status and result polling endpoints for asynchronous reverse-engine computations. - `GET /v2/reverse-jobs/{jobId}`: Get reverse async job status - `GET /v2/reverse-jobs/{jobId}/result`: Get reverse async job result