/v1/lst
Local sidereal time
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode 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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}