/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/sidereal-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sidereal-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sidereal-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"notes": "Date YYYY-MM-DD, time HH:MM[:SS] in UT, longitude in degrees (east positive), right ascension and sidereal time in hours.",
"service": "sidereal-api",
"formulae": {
"lst": "LST = GMST + longitude/15",
"gmst": "GMST(h) = 18.697374558 + 24.06570982441908·(JD − 2451545)",
"hour_angle": "HA = LST − RA"
},
"endpoints": {
"GET /v1/lst": "Local Sidereal Time for a longitude.",
"GET /v1/gmst": "Greenwich Mean Sidereal Time for a UT date and time.",
"GET /v1/meta": "This document.",
"GET /v1/hour-angle": "Hour angle from right ascension and local sidereal time (or date/time/longitude)."
},
"description": "Sidereal-time calculator: Greenwich mean sidereal time, local sidereal time for a longitude, and the hour angle of an object from its right ascension."
},
"meta": {
"timestamp": "2026-06-05T11:30:26.908Z",
"request_id": "0690874e-f58f-4f48-be02-6d56f863ff0b"
},
"status": "ok",
"message": "Meta",
"success": true
}