/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}