Vai al contenuto
GET /v1/categories

Game / category directory

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/dlive-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "The game/category directory on DLive — each category with its id, title, image and current live viewer count. Pass limit (default 20, max 100). Use a category id with /v1/category.",
        "count": 2,
        "source": "DLive",
        "categories": [
            {
                "id": 0,
                "image": "https://images.prd.dlivecdn.com/category/all.png",
                "title": "All",
                "watching_count": 3
            },
            {
                "id": -1,
                "image": "https://images.prd.dlivecdn.com/category/Mature_v1.png",
                "title": "Mature",
                "watching_count": 2
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-15T02:11:21.028Z",
        "request_id": "f6fb88da-5aa1-4d0e-9433-02468e3c375c"
    },
    "status": "ok",
    "message": "Categories retrieved successfully",
    "success": true
}