主题
源文件 apis/comment.yaml · Base URL https://app-api.pixiv.net
apis/comment.yaml
https://app-api.pixiv.net
评论相关接口(插画评论、小说评论、回复、发表/删除评论、评论表情贴纸),
认证方式与公共请求头约定见 _shared.yaml 顶部说明。
插画评论列表
operationId getIllustComments · 标签 illust-comment
getIllustComments
illust-comment
认证:bearerAuth — OAuth2 Bearer 令牌,通过 oauth.secure.pixiv.net /auth/token 获取(见 auth.yaml)
bearerAuth
X-Client-Time
2026-10-21T12:00:00+00:00
X-Client-Hash
2d6bce8d1a7c8f3b0a4e5f6a7b8c9d0e
illust_id
offset
30
200
404
200 响应字段(application/json)
application/json
total_comments
comments
next_url
uri
插画评论的回复
operationId getIllustCommentsReplies · 标签 illust-comment
getIllustCommentsReplies
comment_id
发表插画评论
可带 parent_comment_id 回复指定评论。
operationId postIllustComment · 标签 illust-comment
postIllustComment
application/x-www-form-urlencoded
comment
[emoji:123]
parent_comment_id
stamp_id
400
401
删除插画评论
删除自己发表的评论(他人评论无法删除)。
operationId postIllustCommentDelete · 标签 illust-comment
postIllustCommentDelete
{}
评论表情贴纸目录
返回评论可用的表情贴纸列表(stamp_id + stamp_url), 官方常驻约 40 个。发送贴纸评论时把 stamp_id 传给 POST /v1/illust/comment/add 或 POST /v1/novel/comment/add。
POST /v1/illust/comment/add
POST /v1/novel/comment/add
operationId getStamps · 标签 stamp
getStamps
stamp
stamps
小说评论列表
operationId getNovelComments · 标签 novel-comment
getNovelComments
novel-comment
novel_id
小说评论的回复
operationId getNovelCommentsReplies · 标签 novel-comment
getNovelCommentsReplies
发表小说评论
operationId postNovelComment · 标签 novel-comment
postNovelComment
删除小说评论
operationId postNovelCommentDelete · 标签 novel-comment
postNovelCommentDelete
Pixiv App API - Comment
评论相关接口(插画评论、小说评论、回复、发表/删除评论、评论表情贴纸),
认证方式与公共请求头约定见 _shared.yaml 顶部说明。
接口目录
接口
GET /v3/illust/comments
插画评论列表
operationId
getIllustComments· 标签illust-comment认证:
bearerAuth— OAuth2 Bearer 令牌,通过 oauth.secure.pixiv.net /auth/token 获取(见 auth.yaml)请求参数
X-Client-Time2026-10-21T12:00:00+00:00X-Client-Hash2d6bce8d1a7c8f3b0a4e5f6a7b8c9d0eillust_idoffset30响应
200404200 响应字段(
application/json)total_commentscommentsnext_urluri;可为 nullGET /v2/illust/comment/replies
插画评论的回复
operationId
getIllustCommentsReplies· 标签illust-comment认证:
bearerAuth— OAuth2 Bearer 令牌,通过 oauth.secure.pixiv.net /auth/token 获取(见 auth.yaml)请求参数
X-Client-Time2026-10-21T12:00:00+00:00X-Client-Hash2d6bce8d1a7c8f3b0a4e5f6a7b8c9d0ecomment_id响应
200404200 响应字段(
application/json)total_commentscommentsnext_urluri;可为 nullPOST /v1/illust/comment/add
发表插画评论
可带 parent_comment_id 回复指定评论。
operationId
postIllustComment· 标签illust-comment认证:
bearerAuth— OAuth2 Bearer 令牌,通过 oauth.secure.pixiv.net /auth/token 获取(见 auth.yaml)请求参数
X-Client-Time2026-10-21T12:00:00+00:00X-Client-Hash2d6bce8d1a7c8f3b0a4e5f6a7b8c9d0e请求体(
application/x-www-form-urlencoded,必填) illust_idcomment[emoji:123]语法发送表情贴纸;发 stamp 贴纸评论时传空字符串)parent_comment_idstamp_id响应
200400401200 响应字段(
application/json)total_commentscommentsnext_urluri;可为 nullPOST /v1/illust/comment/delete
删除插画评论
删除自己发表的评论(他人评论无法删除)。
operationId
postIllustCommentDelete· 标签illust-comment认证:
bearerAuth— OAuth2 Bearer 令牌,通过 oauth.secure.pixiv.net /auth/token 获取(见 auth.yaml)请求参数
X-Client-Time2026-10-21T12:00:00+00:00X-Client-Hash2d6bce8d1a7c8f3b0a4e5f6a7b8c9d0e请求体(
application/x-www-form-urlencoded,必填) comment_id响应
200{}{}400401GET /v1/stamps
评论表情贴纸目录
返回评论可用的表情贴纸列表(stamp_id + stamp_url), 官方常驻约 40 个。发送贴纸评论时把 stamp_id 传给
POST /v1/illust/comment/add或POST /v1/novel/comment/add。operationId
getStamps· 标签stamp认证:
bearerAuth— OAuth2 Bearer 令牌,通过 oauth.secure.pixiv.net /auth/token 获取(见 auth.yaml)请求参数
X-Client-Time2026-10-21T12:00:00+00:00X-Client-Hash2d6bce8d1a7c8f3b0a4e5f6a7b8c9d0e响应
200401200 响应字段(
application/json)stampsGET /v3/novel/comments
小说评论列表
operationId
getNovelComments· 标签novel-comment认证:
bearerAuth— OAuth2 Bearer 令牌,通过 oauth.secure.pixiv.net /auth/token 获取(见 auth.yaml)请求参数
X-Client-Time2026-10-21T12:00:00+00:00X-Client-Hash2d6bce8d1a7c8f3b0a4e5f6a7b8c9d0enovel_idoffset30响应
200404200 响应字段(
application/json)total_commentscommentsnext_urluri;可为 nullGET /v2/novel/comment/replies
小说评论的回复
operationId
getNovelCommentsReplies· 标签novel-comment认证:
bearerAuth— OAuth2 Bearer 令牌,通过 oauth.secure.pixiv.net /auth/token 获取(见 auth.yaml)请求参数
X-Client-Time2026-10-21T12:00:00+00:00X-Client-Hash2d6bce8d1a7c8f3b0a4e5f6a7b8c9d0ecomment_id响应
200404200 响应字段(
application/json)total_commentscommentsnext_urluri;可为 nullPOST /v1/novel/comment/add
发表小说评论
operationId
postNovelComment· 标签novel-comment认证:
bearerAuth— OAuth2 Bearer 令牌,通过 oauth.secure.pixiv.net /auth/token 获取(见 auth.yaml)请求参数
X-Client-Time2026-10-21T12:00:00+00:00X-Client-Hash2d6bce8d1a7c8f3b0a4e5f6a7b8c9d0e请求体(
application/x-www-form-urlencoded,必填) novel_idcommentparent_comment_idstamp_id响应
200400401200 响应字段(
application/json)total_commentscommentsnext_urluri;可为 nullPOST /v1/novel/comment/delete
删除小说评论
删除自己发表的评论(他人评论无法删除)。
operationId
postNovelCommentDelete· 标签novel-comment认证:
bearerAuth— OAuth2 Bearer 令牌,通过 oauth.secure.pixiv.net /auth/token 获取(见 auth.yaml)请求参数
X-Client-Time2026-10-21T12:00:00+00:00X-Client-Hash2d6bce8d1a7c8f3b0a4e5f6a7b8c9d0e请求体(
application/x-www-form-urlencoded,必填) comment_id响应
200{}{}400401