Morphemeris DocsBeta

Heliacal Events

GET /v1/heliacal — Find heliacal rising and setting events for planets.

Heliacal Events

Find the next heliacal rising or setting of a planet — the moment it first becomes visible in the morning or evening sky. Uses the Schaefer sky brightness model with configurable atmospheric and observer parameters.

Text
GET  /v1/heliacal
POST /v1/heliacal

Credit cost: 3

Parameters

ParameterTypeRequiredDefaultDescription
datetimestringOne of datetime or jdISO 8601 UTC datetime
jdnumberOne of datetime or jdJulian Day in UT1
bodystringYesPlanet name (not sun or moon)
eventstringYesEvent type (see below)
latnumberYesObserver latitude
lonnumberYesObserver longitude
altnumberNo0Observer altitude in meters
pressure_mbarnumberNo1013.25Atmospheric pressure
temp_celsiusnumberNo15.0Temperature
humidity_pctnumberNo40.0Relative humidity (0–100)
visibility_range_kmnumberNo0.0Visibility range (0 = model default)
age_yearsnumberNo36.0Observer age
snellen_rationumberNo1.0Visual acuity (1.0 = normal)
binocularsbooleanNotrueBinocular vision
telescope_aperture_cmnumberNo0.0Telescope aperture (0 = naked eye)
telescope_magnificationnumberNo1.0Telescope magnification

Event types

EventDescriptionApplies to
morning_firstFirst visible in morning sky (heliacal rising)All eligible bodies
evening_lastLast visible in evening skyAll eligible bodies
evening_firstFirst visible in evening skyInner planets only (Mercury, Venus)
morning_lastLast visible in morning skyInner planets only
acronychal_risingRising at sunsetAll eligible bodies
acronychal_settingSetting at sunriseAll eligible bodies

Body restrictions: Sun and Moon are excluded. Outer planets (Jupiter–Pluto) cannot have evening_first or morning_last events.

Response

JSON
{
  "data": {
    "body": "venus",
    "event": "morning_first",
    "event_jd": 2460350.284,
    "event_datetime": "2024-02-05T18:49:00.000Z",
    "visibility_arc_deg": 12.45,
    "sun_altitude": -8.23,
    "object_altitude": 4.22
  },
  "meta": { "..." }
}
FieldTypeDescription
bodystringBody identifier
eventstringEvent type
event_jdnumberJulian Day of the event
event_datetimestringISO 8601 datetime of the event
visibility_arc_degnumberArc between Sun and object at event
sun_altitudenumberSun's altitude at event (degrees)
object_altitudenumberObject's altitude at event (degrees)

Examples

Venus heliacal rising from New York

Bash
curl "https://api.morphemeris.com/v1/heliacal?datetime=2024-01-01T00:00:00Z&body=venus&event=morning_first&lat=40.7128&lon=-74.006" \
  -H "Authorization: Bearer morphemeris_live_YOUR_KEY"
javascript
const res = await fetch(
  "https://api.morphemeris.com/v1/heliacal?datetime=2024-01-01T00:00:00Z&body=venus&event=morning_first&lat=40.7128&lon=-74.006",
  { headers: { Authorization: "Bearer morphemeris_live_YOUR_KEY" } }
);
const data = await res.json();
Python
import requests

res = requests.get(
    "https://api.morphemeris.com/v1/heliacal",
    params={
        "datetime": "2024-01-01T00:00:00Z",
        "body": "venus",
        "event": "morning_first",
        "lat": 40.7128,
        "lon": -74.006,
    },
    headers={"Authorization": "Bearer morphemeris_live_YOUR_KEY"},
)
data = res.json()

Custom atmospheric conditions

Bash
curl "https://api.morphemeris.com/v1/heliacal?datetime=2024-01-01T00:00:00Z&body=mars&event=morning_first&lat=40.7128&lon=-74.006&pressure_mbar=1000&temp_celsius=20&humidity_pct=60" \
  -H "Authorization: Bearer morphemeris_live_YOUR_KEY"