Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/parallax-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/parallax-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/parallax-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/parallax-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": "Parallax in arcsec (or mas), distance in parsec/light-year/AU, proper motion in arcsec/yr. This is geometric distance; for apparent/absolute brightness use a star-magnitude API.",
        "service": "parallax-api",
        "constants": {
            "kms_constant": 4.740470446,
            "au_per_parsec": 206264.806,
            "light_years_per_parsec": 3.2615637769
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/distance": "Distance (pc, ly, AU) from a parallax angle.",
            "GET /v1/parallax": "Parallax angle from a distance.",
            "GET /v1/proper-motion": "Tangential velocity from proper motion and distance."
        },
        "description": "Stellar parallax and astrometry: distance from parallax, parallax from distance, and tangential velocity from proper motion."
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:26.690Z",
        "request_id": "286b9f1f-0b29-4c0b-9659-27b4b5c745e3"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}