Sunrise and sunset
get_ephemeris_sunriseSunrise and sunset. Sunrise, sunset and the next sunrise for a local date and place: upper limb at the sea-level horizon with 36.6′ refraction. The Vedic day runs from sunrise to the next sunrise. Cost: 0.1 credit per call, billed as 1 credit per started block of 10 Ephemeris calls (only successful calls are charged; a sandbox key is free and returns a fixed sample). Deterministic: the same input always gives the same answer. Example arguments: {"date":"2026-10-06","timezone":"Asia/Kolkata","latitude":28.6139,"longitude":77.209}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Local calendar date, YYYY-MM-DD. | |
| latitude | Yes | Geographic latitude in decimal degrees, north positive. | |
| timezone | Yes | IANA name, e.g. Asia/Kolkata. Defines the local day. | |
| longitude | Yes | East positive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||