/api/astro/rashi_in_house_insights/1 creditSign in house readings
Prewritten readings for a zodiac sign occupying a particular house of the chart — Aries on the second house, Cancer on the seventh, and so on, for all 144 combinations. Each describes what the house's affairs look like when coloured by that sign. A pure lookup with no calculation behind it. One key, `get_rashi_in_house`, taking `rashi` as a sign name and `house` by its Sanskrit name rather than a number: `lagna`, `dhana`, `sahaja`, `sukha`, `putra`, `satru`, `yuvati`, `randhra`, `bhagya`, `karma`, `labha`, `vyaya` for the first through twelfth houses. The value is a list of short sentences, typically four to six, each a separate statement you can render on its own line. A name outside the accepted set returns an `Invalid key` string with HTTP 200 rather than an error.
https://yogataraapi.prahlad.app/api/astro/rashi_in_house_insights/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_…
Content-Type: application/jsonRequest fields
| Field | Type | Required | Notes |
|---|---|---|---|
| house | string | required | lagnadhanasahajasukhaputrasatruyuvatirandhrabhagyakarmalabhavyayaDespite the field name this is NOT a number - it is the Sanskrit bhava name, houses 1-12 in the order listed. Unknown values return "Invalid key: <x>" with HTTP 200. |
| keys | array | required | Which calculations to return, as a list of names. See the key table for this endpoint; an unrecognised name rejects the whole request. One call costs one credit however many keys you ask for, so request everything you need at once rather than making several calls. |
| rashi | string | required | ariestaurusgeminicancerleovirgolibrascorpiosagittariuscapricornaquariuspiscesEnglish sign names, not Sanskrit. |
Available keys (1)
Ask for exactly the calculations you want by listing them in keys. An unknown key rejects the whole request, and you are charged 1 credit however many you ask for — so batch them.
| Key | Extra fields needed | Description |
|---|---|---|
| get_rashi_in_house | house, rashi | The classical reading for the sign `rashi` occupying the house `house`, where the house is named in Sanskrit (`lagna` through `vyaya`) rather than numbered. Returns a list of short sentences, typically four to six, each a separate statement. |
Example request
curl -X POST https://yogataraapi.prahlad.app/api/astro/rashi_in_house_insights/ \
-H "X-API-Key: $OCCULT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keys":["get_rashi_in_house"],"house":"dhana","rashi":"aries"}'Response
{
"data": {
"get_rashi_in_house": [
"Gains wealth through righteous deeds.",
"Possesses a friendly and virtuous nature.",
"Blessed with male children.",
"Endowed with cattle and livestock.",
"Fond of the company of scholars."
]
},
"status": 200,
"is_error": false,
"message": "successful"
}Captured from a real call using the exact request above. Results sit under data, keyed by what you requested.
Errors
Metering errors return { "error": "…", "message": "<code>", "is_error": true }. Show error to people and branch on message. See the error reference.