POST /v1/batch
Batch endpoint — executes up to 50 requests against the route handlers in one call, returning { status, body } per item in order. One failing item never fails the batch. Direct-channel only (not available on RapidAPI). Quota: each item consumes one quota unit, reserved up-front from the monthly allowance; a batch of N items costs N units. Nested /batch requests are rejected. /kundali and /kundali/full (bundle endpoints) are not batchable — request their individual pieces (/ascendant, /planets, /houses/vedic, /panchanga, /ashtakavarga, /yogas, etc.) in bulk instead.
Authorization
ApiKeyAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/batch" \ -H "Content-Type: application/json" \ -d '{ "requests": [ { "path": "/kundali" } ] }'{ "success": true, "data": { "results": [ { "status": 200, "body": { "success": true, "data": { "planet": "Moon", "sign": 4, "signName": "Leo", "degreeInSign": 20.12728979397164, "longitude": 140.12728979397164, "eclipticLatitude": -2.4118781965025513, "nakshatra": "Purva Phalguni", "nakshatraPada": 3, "nakshatraLord": "Venus", "subLord": "Jupiter", "subSubLord": "Jupiter", "house": 6, "houseClassifications": [ "Upachaya", "Dusthana" ], "speed": 12.579355179917021, "isRetrograde": false, "isCombust": false, "dignity": "Friendly Sign", "isVargottama": false, "navamsaSign": 6, "navamsaSignName": "Libra", "avastha": { "baladi": "Vriddha", "jagradadi": "Swapna", "strengthModifier": 0.5, "description": "Vriddha (Old age stage — planet's significations are weakening and becoming less reliable.) | Swapna (Dreaming — comfortable but not fully expressive.)" } } } } ] }}