/v1/parallax
Parallax from distance
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/parallax" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/parallax-api/v1/parallax", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/parallax-api/v1/parallax");
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/parallax",
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": {
"note": "p(arcsec) = 1/d(pc). Nearer stars have larger parallax; Gaia measures down to microarcseconds.",
"inputs": {
"distance_parsec": 1.3
},
"parallax_mas": 769.230769,
"parallax_arcsec": 0.7692307692
},
"meta": {
"timestamp": "2026-06-05T19:50:26.466Z",
"request_id": "1f449533-0162-42c2-91e3-bb550de73832"
},
"status": "ok",
"message": "Parallax from distance",
"success": true
}