字节笔记本

2026年2月22日

微信读书 Weread API 接口文档

本文档整理了微信读书(Weread)的 API 接口,包含获取书籍热门划线、书籍详情、个人想法、书籍划线以及用户 Notebook 等接口的详细说明。这些接口可用于开发 Obsidian 插件或其他第三方应用来同步微信读书数据。

Weread API

1. Weread 获取书籍的热门划线

Endpoint:

bash
Method: GET
URL: https://i.weread.qq.com/book/bestbookmarks

Headers:

KeyValue
Hosti.weread.qq.com
Connectionkeep-alive
Upgrade-Insecure-Requests1
User-AgentMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3
Accept-Encodinggzip, deflate, br
Accept-Languagezh-CN,zh;q=0.9,en;q=0.8

Query params:

KeyValueDescription
bookId26785321书籍ID

2. Weread 获取书籍详情

Endpoint:

bash
Method: GET
URL: https://i.weread.qq.com/book/info

Headers:

KeyValue
Hosti.weread.qq.com
Connectionkeep-alive
Upgrade-Insecure-Requests1
User-AgentMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3
Accept-Encodinggzip, deflate, br
Accept-Languagezh-CN,zh;q=0.9,en;q=0.8

Query params:

KeyValueDescription
bookId26785321书籍ID

3. Weread 获取书籍个人想法

Endpoint:

bash
Method: GET
URL: https://i.weread.qq.com/review/list

Headers:

KeyValue
Hosti.weread.qq.com
Connectionkeep-alive
Upgrade-Insecure-Requests1
User-AgentMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3
Accept-Encodinggzip, deflate, br
Accept-Languagezh-CN,zh;q=0.9,en;q=0.8

Query params:

KeyValueDescription
bookId26785321书籍ID
listType11列表类型
mine1是否只获取自己的想法
synckey0同步密钥
listMode列表模式

4. Weread 获取书籍划线

Endpoint:

bash
Method: GET
URL: https://i.weread.qq.com/shelf/sync

Headers:

KeyValue
Hosti.weread.qq.com
Connectionkeep-alive
Upgrade-Insecure-Requests1
User-AgentMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3
Accept-Encodinggzip, deflate, br
Accept-Languagezh-CN,zh;q=0.9,en;q=0.8

Query params:

KeyValueDescription
userVid15707910用户ID
synckey0同步密钥
lectureSynckey0讲座同步密钥

5. Weread 获取用户的Notebook

Endpoint:

bash
Method: GET
URL: https://i.weread.qq.com/user/notebooks

Headers:

KeyValue
Hosti.weread.qq.com
Connectionkeep-alive
Upgrade-Insecure-Requests1
User-AgentMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3
Accept-Encodinggzip, deflate, br
Accept-Languagezh-CN,zh;q=0.9,en;q=0.8

使用说明

  1. Base URL: https://i.weread.qq.com
  2. 认证方式: 需要通过微信登录获取 Cookie 中的 wr_skey 等认证信息
  3. Rate Limit: 建议合理控制请求频率,避免触发限制
  4. 数据来源: 本文档由 obsidian-weread-plugin 项目整理

相关项目


Generated at 2022-05-13 07:58:06 by docgen

分享: