Aller au contenu
GET /v1/ranking

AcFun video ranking by period

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/acfun-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "AcFun's video ranking over the chosen period — each video with its views, danmaku (scrolling comments), likes, banana votes (AcFun's signature fan vote, distinct from likes), favourites, shares and comments, plus its uploader, their follower count, duration and tags. period: DAY, THREE_DAYS or WEEK; optional channel_id narrows to one category; limit 1-50. Live, cached ~5m.",
        "count": 30,
        "period": "DAY",
        "source": "AcFun public ranking endpoint (acfun.cn/rest/pc-direct/rank/channel), keyless",
        "videos": [
            {
                "url": "https://www.acfun.cn/v/ac48606016",
                "rank": 1,
                "tags": [
                    "steam游戏",
                    "steam",
                    "金亨泰",
                    "剑星血雨",
                    "剑星"
                ],
                "likes": 495,
                "title": "剑星新作人设翻车?玩家争论不休,金亨泰访谈回应【绅批】",
                "views": 3191,
                "shares": 36,
                "bananas": 2368,
                "channel": "主机单机",
                "danmaku": 521,
                "comments": 81,
                "uploaded": null,
                "uploader": "老绅",
                "favorites": 61,
                "channel_id": 84,
                "content_id": "48606016",
                "uploader_id": "526850",
                "uploader_fans": 1107697,
                "duration_seconds": 499
            },
            {
                "url": "https://www.acfun.cn/v/ac48605523",
                "rank": 2,
                "tags": [
                    "爱在A站",
                    "时光筑梦",
                    "原创编舞",
                    "AcFun19周年",
                    "AC19"
                ],
                "likes": 396,
                "title": "【AC19】第一次尝试原创编舞~祝AC娘19岁生日快乐~【时光筑梦】",
                "views": 4100,
                "shares": 16,
                "bananas": 1816,
                "channel": "宅舞",
                "danmaku": 35,
                "comments": 89,
                "uploaded": null,
                "uploader": "樱樱樱子今天画画了吗",
                "favorites": 142,
                "channel_id": 134,
                "content_id": "48605523",
                "uploader_id": "19825343",
                "uploader_fans": 16438,
                "duration_seconds": 192
            },
            {
                "url": "https://www.acfun.cn/v/ac48605960",
                "rank": 3,
                "tags": [
                    "安安",
                    "柴犬",
                    "差评君",
                    "采访"
                ],
                "likes": 347,
                "title": "差评君采访,戳中了夏日回忆杀",
                "views": 2485,
                "shares": 9,
                "bananas": 1528,
                "channel": "生活日常",
                "danmaku": 68,
                "comments": 63,
                "uploaded": null,
                "uploader": "长安一条柴",
                "favorites": 45,
                "channel_id"
…