Ir al contenido
GET /v1/meta

Spec

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/sidereal-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}