Zum Inhalt springen
GET /v1/lst

Local sidereal time

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/sidereal-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/sidereal-api/v1/lst" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sidereal-api/v1/lst", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sidereal-api/v1/lst");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/sidereal-api/v1/lst",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Local Sidereal Time = GMST + longitude/15 (east positive). The LST equals the right ascension of a star currently on the local meridian.",
        "inputs": {
            "date": "2000-01-01",
            "time": "12:00:00",
            "longitude": 15
        },
        "lst_hms": "19:41:50.55",
        "lst_hours": 19.69737456,
        "gmst_hours": 18.69737456,
        "lst_degrees": 295.460618
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:26.800Z",
        "request_id": "46efbc15-da42-475c-90af-784ee3558289"
    },
    "status": "ok",
    "message": "Local sidereal time",
    "success": true
}