/v1/constellation
Constellation by abbreviation or name
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/constellations-api/v1/constellation" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/constellations-api/v1/constellation", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/constellations-api/v1/constellation");
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/constellations-api/v1/constellation",
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": {
"constellation": {
"ra": 0.75,
"dec": 43,
"name": "Andromeda",
"rank": "1",
"names": {
"ar": "المرأة المسلسلة",
"cz": "Andromeda",
"de": "Andromeda",
"ee": "Andromeeda",
"el": "Ανδρομέδα",
"en": "Andromeda",
"es": "Andrómeda",
"fa": "زن به زنجیر بسته",
"fi": "Andromeda",
"fr": "Andromède",
"he": "אנדרומדה",
"hi": "देवयानी",
"it": "Andromeda",
"ja": "アンドロメダ座",
"ko": "안드로메다자리",
"la": "Andromeda",
"ru": "Андромеда",
"sw": "Mara",
"tr": "Andromeda",
"zh": "仙女座"
},
"genitive": "Andromedae",
"abbreviation": "And"
}
},
"meta": {
"timestamp": "2026-06-08T18:25:10.575Z",
"request_id": "81dcebba-9703-46a9-8dde-35b95b160f18"
},
"status": "ok",
"message": "Constellation retrieved successfully",
"success": true
}