[
{
"record_type": "post",
"id": "4037057802966562610",
"code": "DgGgq67incy",
"url": "https://www.threads.com/@natgeo/post/DgGgq67incy",
"username": "natgeo",
"author_id": "63269174602",
"full_name": "National Geographic",
"is_verified": true,
"text": "Turns out, magic runs in the family—even in the wild! ✨🐾 @haileesteinfeld reveals the real-life abilities and survival secrets animal mothers pass to their young, from sharp hunting skills to unique calls. \n\nSee Disney’s Hexed in theaters Wednesday and explore more wild wonders in Nat Geo titles streaming on @DisneyPlus.",
"attachment_text": null,
"posted_at": "2026-11-23T23:00:34+00:00",
"likes": 226,
"replies": 4,
"reposts": 10,
"quotes": 0,
"shares": null,
"is_reply": false,
"reply_to_author": null,
"is_pinned": false,
"is_edited": false,
"mentions": [
"haileesteinfeld",
"disneyplus"
],
"links": [],
"link_title": null,
"quoted_post_url": null,
"image_urls": [],
"video_urls": [
"https://scontent-iad6-1.cdninstagram.com/o1/v/t16/f2/m84/AQNhczwfpmuBUyNG60GNANfxkcc22gUpfRHNleJp0dtPoXZ361XTk3i2wnhBYc4spx7WnIhpHuXrq1dCpkA8asmi-yVCknMGib0nedI.mp4?_nc_cat=101&_nc_sid=5e9851&_nc_ht=scontent-iad6-1.cdninstagram.com&_nc_ohc=RFXg9FjQZyIQ7kNvwGg_tBr&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uRkVFRC5DMy43MjAuZGFzaF9iYXNlbGluZV8xX3YxIiwieHB2X2Fzc2V0X2lkIjoxNzk5NjU0MjY1OTExMDYwMywiYXNzZXRfYWdlX2RheXMiOjAsInZpX3VzZWNhc2VfaWQiOjEwMTY0LCJkdXJhdGlvbl9zIjo4NiwidXJsZ2VuX3NvdXJjZSI6Ind3dyJ9&ccb=17-1&vs=8bc8f9b5741083ca&_nc_vs=HBksFQIYTGlnX2JhY2tmaWxsX3RpbWVsaW5lX3ZvZC84REU3OUI3ODFBNEU0MzBDOTE0Q0VEREY0RDc3N0ZCQl92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyL0U1NDg5NzE3OUQwQTRBRDdBQzBEMjlFM0NEODI1QTJBX2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwOIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRJjb3B5X3NhbXBsZV9ncm91cHMBMRUAACaWm43G0_D3PxUCKAJDMywXQFWin752yLQYEmRhc2hfYmFzZWxpbmVfMV92MREAdeoHZeieAQA&_nc_gid=1JErx2EIuQs8HBGkxsarsQ&_nc_ss=79389&_nc_map=urlgen_bucketless&_nc_zt=28&oh=00_AQTOLG830XRjk8U7tJb25euhMaMwSA1oIPQfTtRb5NIWBg&oe=6B076E4B"
],
"scraped_at": "2026-11-24T15:24:57.405682+00:00"
},
{
"record_type": "post",
"id": "4036968383686446452",
"code": "DgGMVsvHQ10",
"url": "https://www.threads.com/@natgeo/post/DgGMVsvHQ10",
"username": "natgeo",
"author_id": "63269174602",
"full_name": "National Geographic",
"is_verified": true,
"text": "Pilgrims take part in the Qoyllur Riti, an annual trek partway up a mountain in the Peruvian Andes, to worship the Colque Punku Glacier. In this image from our Pictures of the Year 2026, Nat Geo photographer Angela Ponce photographed some of the tens of thousands of people who hike up Sinakara as part of a ritual that blends Catholicism with the ancestral veneration of an Apu, an Andean mountain spirit.",
"attachment_text": null,
"posted_at": "2026-11-23T20:02:34+00:00",
"likes": 228,
"replies": 7,
"reposts": 3,
"quotes": 1,
"shares": null,
"is_reply": false,
"reply_to_author": null,
"is_pinned": false,
"is_edited": false,
"mentions": [],
"links": [],
"link_title": null,
"quoted_post_url": null,
"image_urls": [
"https://scontent-iad3-1.cdninstagram.com/v/t51.82787-15/921839268_17996527806110603_3634238585471469001_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ig_cache_key=NDAzNjk2ODM4MzY4NjQ0NjQ1Mg%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTA4MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=W_G-ItU-rXoQ7kNvwHY5AEj&_nc_oc=Adp4E55nwXoSZ5YjxnL3rl5BS6kzPi9icYei629Hbu1CabsucUHKXxhAT1iSUExzl1Q&_nc_zt=23&_nc_ht=scontent-iad3-1.cdninstagram.com&_nc_gid=1JErx2EIuQs8HBGkxsarsQ&_nc_ss=79389&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQTO3F_57b8a1gAC1rnvrmaZm0_gFSX5f-zEIuM6IAqdjA&oe=6B0B7028"
],
"video_urls": [],
"scraped_at": "2026-11-24T15:24:57.405682+00:00"
},
{
"record_type": "post",
"id": "4036968363369289905",
"code": "DgGMVZ0Hdix",
"url": "https://www.threads.com/@natgeo/post/DgGMVZ0Hdix",
"username": "natgeo",
"author_id": "63269174602",
"full_name": "National Geographic",
"is_verified": true,
"text": "National Geographic photographers ventured to places far and wide to capture the year’s most fascinating images. Out of millions of photos, just 25 were selected as our Pictures of the Year. See them all: https://on.natgeo.com/BRTHPOYP1123",
"attachment_text": null,
"posted_at": "2026-11-23T20:02:32+00:00",
"likes": 20,
"replies": 2,
"reposts": 0,
"quotes": 0,
"shares": null,
"is_reply": true,
"reply_to_author": "natgeo",
"is_pinned": false,
"is_edited": false,
"mentions": [],
"links": [
"https://on.natgeo.com/BRTHPOYP1123"
],
"link_title": "2026: Pictures of the Year",
"quoted_post_url": null,
"image_urls": [],
"video_urls": [],
"scraped_at": "2026-11-24T15:24:57.405682+00:00"
}
]
curl --location --request POST 'https://zylalabs.com/api/15529/threads+user+posts+history+api/41768/get+threads+user+posts?usernames=natgeo&mode=posts&maxResults=5&postedAfter=2026-01-01&postedBefore=2026-11-24' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Threads 用户帖子历史记录 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
以 JSON 格式获取任何 Meta Threads 账号的公开帖子、回复和转发,包含全文、附加长文本、时间戳、点赞、回复、转发、引用、分享、提及、直接链接和媒体 URL。接受用户名、模式(帖子、回复或转发)、maxResults(每次调用最多 20 条)以及 UTC 日期筛选条件(postedAfter、postedBefore)。仅限公开账号;无需登录。返回包含个人数据(作者用户名、姓名和用户生成内容)的公开社交媒体帖子
每次调用都会返回一个 JSON 数组,其中包含 Meta Threads 上的公开帖子、回复或转发,并提供帖子 ID、短代码、URL、完整文本、附加长文本(attachment_text)、UTC 时间戳、点赞数、回复数、转发数、引用数、分享数、作者 ID、认证状态、提及对象、展开后的目标链接以及图片或视频 URL
不。该 API 仅读取公开可见的 Meta Threads 个人资料和动态,无需登录账号、OAuth 令牌或会话 Cookie
通过将 postedBefore 设置为上一次调用中最早帖子的日期,你可以翻页回到账户发布的第一条公开帖子(Threads 于 2023 年 7 月上线)
是的。将模式设置为帖子(默认)、回复(包括被回复帖子的 reply_to_url 和 reply_to_text),或转发(包括原帖及其 reposted_by 和 reposted_at)
私人账户会被跳过,且绝不会被访问。公开帖子包含用户名、显示名称和用户生成的文本等个人数据,因此适用的隐私法律(如 GDPR 或 CCPA)适用于你存储和使用这些数据的方式】【。
提供用户名以识别公开的 Threads 账号。使用 mode 选择帖子、回复或转发;使用 maxResults 请求最多 20 条记录;使用 postedAfter 或 postedBefore 按 UTC 日期筛选。这些参数可帮助你缩小返回的账号历史记录和内容类型范围。
Mode 参数支持 posts replies 和 reposts 对于账号自己的帖子使用 posts 对于账号发出的回复使用 replies 对于账号转发的内容使用 reposts 如果省略 mode 默认为 posts
响应是一个 JSON 数组,每个返回的记录对应一个对象。每个对象代表一条帖子、回复或转发,并包含 record_type、id、code、url、作者详情、文本、时间戳、互动数量、提及对象和媒体信息等字段。
Id 是 Threads 记录标识符,code 是其短代码,url 是 Threads 直链。username、author_id 和 full_name 用于标识作者;is_verified 表示验证状态。text 包含主要内容,而 attachment_text 在可用时包含额外的长篇文本。
记录可以包含点赞数、回复数、转发数、引用数和分享数,以及以 UTC 时间表示的发布时间。它们还可能包含提及、直接链接或未包装的链接、图片和视频 URL,以及 is_reply、is_pinned 和 is_edited 等标记
提供 postedAfter 和 postedBefore 作为 UTC 日期或时间戳值,以将结果限制在某个时间范围内。使用 postedAfter 获取较新的内容,使用 postedBefore 获取较旧的内容,或同时使用两者指定一个有界时间区间。如果不存在匹配的公开记录,结果可能为空】【。
使用 record_type 和 is_reply 区分内容类型 回复记录可包含 reply_to_author reply_to_url 和 reply_to_text 用于标识对话对象 转发记录可包含 reposted_by 和 reposted_at 以及原帖信息
当 Threads 不提供相关信息时,可选字段可能为 null、缺失或包含空数组。例如,分享数可能为 null,而未附加长文本时,attachment_text 可能为 null。应用应妥善处理缺失的媒体、链接、提及和互动数据