Vai al contenuto
GET /v1/lst

Local sidereal time

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/sidereal-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}