PlanetEphemerisLongitude
PlanetEphemerisLongitude(PlanetNameplanetName,Timetime)
Returns a planets raw ephemeris longitude from Swiss Ephemeris. The method acts as a lowerlevel bridge between VedAstro planet names and Swiss Ephemeris planet IDs. It calculates the requested planets longitude at the given time and returns it as an Angle.
Parameters
| Name | Type | Description |
|---|---|---|
planetName |
PlanetName |
The planet whose ephemeris longitude should be calculated. |
time |
Time |
The chart time. |
Calling this method
Endpoint base: https://api.vedastro.org/api/Calculate/PlanetEphemerisLongitude
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…