instagram/
hashtag-posts
tiktok / profilesTikTok Profiles APItiktok / videosTikTok Videos APItiktok / video-transcriptTikTok Video Transcript APItiktok / commentsTikTok Comments APItiktok / comment-repliesTikTok Comment Replies APItiktok / searchTikTok Search APItiktok / hashtagsTikTok Hashtags APItiktok / trending-feedTikTok Trending Feed APItiktok / followers-listTikTok Followers List APItiktok / following-listTikTok Following List APItiktok / user-videosTikTok User Videos APItiktok / live-room-infoTikTok Live Room Info APItiktok / search-usersTikTok Search Users APItiktok / songTikTok Song APItiktok / song-videosTikTok Song Videos APIx / profilesTwitter Profile Scraper APIx / followers-listX Followers List APIx / postsTwitter Tweet Scraper APIx / post-retweetersX Post Retweeters APIx / user-postsTwitter User Tweets Scraper APIx / searchTwitter Search APIx / following-listX Following List APIx / post-quotesX Post Quotes APIx / post-repliesX Post Replies APIx / trendsX Trends APIx / mentionsTwitter Mentions APIx / search-usersTwitter User Search APIinstagram / postsInstagram Posts APIinstagram / post-infoInstagram Post Info APIinstagram / hashtag-postsInstagram Hashtag Posts APIinstagram / reels-searchInstagram Reels Search APIinstagram / story-highlightsInstagram Story Highlights APIinstagram / tagged-postsInstagram Tagged Posts APIinstagram / transcriptInstagram Transcript APIinstagram / audio-reelsInstagram Audio Reels APIinstagram / commentsInstagram Comments APIfacebook / pagesFacebook Pages APIfacebook / postsFacebook Posts APIfacebook / group-postsFacebook Group Posts APIfacebook / reelsFacebook Reels APIfacebook / commentsFacebook Comments APIfacebook / comment-repliesFacebook Comment Replies APIfacebook / company-reviewsFacebook Company Reviews APIfacebook / video-transcriptFacebook Video Transcript APIfacebook / ad-transcriptFacebook Ad Transcript APIfacebook / events-searchFacebook Events Search APIfacebook / event-detailsFacebook Event Details APIfacebook / profile-eventsFacebook Profile Events APIfacebook / profile-photosFacebook Profile Photos APIfacebook / profilesFacebook Profiles APIinstagram / followers-countInstagram Followers Count APIinstagram / profilesInstagram Profiles APIinstagram / followers-listInstagram Followers List APIinstagram / following-listInstagram Following List APIinstagram / reelsInstagram Reels APIinstagram / searchInstagram Search APIinstagram / highlight-itemsInstagram Highlight Items APIinstagram / trending-reelsInstagram Trending Reels APIyoutube / channelsYouTube Channels APIyoutube / videosYouTube Videos APIyoutube / channel-videosYouTube Channel Videos APIyoutube / playlist-videosYouTube Playlist Videos APIyoutube / channel-live-videosYouTube Channel Live Videos APIyoutube / commentsYouTube Comments APIyoutube / comment-repliesYouTube Comment Replies APIyoutube / community-postsYouTube Community Posts APIyoutube / shortsYouTube Shorts APIyoutube / searchYouTube Search APIyoutube / hashtag-searchYouTube Hashtag Search APIyoutube / transcriptsYouTube Transcripts APIlinkedin / profilesLinkedIn Profiles APIlinkedin / companiesLinkedIn Companies APIlinkedin / postsLinkedIn Posts APIlinkedin / jobsLinkedIn Jobs APIlinkedin / company-jobsLinkedIn Company Jobs APIlinkedin / company-postsLinkedIn Company Posts APIlinkedin / post-commentsLinkedIn Post Comments APIlinkedin / profile-postsLinkedIn Profile Posts APIlinkedin / search-jobsLinkedIn Search Jobs APIlinkedin / search-peopleLinkedIn Search People APIlinkedin / search-postsLinkedIn Search Posts APIreddit / postsReddit Posts APIreddit / commentsReddit Comments APIreddit / subreddit-postsReddit Subreddit Posts APIreddit / searchReddit Search APIreddit / subreddit-detailsReddit Subreddit Details APIreddit / subreddit-searchReddit Subreddit Search APIpinterest / profilesPinterest Profiles APIpinterest / pinsPinterest Pins APIpinterest / user-pinsPinterest User Pins APIpinterest / searchPinterest Search APIthreads / postsThreads Posts APIthreads / profilesThreads Profiles APIthreads / user-postsThreads User Posts APIbluesky / profileBluesky Profile APIbluesky / postBluesky Post APIbluesky / user-postsBluesky User Posts APIfacebook-marketplace / location-searchFacebook Marketplace Location Search APIfacebook-marketplace / searchFacebook Marketplace Search APIfacebook-marketplace / itemFacebook Marketplace Item APIfacebook-ad-library / adFacebook Ad Library Ad APIfacebook-ad-library / company-adsFacebook Ad Library Company Ads APIfacebook-ad-library / company-searchFacebook Ad Library Company Search APIfacebook-ad-library / searchFacebook Ad Library Search APIgoogle-ad-library / adGoogle Ad Library Ad APIgoogle-ad-library / advertiser-searchGoogle Ad Library Advertiser Search APIgoogle-ad-library / company-adsGoogle Ad Library Company Ads APIgoogle-maps / searchGoogle Maps Search APIgoogle-maps / place-detailsGoogle Maps Place Details APIgoogle-maps / reviewsGoogle Maps Reviews APItiktok-ad-library / adTikTok Ad Library Ad APItiktok-ad-library / searchTikTok Ad Library Search APIlinkedin-ad-library / adLinkedIn Ad Library Ad APIlinkedin-ad-library / searchLinkedIn Ad Library Search APItiktok-shop / searchTikTok Shop Search APItiktok-shop / productsTikTok Shop Products APItiktok-shop / productTikTok Shop Product APItiktok-shop / product-reviewsTikTok Shop Product Reviews APIseo / google-organic-serpGoogle Organic SERP APIseo / keyword-difficultyKeyword Difficulty APIseo / keyword-overviewKeyword Overview APIseo / keyword-search-volumeKeyword Search Volume APIseo / keywords-for-siteKeywords for Site APIseo / keyword-suggestionsKeyword Suggestions APIseo / ranked-keywordsRanked Keywords APIseo / related-keywordsRelated Keywords APIseo / relevant-pagesRelevant Pages APIseo / search-intentSearch Intent APItiktok-shop / user-showcaseTikTok Shop User Showcase APIsnapchat / profileSnapchat Profile APIsnapchat / spotlightSnapchat Spotlight APIsnapchat / spotlight-commentsSnapchat Spotlight Comments APItwitch / profileTwitch Profile APItwitch / user-videosTwitch User Videos APIkwai / profileKwai Profile APIkwai / user-postsKwai User Posts APIkwai / postKwai Post APIamazon / best-sellersAmazon Best Sellers APIamazon / product-detailAmazon Product Details APIamazon / product-searchAmazon Product Search APIamazon / reviewsAmazon Reviews APIamazon / seller-infoAmazon Seller Info APIgoogle-play / app-detailGoogle Play App Detail APIgoogle-play / app-rankingsGoogle Play App Rankings APIgoogle-play / app-reviewsGoogle Play App Reviews APIapple-app-store / app-detailApple App Store App Detail APIapple-app-store / app-reviewsApple App Store App Reviews APIapple-app-store / rankingsApple App Store Rankings APItruth-social / profileTruth Social Profile APItruth-social / user-postsTruth Social User Posts APItruth-social / postTruth Social Post APIdouyin / live-room-detailDouyin Live Room Detail APIdouyin / user-profileDouyin User Profile APIdouyin / user-videosDouyin User Videos APIdouyin / video-commentsDouyin Video Comments APIdouyin / video-detailDouyin Video Detail APIdouyin / video-searchDouyin Video Search APIrednote / comment-repliesRednote Comment Replies APIrednote / home-recommendationsRednote Home Recommendations APIrednote / note-commentsRednote Note Comments APIrednote / note-detailRednote Note Detail APIrednote / search-notesRednote Search Notes APIrednote / search-usersRednote Search Users APIrednote / user-notesRednote User Notes APIrednote / user-profileRednote User Profile API

