Zum Inhalt springen
GET /v1/meta

Spec

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/parallax-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}