Skip to main content
POST/v1/astro/varshaphal/saham

Varshaphal — Tajika Saham Points

Computes all 10 Tajika Saham (sensitive points) for a Varshaphal chart. Sahams are the Tajika equivalent of Arabic Parts — mathematically derived points that focus on specific life themes for the year. Formula: A - B + C, plus 30° when C is not on the arc from B forward to A (Tajika Neelakanthi; the test is by longitude). C is the Varsha ascendant except for Mitra (Venus) and Santapa (the Sripati 6th house cusp). For a night return A and B swap, except Vyapara, Vivaha and Santapa. Day formulas: Punya Moon-Sun, Vidya Sun-Moon, Yashas Jupiter-Punya, Mitra Vidya-Punya+Venus, Mahatmya Punya-Mars, Asha Saturn-Venus, Karmakarya Mars-Mercury, Vyapara Mars-Mercury, Vivaha Venus-Saturn, Santapa Saturn-Moon+6th house. Yashas, Mitra and Mahatmya use Punya (and Mitra Vidya) Saham as an operand — computed first.

Request parameters​

locationoptional
string | null
City name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
nameoptional
string
Person name associated with the birth record
daterequired
string
Birth date in YYYY-MM-DD format
timerequired
string
Birth time in HH:MM 24-hour format. Required: this endpoint has no sunrise fallback.
latitudeoptional
number | null
Latitude. Required if location not provided.
longitudeoptional
number | null
Longitude. Required if location not provided.
timezoneoptional
string | null
IANA timezone. Required if location not provided (unless utc_offset is given). For dates before the zone adopted a standard time, the birthplace's local mean time (longitude / 15 hours) is used.
utc_offsetoptional
string | null
Optional explicit UTC offset of the birth time, as ±HH:MM or ±HH:MM:SS (e.g. '+04:51:31' for Bombay mean time). Overrides the offset timezone would give. Use it when the birth record states the offset, or for historical local times the IANA database cannot represent.
ayanamsaoptional
string
Sidereal ayanamsa mode used in calculations
target_yearrequired
integer
Varshaphal year, e.g. 2026: the solar return nearest the birthday in this year (in UT it can fall the day before or after the birthday, or on 31 December for a 1 January birthday). Each year gives a different return. Must not be before the birth year.

Response fields​

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.birth_time_provided
boolean
Always true: this endpoint requires the birth time and has no sunrise fallback, so house, Ascendant and Moon-dependent results use the time you sent.
data.target_year
integer
data.ayanamsa
string
data.solar_return_utc
string
data.is_day_return
boolean
True if solar return occurred during daytime — determines formula variant.
data.varshaphal_ascendant_longitude
number
data.total
integer
data.sahams
array[object]
data.sahams[].slug
string
data.sahams[].name
string
data.sahams[].theme
string
data.sahams[].longitude
number
data.sahams[].rashi_index
integer
data.sahams[].rashi
string
data.sahams[].rashi_id
string | null
Fixed id of rashi (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.sahams[].rashi_label
string | null
rashi in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; show it to people, never store or compare it.
data.sahams[].degree_in_sign
number
data.sahams[].saham_lord
string
Classical lord of the sign where this Saham falls.
data.sahams[].saham_lord_id
string | null
Fixed id of saham_lord (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.sahams[].saham_lord_label
string | null
saham_lord in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; show it to people, never store or compare it.
data.sahams[].formula_used
string
Day or night formula and planet operands used.
key_labels
object | null
Labels of the names and ids this answer uses as map keys ({"Sun": ...} -> {"Sun": "सूर्य"}, {"varna": ...} -> {"varna": "वर्ण"}), in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; the keys themselves never change.

Errors​

Invalid API key format.
API key is missing. Include it in the Authorization header as 'Bearer YOUR_KEY'.
The provided API key was not found. Verify the key in your Asterwise dashboard.
This API key has been revoked.
Too many requests per minute. Please slow down.
Confirm your email first. Open the link we emailed you, or sign in at asterwise.com/dashboard to send a new one.
Something went wrong on our end. Please try again, or contact [email protected] if the problem persists. Include your request_id when contacting support.
Too many requests from this IP address. Please slow down.
Monthly API call limit reached. Upgrade your plan to continue.
Request body exceeds maximum allowed size of 64KB.
Your subscription has expired. Please renew at asterwise.com/dashboard to continue.
The request couldn't be processed. See the 'details' field for specific field-level issues.