Varshaphal: Tajika annual chart
curl -X POST https://api.astroway.info/v1/vedic/varshaphal \ -H "X-Api-Key: aw_live_..." \ -H "Content-Type: application/json" \ -d '{ "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "year": 2026 }'const res = await fetch('https://api.astroway.info/v1/vedic/varshaphal', { method: 'POST', headers: { 'X-Api-Key': process.env.ASTROWAY_API_KEY, 'Content-Type': 'application/json', }, body: JSON.stringify({ "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "year": 2026 }),});const { ok, data, error } = await res.json();if (!ok) throw new Error(error.message);console.log(data);import os, requests
r = requests.post( 'https://api.astroway.info/v1/vedic/varshaphal', headers={'X-Api-Key': os.environ['ASTROWAY_API_KEY'], 'Content-Type': 'application/json'}, json={ 'date': "1990-05-15", 'time': "14:30:00", 'timezoneOffset': 3, 'latitude': 50.45, 'longitude': 30.52, 'year': 2026 },)result = r.json()if not result['ok']: raise RuntimeError(result['error']['message'])print(result['data'])<?phpuse GuzzleHttp\Client;
$client = new Client(['base_uri' => 'https://api.astroway.info/v1/']);$r = $client->post('vedic/varshaphal', [ 'headers' => ['X-Api-Key' => getenv('ASTROWAY_API_KEY')], 'json' => [ 'date' => '1990-05-15', 'time' => '14:30:00', 'timezoneOffset' => 3, 'latitude' => 50.45, 'longitude' => 30.52, 'year' => 2026, ],]);$result = json_decode($r->getBody(), true);if (!$result['ok']) throw new \RuntimeException($result['error']['message']);print_r($result['data']);The Tajika annual chart for one year of life. Cast on the moment the SIDEREAL Sun returns to its natal longitude, which for an adult sits many hours away from the tropical solar return and therefore on a different ascendant: the gap runs 0.4 h at age 1, 3.3 h at 10, 7.0 h at 20, 12.5 h at 36 and 17.2 h at 50. Returns the year entry to the second, the sidereal annual chart, the muntha (the natal lagna advanced one sign per completed year) with its house and lord, Panchavargiya bala for all seven grahas (griha, uchcha, hadda, drekkana, navamsa, summed and quartered into Vishwa out of 20), the five office bearers a year lord is chosen from, and five sahams. The year lord comes back twice, because the sources disagree: varshesha follows the Hayanaratna, which requires an aspect to the annual ascendant before strength is consulted and carries the reason it chose; varsheshaByStrength is the modern shortcut of taking the strongest candidate outright. Pass entryLatitude/entryLongitude to enter the year somewhere other than the birthplace, which moves the ascendant and the houses but not the planets or the muntha. Coordinates are required.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”Birth data plus a year, for the Tajika annual chart. Required: date (YYYY-MM-DD), time (HH:mm:ss), latitude, longitude and year. Coordinates do NOT default to 0 here as they do on other chart endpoints. The chart is cast on the SIDEREAL solar return, which for an adult is many hours away from the tropical one and therefore a different ascendant.
object
Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC.
Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.
Birth latitude. Required: the muntha starts at the natal lagna.
Birth longitude. Required: the muntha starts at the natal lagna.
Calendar year of the solar return. The year is entered on the birthday of that year, not on 1 January.
Where the year is entered, if not the birthplace. Classically the residence on the birthday. Moves the annual ascendant and every house with it; the planets and the muntha do not move. Must be sent together with entryLongitude.
Longitude of the year entry. Must be sent together with entryLatitude.
Example
{ "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "year": 2026}Responses
Section titled “ Responses ”Successful calculation
object
object
object
object
object
object
object
object
object
object
object
object
object
Example
{ "ok": true, "data": { "year": 2026, "yearsElapsed": 36, "pravesh": { "julianDay": 2461176.210016, "utc": "2026-05-15T17:02:25Z" }, "isDayBirth": true, "ayanamsa": 24.23, "ayanamsaName": "Lahiri", "ascendant": { "longitude": 205.22, "sign": 6, "signName": "Libra", "degreeInSign": 25.22 }, "cusps": [ 205.22, 235.56, 274.27, 313.67, 344.64, 7.5, 25.22, 55.56, 94.27, 133.67, 164.64, 187.5 ], "planets": [ { "id": 0, "name": "Sun", "longitude": 30.65, "sign": 1, "signName": "Taurus", "degreeInSign": 0.65, "house": 8, "isRetrograde": false } ], "muntha": { "sign": 4, "signName": "Leo", "degree": 26.25, "house": 11, "lord": 0, "lordName": "Sun" }, "bala": { "3": { "planet": 3, "griha": 22.5, "grihaRelation": "greatFriend", "uchcha": 12.8, "hadda": 11.25, "haddaLord": 2, "drekkana": 7.5, "drekkanaLord": 3, "navamsa": 5, "navamsaLord": 3, "total": 59.05, "vishwa": 14.76, "classification": "poorna-bali" } }, "sahams": [ { "id": "punya", "name": "Punya", "of": "merit, protection, the tone of the whole year", "longitude": 189.33, "sign": 6, "signName": "Libra", "degreeInSign": 9.33, "house": 1, "lord": 3, "lordName": "Venus", "signAdded": false } ], "candidates": [ { "role": "varsha-lagnesha", "planet": 3, "planetName": "Venus", "vishwaBala": 14.76, "aspectToVarshaLagna": { "kind": "trine", "strength": "full", "nature": "friendly", "signDistance": 9, "separation": 143.44, "orb": 7, "withinOrb": false }, "qualifies": true } ], "varshesha": { "planet": 3, "planetName": "Venus", "role": "varsha-lagnesha", "school": "hayanaratna", "reason": "aspects the annual ascendant by trine and is the strongest of the 3 that do (Vishwa 14.76)" }, "varsheshaByStrength": { "planet": 3, "planetName": "Venus", "role": "varsha-lagnesha", "school": "charak" }, "note": "Tajika is a separate school from Parashari..." }}Validation error
Example
{ "ok": false, "error": { "code": "INVALID_INPUT", "message": "Validation failed: date: Date must be YYYY-MM-DD", "details": [ { "path": "date", "message": "Date must be YYYY-MM-DD" } ] }}Missing or invalid API key
Example
{ "ok": false, "error": { "code": "INVALID_API_KEY", "message": "Invalid API key" }}