获取 Instagram 话题标签帖子

查看 Instagram 公开资料与内容数据 API 的全部接口 →

采集带某话题标签的公开帖子。keyword 传不带 '#' 的标签文本,如 travel。feed_type 可选 top(默认)、recent 或 reels;recent 与 reels 流用 pagination_token 翻页,top 流用上一次响应的 next_page 值翻页。实测响应返回 data.count 与标准帖子结构的 data.items[]——id、code、taken_at、带话题的 caption、作者 user 对象、media_type、like_count 与 comment_count——以及顶层续页令牌。以 travel 且 feed_type=recent 调用返回了 24 条近期帖子,文案均含 #travel。按媒体 id 去重,因为相邻采集窗口会重叠。

API 功能

三种信息流 feed_type 在热门排行、最新发布与纯 Reels 视图间切换。
按模式翻页 recent 与 reels 用 pagination_token,top 流用 next_page。
标准帖子记录 条目含 shortcode、文案、作者身份、媒体类型与互动计数。
裸关键词输入 传不带 '#' 的标签文本,如 travel。

在线 API 演示

GET /api/project/instagram/hashtag-posts

API 响应 (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/instagram/hashtag-posts?key=<API_KEY>&keyword=travel'
📢
需要帮助?
如遇接口异常,或需要其他接口需求,可联系我们
联系我们

使用场景

相关接口

相关指南

查看订阅方案 →