Zum Inhalt springen
GET /v1/search/top-result

Top result

Bester Treffer (1-best-match).

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "query": "fortnite",
        "result": {
            "id": "55125740",
            "type": "user",
            "login": "fortnite",
            "roles": {
                "isStaff": null,
                "isPartner": true,
                "isAffiliate": false
            },
            "created_at": "2014-01-17T12:49:38.554458Z",
            "channel_url": "https://www.twitch.tv/fortnite",
            "description": "Official Twitch for Fortnite: available on Mobile, PC & Console. ",
            "display_name": "Fortnite",
            "followers_count": 6338015,
            "banner_image_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/dad12037-b6ad-454e-ab78-6af532dd5e41-profile_banner-480.jpeg",
            "profile_image_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/80542f40-4016-499d-9965-19197a5a0006-profile_image-300x300.png"
        }
    },
    "meta": {
        "timestamp": "2026-05-04T18:46:33.481Z",
        "request_id": "1a070340-a9e8-42be-bc66-6f806729c104"
    },
    "status": "ok",
    "message": "Top result retrieved successfully",
    "success": true
}