/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}