/api/astro/panchashalaka_vedha/1 creditPanchashalaka vedha lookup
A single-nakshatra lookup into the Panchashalaka chakra. Given a nakshatra it returns the one nakshatra that faces it across the diagram — the pairing muhurta practice treats as an obstruction, so that a malefic occupying the partner afflicts any moment falling in your nakshatra. Pass `nakshatra` as a query parameter, using the spellings from the chakra endpoint's `vedha_map` (Ashwini, Purva Bhadrapada, Uttara Ashadha, and so on; Abhijit is included). The response is `{nakshatra, edge, vedha_nakshatra}` — the name you asked for, which of the four sides it sits on, and its single partner. An unrecognised name is rejected with a 400. The relationship is symmetric and never changes, so for more than a handful of lookups fetch the full map once from `/api/astro/panchashalaka_chakra/` instead.
https://yogataraapi.prahlad.app/api/astro/panchashalaka_vedha/Authentication
Send your key in the X-API-Key header. Keys are server-side credentials — never put one in browser JavaScript or a mobile app.
X-API-Key: yt_live_a1b2c3d4_…Query parameters (1)
Passed in the URL. All optional unless marked, and they combine — filter, then page, then sort.
| Parameter | Type | Example | What it does | |
|---|---|---|---|---|
| nakshatra | string | required | Abhijit | Name of the nakshatra to look up its Panchashalaka Chakra vedha partner.one of: Abhijit, Anuradha, Ardra, Ashlesha, Ashwini, Bharani, Chitra, Dhanishtha, Hasta, Jyeshtha, Krittika, Magha, Moola, Mrigashira, Punarvasu, Purva Ashadha, Purva Bhadrapada, Purva Phalguni, Pushya, Revati, Rohini, Shatabhisha, Shravana, Swati, Uttara Ashadha, Uttara Bhadrapada, Uttara Phalguni, Vishakha |
Example request
curl "https://yogataraapi.prahlad.app/api/astro/panchashalaka_vedha/?nakshatra=Abhijit" \
-H "X-API-Key: $OCCULT_API_KEY"Response
{
"nakshatra": "Abhijit",
"edge": "north",
"vedha_nakshatra": "Rohini"
}Captured from a real call using the exact request above. Results sit under data.
Errors
Metering errors return { "error": "…", "message": "<code>", "is_error": true }. Show error to people and branch on message. See the error reference.