Madhya

Madhya(doubleepochToBirthDays,Timetime1)

Calculates the mean longitudes of planets from the interval between the epoch and the birth date. The method estimates where each planet would be if it moved at a uniform mean rate without applying orbital corrections.

Parameters

NameTypeDescription
epochToBirthDays Double Number of days between the reference epoch and the chart time.
time1 Time The chart time.

Calling this method

Endpoint base: https://api.vedastro.org/api/Calculate/Madhya

Most Calculate methods accept parameters either as URL path segments (GET) or as a JSON body (POST), keyed by parameter name. The exact request shape varies per method — see the Getting Started guide for the response envelope, StdTime format, and Ayanamsa conventions that apply across the API. Use the "Try it" panel below to build and send a real request and see the exact call this method expects.

Loading try-it widget…