Zum Inhalt springen
GET /v1/search/users

Search users

User-Suche.

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

Beispiel-Response

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

{
    "data": {
        "count": 10,
        "query": "fortnite",
        "users": [
            {
                "id": "55125740",
                "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"
            },
            {
                "id": "196701476",
                "login": "fortnitees",
                "roles": {
                    "isStaff": null,
                    "isPartner": false,
                    "isAffiliate": false
                },
                "created_at": "2018-02-16T15:26:31.680024Z",
                "channel_url": "https://www.twitch.tv/fortnitees",
                "description": null,
                "display_name": "FortniteES",
                "followers_count": 142874,
                "banner_image_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/91babc36-2e03-437e-9f9b-2c1f4a7d4e77-profile_banner-480.jpeg",
                "profile_image_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/9588203b-343b-443b-a783-a527435d9ce9-profile_image-300x300.png"
            },
            {
                "id": "197147053",
                "login": "fortnitede",
                "roles": {
                    "isStaff": null,
                    "isPartner": true,
                    "isAffiliate": false
                },
                "created_at": "2018-02-18T19:15:36.21404Z",
                "channel_url": "https://www.twitch.tv/fortnitede",
                "description": null,
                "display_name": "FortniteDE",
                "followers_count": 123507,
                "banner_image_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/3cbd4c8d-3b5d-4ab9-b301-379528b84203-profile_banner-480.jpeg",
                "profile_image_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/0d21e8e4-f3b8-4a49-ab20-770baf585c7d-profile_image-300x300.png"
            },
            {
                "id": "230613835",
                "login": "fortnitegame",
                "roles": {
                    "isStaff": null,
                    "isPartner": false,
                    "isAffiliate": false
                },
                "created_at": "2018-06-11T18:54:53.356801Z",
                "channel_url": "https://www.twitch.tv/fortnitegame",
                "descripti
…