Zum Inhalt springen
GET /v1/search

Search constellations across languages

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

Beispiel-Response

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

{
    "data": {
        "count": 1,
        "query": "orion",
        "total": 1,
        "constellations": [
            {
                "ra": 84,
                "dec": 13,
                "name": "Orion",
                "rank": "1",
                "names": {
                    "ar": "الجبار",
                    "cz": "Orion",
                    "de": "Orion",
                    "ee": "Orion",
                    "el": "Ωρίων",
                    "en": "Orion",
                    "es": "Orión",
                    "fa": "شکارچی",
                    "fi": "Orion",
                    "fr": "Orion",
                    "he": "אוריון",
                    "hi": "मृग",
                    "it": "Orione",
                    "ja": "オリオン座",
                    "ko": "오리온자리",
                    "la": "Orion",
                    "ru": "Орион",
                    "sw": "Jabari",
                    "tr": "Avcı",
                    "zh": "獵戶座"
                },
                "genitive": "Orionis",
                "abbreviation": "Ori"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:10.697Z",
        "request_id": "f7668440-dcc2-4167-8c76-fdc58a39234f"
    },
    "status": "ok",
    "message": "Search results retrieved successfully",
    "success": true
}