按一个或多个 hashtag 采集公开 Instagram 帖子,返回作者信息、caption、媒体、来源 hashtag、发布时间和可见互动指标。

Instagram Hashtag Posts API

Hashtag 发现
帖子记录
时间与媒体筛选
每条结果 0.5 积分
等待提交
等待提交

填写参数并发送请求,任务状态和标准化结果会显示在这里。

README

Instagram Hashtag Posts

Instagram Hashtag Posts 是与搜索标签相关联的公开图片或 Reels,包含 caption、创作者身份、媒体、发布时间和可见互动。这些内容与来源信号可用于主题发现、跨标签对比、创作者研究和限定时间范围的监测。

主要特性

  • 多 Hashtag 采集一次提交一个或多个带或不带 # 的 hashtag,results_limit 分别作用于每个提交的 hashtag。
  • 时间与媒体筛选可限定最近一小时、一天、一周、一个月或一年,并选择全部帖子或只返回 Reels。
  • 标准化帖子记录通过统一结构返回帖子 ID、shortcode、标准 URL、caption、作者信息、媒体引用、hashtag、mention 和时间。
  • 来源与互动上下文每条记录保留产生该结果的提交 hashtag,以及可用的点赞、评论、观看和播放计数。

参数

参数必填描述
hashtags必填一个或多个非空 hashtag,可带或不带 #,多个值使用逗号或换行分隔。
results_limit可选每个 hashtag 请求的最大记录数;默认为 100,接受 10 到 2,000 的整数。
published_within可选可选发布时间范围:hour、day、week、month 或 year。
media_type可选内容类型筛选;all 包含受支持的帖子类型,reels 只返回 Reels。

