Skip to main content

Varshaphal — Harsha Bala

Computes Harsha Bala (positional happiness score) for all 7 classical planets in the Varshaphal chart. Maximum = 20 per planet (4 components × 5 points). Harsha Bala measures whether a planet is positionally comfortable in the annual chart — distinct from Pancha Vargeeya Bala which measures mathematical strength. A planet with high Pancha Vargeeya Bala but zero Harsha Bala has the capacity to deliver results but will do so through stress and frustration. Components: Sthana (happy house placement), Swakshetra/Uccha (own or exaltation sign), Pum-Stri (gender-appropriate house hemisphere), Dina-Ratri (day/night return alignment). Computed per Tajika rules.

Endpoint

POST /v1/astro/varshaphal/harsha-bala

Request parameters

FieldTypeRequiredDescription
locationstring | nullNoCity name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
namestringNoPerson name associated with the birth record
datestringYesBirth date in YYYY-MM-DD format
timestring | nullNoBirth time in HH:MM 24-hour format. If omitted, sunrise chart is used as fallback.
latitudenumber | nullNoLatitude. Required if location not provided.
longitudenumber | nullNoLongitude. Required if location not provided.
timezonestring | nullNoIANA timezone. Required if location not provided.
ayanamsastringNoSidereal ayanamsa mode used in calculations
target_yearintegerYesYear for solar return e.g. 2026

Example request

curl -X POST "https://api.asterwise.com/v1/astro/varshaphal/harsha-bala" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"date":"1985-11-12","time":"06:45","latitude":19.076,"longitude":72.8777,"timezone":"Asia/Kolkata","target_year":2026}'

Example response

{
"success": true,
"message": "success",
"data": {
"target_year": 2026,
"ayanamsa": "lahiri",
"solar_return_utc": "2026-11-12T13:22:00Z",
"is_day_return": false,
"varshaphal_ascendant_longitude": 40.619287,
"planets": [
{
"planet": "Sun",
"harsha_bala": 0,
"max_harsha_bala": 20,
"varsha_house": 6,
"rashi_index": 6,
"rashi": "Tula",
"components": {
"sthana": {
"earned": false,
"points": 0,
"happy_house": 9,
"actual_house": 6,
"description": "Sun is happy in the 9th house."
},
"swakshetra_uccha": {
"earned": false,
"points": 0,
"in_own_sign": false,
"in_exaltation": false,
"current_rashi_index": 6
},
"pum_stri": {
"earned": false,
"points": 0,
"gender": "male",
"happy_hemisphere": "houses 7-12 (visible half)",
"actual_house": 6
},
"dina_ratri": {
"earned": false,
"points": 0,
"happy_period": "daytime return",
"actual_period": "night"
}
},
"interpretation": "Very weak — all comfort conditions failed"
},
{
"planet": "Moon",
"harsha_bala": 5,
"max_harsha_bala": 20,
"varsha_house": 7,
"rashi_index": 8,
"rashi": "Dhanu",
"components": {
"sthana": {
"earned": false,
"points": 0,
"happy_house": 3,
"actual_house": 7,
"description": "Moon is happy in the 3th house."
},
"swakshetra_uccha": {
"earned": false,
"points": 0,
"in_own_sign": false,
"in_exaltation": false,
"current_rashi_index": 8
},
"pum_stri": {
"earned": false,
"points": 0,
"gender": "female",
"happy_hemisphere": "houses 1-6 (invisible half)",
"actual_house": 7
},
"dina_ratri": {
"earned": true,
"points": 5,
"happy_period": "nighttime return",
"actual_period": "night"
}
},
"interpretation": "Weak — planet is unhappy in this chart"
},
"... and 5 more items"
]
}
}

Response fields

FieldTypeDescription
successbooleanTrue if the request succeeded
messagestringHuman-readable status message
dataobject
data.target_yearinteger
data.ayanamsastring
data.solar_return_utcstring
data.is_day_returnboolean
data.varshaphal_ascendant_longitudenumber
data.planetsarray[object]
data.planets[].planetstring
data.planets[].harsha_balaintegerHarsha Bala score for this planet (0-20).
data.planets[].max_harsha_balainteger
data.planets[].varsha_houseintegerPlanet's house in the Varshaphal chart (from Varsha Ascendant).
data.planets[].rashi_indexinteger
data.planets[].rashistring
data.planets[].componentsobjectBreakdown of the 4 Harsha Bala components.
data.planets[].interpretationstring

Errors

CodeDescriptionReference
authentication_failedMissing or invalid API key.authentication_failed
ephemeris_unavailableUpstream ephemeris service error.ephemeris_unavailable
insufficient_tierAPI key tier does not include this endpoint.insufficient_tier
internal_errorUnexpected server error.internal_error
ip_rate_limit_exceededToo many requests in a short window.ip_rate_limit_exceeded
payload_too_largeRequest body exceeds the size limit.payload_too_large
resource_not_foundReferenced resource was not found.resource_not_found
validation_errorRequest body failed schema validation.validation_error