Zum Inhalt springen
GET /v1/list

List all constellations

Live testen

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

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

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

API-Key holen

Code-Snippets

curl "https://api.oanor.com/constellations-api/v1/list" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/constellations-api/v1/list", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/constellations-api/v1/list");
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/list",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 88,
        "total": 88,
        "constellations": [
            {
                "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"
            },
            {
                "ra": 156,
                "dec": -36,
                "name": "Antlia",
                "rank": "3",
                "names": {
                    "ar": "مفرغة الهواء",
                    "cz": "Vývěva",
                    "de": "Luftpumpe",
                    "ee": "Pump",
                    "el": "Αντλία",
                    "en": "Air Pump",
                    "es": "Máquina Neumática",
                    "fa": "تلمبه",
                    "fi": "Ilmapumppu",
                    "fr": "Machine Pneumatique",
                    "he": "משאבה",
                    "hi": "वाताकर्षक",
                    "it": "Macchina Pneumatica",
                    "ja": "ポンプ座",
                    "ko": "공기펌프자리",
                    "la": "Antlia",
                    "ru": "Насос",
                    "sw": "Pampu",
                    "tr": "Pompa",
                    "zh": "唧筒座"
                },
                "genitive": "Antliae",
                "abbreviation": "Ant"
            },
            {
                "ra": 240,
                "dec": -74,
                "name": "Apus",
                "rank": "3",
                "names": {
                    "ar": "طائر الفردوس",
                    "cz": "Rajka",
                    "de": "Paradiesvogel",
                    "ee": "Paradiisilind",
                    "el": "Πτηνόν",
                    "en": "Bird of Paradise",
                    "es": "Ave del Paraíso",
                    "fa": "مرغ بهشتی",
                    "fi": "Paratiisilintu",
                    "fr": "Oiseau de Paradis",
                    "he": "ציפור גן עדן",
                    "hi": "कपोत",
                    "it": "Uccello del Paradiso",
                    "ja": "ふうちょう座",
                    "ko": "극락조자리",
                    "la": "Apus",
                    "ru
…