如何使用

把 hashtag 作为异步任务提交,轮询 task ID,完成后再用 cursor 分页读取标准化帖子记录。

  1. 准备一个或多个不重复的 hashtag,可带或不带开头的 #。
  2. 向 /v1/instagram/hashtag-posts POST hashtags,以及可选的 results_limit、published_within 和 media_type。
  3. 轮询 /v1/tasks/{task_id},直到状态变为 succeeded 或 failed。
  4. 通过 /v1/tasks/{task_id}?limit=50 读取 results.items,在 results.has_more 为 true 时继续传 results.next_cursor。
curl -X POST "https://api.socq.ai/v1/instagram/hashtag-posts" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hashtags":["travel","photography"],"results_limit":20,"published_within":"week","media_type":"all"}'

# 轮询 GET /v1/tasks/{task_id}
# 读取 data.results.items,并在 has_more 为 true 时继续传 next_cursor

最佳使用场景

  • 主题内容发现 围绕活动、事件、社区或行业 hashtag 构建可审核的公开帖子数据集。
  • 跨 Hashtag 对比 在保留每条记录来源 hashtag 的同时,对比不同标签下的可见互动和内容模式。
  • 近期 Reels 监测 组合发布时间范围和 Reels 筛选,查看选定 hashtag 下近期出现的短视频内容。
  • 创作者与内容补全 把帖子身份、作者上下文、caption、媒体和可见指标合并到研究、活动或审核记录中。

使用建议

  • 先对输入 hashtag 去重,并为同一主题统一拼写;采集器会分别处理每个提交值。
  • 按 hashtag 规划数据量,因为 results_limit 作用于每个 hashtag,而不是整次请求。
  • 固定周期监测需要一致的时间范围和内容类型时,同时设置 published_within 与 media_type。
  • 用稳定帖子 ID、shortcode 或标准 URL 合并重叠结果,同时保留 extra.hashtag 追溯来源。
  • 把媒体、计数、发布时间等公开字段按可选值处理,因为不同帖子暴露的字段可能不同。

需要其他类型的 Instagram 公开数据时,可以使用以下 API。

  • Instagram Followers Count API获取公开账号身份以及可见粉丝数、关注数和帖子数。
  • Instagram Posts API按 username 采集公开帖子、媒体、标签、提及、时间和互动指标。
  • Instagram Reels API按 username 采集公开 Reels、媒体、音频、标签、提及和互动指标。
  • Instagram Search API按关键词或账号名称搜索公开主页及可见账号信息。
  • Instagram Comments API从帖子 URL 采集公开评论、作者、时间、点赞数和回复数。
  • Instagram Profiles API按 username 获取公开主页身份、简介、链接、账号标记、分类和可见计数。
  • Instagram Followers List API采集公开粉丝资料记录,并保留来源账号和关注关系上下文。
  • Instagram Following List API采集 Instagram 账号公开可见的关注主页,返回身份、关注关系上下文和可见账号计数。
  • Instagram Tagged Posts API按 username 采集标记指定主页的公开帖子,返回作者、媒体、提及、被标记用户上下文和互动指标。
  • Instagram Transcript API从公开 Post 或 Reel URL 提取字幕文本、语言、格式、来源 URL 和 shortcode。
  • Instagram Audio Reels API按已知数字 audio ID 采集公开 Reels,返回说明文字、创作者、媒体、时间、可见互动和来源音频上下文。
  • Instagram Highlight Items API通过已知 highlight ID 获取保存的公开 Story 内容,返回文本、作者身份、媒体、时间、可见指标和来源上下文。
  • Instagram Post Info API通过已知公开帖子、Reel 或旧版 IGTV URL 查询说明文字、作者身份、媒体、时间、可见互动和输入上下文。
  • Instagram Reels Search API按文本 query 搜索公开 Reels,返回说明文字、创作者、媒体、时间、可见互动指标和查询上下文。
  • Instagram Story Highlights API按 username 列出公开快拍精选容器,返回标题、所属账号、媒体数量和可复用的 highlight ID。
  • Instagram Trending Reels API采集趋势信息流当前展示的公开 Reel,返回说明文字、创作者、媒体、时间和可见互动指标。

探索其他平台

还可以将 Instagram 数据与其他已支持社交平台的公开数据结合使用。

Instagram Hashtag Posts API常见问题