Explore our Marketplace to buy and sell APIs, services, and social media solutions. Connect with a vibrant community of developers, businesses, and creators!
gh_username,返回公众号历史发文列表。两种翻页方式:max_pages = 1(默认)取单页 → 从响应里取 next_offset(base64 游标)→ 下次请求把它放进 offset 取下一页;响应 is_end 为真即到末页。max_pages > 1 —— 自动续拉、跨页按文章 id 去重,一次返回多页合并结果;到末页提前停止。gh_username(gh_…)。示例 gh_363b924965e91=单页(配 offset 手动翻页);>1=自动续拉并合并去重。max_pages=1)时传上一页响应的 next_offset。示例 CAMQChiS5KfRBiAKOJLkp9EGQABIAVgAYABwAQ==提示: offset是 base64 游标(含+/=),统一走 POST body。自动翻页(max_pages>1)下offset一般无需手动传。
raw=false(精简解析,snake_case):#$.data.biz_username$.data.is_end$.data.countoffset;末页为 null): $.data.next_offset$.data.pages$.data.articles[]$.data.articles[N].app_msg_id$.data.articles[N].title$.data.articles[N].digest$.data.articles[N].url$.data.articles[N].cover(多比例 $.data.articles[N].covers)$.data.articles[N].create_time / .update_time$.data.articles[N].idx / .msg_type / .item_show_type$.data.articles[N].pic_count / .is_paid / .is_pay_subscriberaw=true(原始,本接口默认):#data 顶层字段与精简版一致(biz_username / is_end / count / next_offset / pages),但 articles[] 为完整原始群发条目(camelCase 嵌套):$.data.articles[N].appMsg(含 baseInfo / detailInfo)、$.data.articles[N].baseInfo(msgId / msgType / dateTime / status)$.data.articles[N].appMsg.detailInfo(一次群发可含多篇:头条 / 次条)next_offset 回传 offset。做列表展示建议直接用 raw=false,路径更干净。gh_username to get the account's historical article list. Two pagination modes:max_pages = 1 (default) fetches a single page → take next_offset (base64 cursor) from the response → pass it as offset in the next request; is_end truthy means the last page.max_pages > 1 — auto-continues, dedups across pages by article id, returns merged multi-page results; stops early at the last page.gh_username (gh_…). E.g. gh_363b924965e91=single page (manual paging via offset); >1=auto-fetch and merge with dedup.max_pages=1) pass next_offset from the previous response. E.g. CAMQChiS5KfRBiAKOJLkp9EGQABIAVgAYABwAQ==Tip: offsetis a base64 cursor (contains+/=), hence POST body. With auto paging (max_pages>1),offsetusually doesn't need to be passed manually.
raw=false (simplified, snake_case):#$.data.biz_username$.data.is_end$.data.countoffset for manual paging; null at the last page): $.data.next_offset$.data.pages$.data.articles[]$.data.articles[N].app_msg_id$.data.articles[N].title$.data.articles[N].digest$.data.articles[N].url$.data.articles[N].cover (multi-ratio $.data.articles[N].covers)$.data.articles[N].create_time / .update_time$.data.articles[N].idx / .msg_type / .item_show_type$.data.articles[N].pic_count / .is_paid / .is_pay_subscriberaw=true (raw, default for this endpoint):#data top-level fields match the simplified version (biz_username / is_end / count / next_offset / pages), but articles[] are full raw batch entries (nested camelCase):$.data.articles[N].appMsg (with baseInfo / detailInfo), $.data.articles[N].baseInfo (msgId / msgType / dateTime / status)$.data.articles[N].appMsg.detailInfo (one batch may contain multiple articles: headline / secondary)next_offset passed back as offset. For list display, prefer raw=false for cleaner paths.Authorization: Bearer ********************curl --location 'https://api.tikhub.io/api/v1/wechat_mp/v2/fetch_account_articles' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"username": "gh_363b924965e9",
"page_size": 20,
"max_pages": 1,
"offset": "string",
"raw": true
}'{
"code": 200,
"request_id": "string",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "string",
"time_stamp": 0,
"time_zone": "America/Los_Angeles",
"docs": "string",
"cache_message": "string",
"cache_message_zh": "string",
"cache_url": "string",
"router": "",
"params": {},
"data": null
}