AniBT Wiki
公开 API

种子标题匹配番剧

POST /api/animes/torrent-match —— 解析标题,返回 auto / manual 等决定。

公开识别端点。传入 groupId 时必须登录且属于该组。

POST /api/animes/torrent-match

公开

GET 返回 405 METHOD_NOT_ALLOWED

不要把调用方伪造的匹配结果传给发布接口。未带番剧 ID 时,发布接口会在服务端跑同一 matcher。

请求

字段

类型

公开路由 diagnostics=true 返回 403。请求体上限 32 KiB。不缓存。

完整字段见 接口参考

发布标题 + torrent 内部名
curl -sS 'https://anibt.net/api/animes/torrent-match' \
  -H 'Content-Type: application/json' \
  --data @- <<'JSON'
{
  "rawTitle": "[LoliHouse] 孤独摇滚! / Bocchi the Rock! - 01 [WebRip 1080p HEVC-10bit AAC][简繁内封字幕]",
  "torrentName": "[LoliHouse] Bocchi the Rock! [01][1080p].mkv",
  "publishedAt": 1664640000000,
  "limit": 10
}
JSON

decision.kind

decision.kind调用方行为
auto可用 decision.animeId,且必须出现在 candidates
manual展示候选,不得自动绑定
none无候选
non_anime非番剧
unsupported合集等无法用单番剧表达
unavailable检索不可用,稍后重试

candidates 不是授权字段。高 matchScore 不能代替 decision.kind="auto"

HTTP处理
400非法 JSON
403groupId 无会话或非成员;或公开路由传了 diagnostics=true
413请求体超过 32 KiB
422校验未通过
429180 次 / 60 秒 / IP,按 Retry-After 退避

本页目录