Naar de inhoud
GET /v1/categories

Game / category directory

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/dlive-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}