Instagram 话题标签热门帖子 API
Instagram 自己为某个话题标签排出的热门帖子,读取自其实时话题标签动态,而不是网页搜索索引,附带播放数、点赞数和评论数。以 Reels 为主、按互动排名,所以它回答的是某个标签此刻什么内容表现好。要较早的、按相关性排名并支持日期和媒体类型筛选的结果,请用 instagram.search_hashtag;要按时间顺序的动态,请用 instagram.hashtag_recent_posts。
US$1.88/千次请求,按请求付费,无需订阅。
#skincare
Follow
{"id": "3481029384756211903","shortcode": "C8mN4tXo7qP","url": "https://www.instagram.com/p/C8mN4tXo7qP/","caption": "The five step routine that finally cleared my skin, saved you a trip to the dermatologist #skincare #skincareroutine #glowup","username": "glow.by.nadia","avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/nadia-coelho-profile.jpg","verified": false,"views": 4820000,... 还有 19 个字段}
价格与服务商
Instagram 话题标签热门帖子 API 价格:一个 API,2 个可互换的服务商
最便宜的服务商优先响应。如果它失败,下一个会在同一次调用中接手。
试一试
一个请求获取 Instagram 话题标签热门帖子
这个示例展示了 41 个字段中的 20 个。查看全部字段
{
"found": true,
"data": {
"nextCursor": "QVFDMWJhc3NpY0dGellYSjBhbTF2",
"posts": [
{
"id": "3481029384756211903",
"shortcode": "C8mN4tXo7qP",
"url": "https://www.instagram.com/p/C8mN4tXo7qP/",
"caption": "The five step routine that finally cleared my skin, saved you a trip to the dermatologist #skincare #skincareroutine #glowup",
"username": "glow.by.nadia",
"avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/nadia-coelho-profile.jpg",
"verified": false,
"views": 4820000,
"likes": 318400,
"comments": 6215,
"createdUtc": 1725580800,
"durationSeconds": 42.5,
"media": [
{
"type": "video",
"url": "https://scontent.cdninstagram.com/v/t51.2885-15/skincare-routine-cover.jpg",
"videoUrl": "https://scontent.cdninstagram.com/v/t50.16885-16/skincare-routine.mp4"
}
]
},
{
"id": "3481029384756212014",
"shortcode": "C8mOaB1s9zR",
"url": "https://www.instagram.com/p/C8mOaB1s9zR/",
"caption": "Ingredient breakdown: niacinamide vs vitamin C, which one goes first #skincaretips",
"username": "derma.notes",
"avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/derma-notes-profile.jpg",
"verified": true,
"likes": 94100,
"comments": 1802,
"createdUtc": 1725494400,
"media": [
{
"type": "photo",
"url": "https://scontent.cdninstagram.com/v/t51.29350-15/ingredient-chart-cover.jpg"
}
]
},
{
"id": "3481029384756212167",
"shortcode": "C8mPQd7oXyT",
"url": "https://www.instagram.com/p/C8mPQd7oXyT/",
"caption": "Sunscreen is not optional, reapply every two hours if you are outside #spf #skincare",
"username": "sunscreen.diaries",
"avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/sunscreen-diaries-profile.jpg",
"verified": false,
"views": 1230000,
"likes": 72300,
"comments": 941,
"createdUtc": 1725408000,
"durationSeconds": 18,
"media": [
{
"type": "video",
"url": "https://scontent.cdninstagram.com/v/t51.2885-15/spf-reminder-cover.jpg",
"videoUrl": "https://scontent.cdninstagram.com/v/t50.16885-16/spf-reminder.mp4"
}
]
}
]
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- hashtagstring
skincare
要获取的话题标签,不带开头的 #。
- cursorstring
上一次响应的 nextCursor 返回的分页游标。
- requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `soundTitle`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
响应
JSON,每个字段一个示例值。
- nextCursorstring
QVFDMWJhc3NpY0dGellYSjBhbTF2
Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.
Top-ranked posts for the hashtag, ordered by Instagram's engagement model rather than by time. Populated whenever the provider has data for the entity.
- audioIdstring
Instagram audio id of the sound; pass it to instagram.audio_reels as audioId to list reels that use it. Null when the post has no sound or this source does not report it.
- avatarUrlstring
https://scontent.cdninstagram.com/v/t51.2885-19/nadia-coelho-profile.jpg
Profile picture URL of the posting account. Populated whenever the provider has data for the entity.
- captionstring
The five step routine that finally cleared my skin, saved you a trip to the dermatologist #skincare #skincareroutine #glowup
Post caption text, including its hashtags. Populated whenever the provider has data for the entity.
- commentsinteger
6215
Comment count.
- createdUtcnumber
1725580800
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- durationSecondsnumber
42.5
Video duration in seconds. Absent on photo posts.
- hashtagsstring[]
Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.
- idstring
3481029384756211903
Instagram media id. Populated whenever the provider has data for the entity.
- likesinteger
318400
Like count. Absent when the account hides it.
- locationIdstring可设为必填
Instagram location id the post is tagged at. Null when the post is not tagged at a location or this source does not report it.
- locationLatnumber可设为必填
Latitude of the tagged location, in decimal degrees. Null when the post is not tagged at a location or this source does not report it.
- locationLngnumber可设为必填
Longitude of the tagged location, in decimal degrees. Null when the post is not tagged at a location or this source does not report it.
- locationNamestring可设为必填
Name of the location the post is tagged at. Null when the post is not tagged at a location or this source does not report it.
- mentionsstring[]
Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.
- paidPartnershipboolean可设为必填
Whether the post is tagged as a paid partnership. Null when this source does not report it.
- productTypestring可设为必填
Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when this source does not report it.
- resharesinteger可设为必填
Number of times the post has been reshared, when Instagram reports it. Null when this source does not report it.
- shortcodestring
C8mN4tXo7qP
Short code in the post permalink. Populated whenever the provider has data for the entity.
- soundAuthorstring可设为必填
Credited artist of a licensed track, or the username of the account whose original audio it is. Null when the post has no sound or this source does not report it.
- soundTitlestring可设为必填
Name of the sound. "Original audio" means the creator's own audio rather than a licensed track. Null when the post has no sound or this source does not report it.
- urlstring
https://www.instagram.com/p/C8mN4tXo7qP/
Canonical permalink to the post. Populated whenever the provider has data for the entity.
- usernamestring
glow.by.nadia
Username of the account that posted. Populated whenever the provider has data for the entity.
- verifiedboolean
false
True when the posting account is verified.
- viewsinteger
4820000
Play count. Present on video posts.
Accounts listed as coauthors of the post. Null when this source does not report it.
- avatarUrlstring
Coauthor's profile picture URL, as Instagram's CDN serves it.
- userIdstring
Instagram's numeric account id, as a string.
- usernamestring
Instagram username without the leading @.
Photo and video attachments on the post.
- typestring
video
One of photo or video.
- urlstring
https://scontent.cdninstagram.com/v/t51.2885-15/skincare-routine-cover.jpg
Image URL. For a video this is the cover frame.
- videoUrlstring
https://scontent.cdninstagram.com/v/t50.16885-16/skincare-routine.mp4
Playable video file URL. Present only for video items.
Accounts tagged in the media. Null when this source does not report it.
- displayNamestring
Account display name.
- userIdstring
Instagram's numeric account id, as a string.
- usernamestring
Instagram username without the leading @.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
常见问题
关于 Instagram 话题标签热门帖子 API
AnyAPI 的 Instagram 话题标签热门帖子 API 只需一次 POST 请求 /v1/run/instagram.hashtag_top_posts,就以统一格式的 JSON 返回 Instagram 数据。Instagram 自己为某个话题标签排出的热门帖子,读取自其实时话题标签动态,而不是网页搜索索引,附带播放数、点赞数和评论数。以 Reels 为主、按互动排名,所以它回答的是某个标签此刻什么内容表现好。要较早的、按相关性排名并支持日期和媒体类型筛选的结果,请用 instagram.search_hashtag;要按时间顺序的动态,请用 instagram.hashtag_recent_posts。AnyAPI 会在 2 个数据源之间路由每个请求,某个数据源失败时自动切换。费用:每千次请求 US$1.88 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Instagram 话题标签热门帖子 API 调用中有 99.9% 成功,响应时间中位数为 5.2 秒,共测量 205,692 次调用。