Zum Inhalt springen
GET /v1/user-collections

The titles a member has rated and collected

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "type": "all",
        "count": 20,
        "total": 1172,
        "source": "Bangumi public v0 API (api.bgm.tv/v0/users/<u>/collections), keyless",
        "username": "trim21",
        "collections": [
            {
                "name": "The Boys Season 5",
                "type": "real",
                "status": "doing",
                "comment": null,
                "name_cn": "黑袍纠察队 第五季",
                "updated": "2026-04-18T00:09:03+08:00",
                "user_rate": null,
                "subject_id": 494608,
                "community_score": 5.2
            },
            {
                "name": "ONE PIECE",
                "type": "anime",
                "status": "collect",
                "comment": null,
                "name_cn": "航海王",
                "updated": "2026-03-26T00:28:11+08:00",
                "user_rate": null,
                "subject_id": 975,
                "community_score": 8.3
            },
            {
                "name": "ONE PIECE エルバフ編",
                "type": "anime",
                "status": "doing",
                "comment": null,
                "name_cn": "航海王 埃鲁巴夫篇",
                "updated": "2026-03-19T23:49:45+08:00",
                "user_rate": null,
                "subject_id": 602059,
                "community_score": 7.8
            },
            {
                "name": "大军师司马懿之军师联盟",
                "type": "real",
                "status": "collect",
                "comment": null,
                "name_cn": "大军师司马懿之军师联盟",
                "updated": "2026-02-25T16:23:10+08:00",
                "user_rate": null,
                "subject_id": 219638,
                "community_score": 6.9
            },
            {
                "name": "大军师司马懿之虎啸龙吟",
                "type": "real",
                "status": "collect",
                "comment": null,
                "name_cn": null,
                "updated": "2026-02-25T16:11:16+08:00",
                "user_rate": null,
                "subject_id": 234249,
                "community_score": 7
            },
            {
                "name": "A Knight of the Seven Kingdoms",
                "type": "real",
                "status": "doing",
                "comment": null,
                "name_cn": "七王国的骑士",
                "updated": "2026-02-09T01:13:38+08:00",
                "user_rate": null,
                "subject_id": 429521,
                "community_score": 7.8
            },
            {
                "name": "Fallout Season 2",
                "type": "real",
                "status": "doing",
                "comment": null,
                "name_cn": "辐射 第二季",
                "updated": "2025-12-28T02:11:22+08:00",
                "user_rate": null,
                "subject_id": 490728,
                "community_score": 7.3
            },
            {
                "name": "Severance Season 2",
                "type": "real",
                "status": "col
…