Zum Inhalt springen
GET /v1/gmst

Greenwich 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/gmst" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sidereal-api/v1/gmst", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sidereal-api/v1/gmst");
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/gmst",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

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

{
    "data": {
        "note": "Greenwich Mean Sidereal Time = 18.697374558 + 24.06570982441908·(JD − 2451545.0) hours, mod 24. Sidereal time tracks the stars, not the sun, gaining ~3m56s per day.",
        "inputs": {
            "date": "2000-01-01",
            "time": "12:00:00"
        },
        "gmst_hms": "18:41:50.55",
        "gmst_hours": 18.69737456,
        "julian_day": 2451545,
        "gmst_degrees": 280.460618
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:26.573Z",
        "request_id": "d501d97b-2299-473d-b33c-a339de789c48"
    },
    "status": "ok",
    "message": "Greenwich sidereal time",
    "success": true
}