获取探索页推荐帖子/Get explore feed
Instagramapi
About
获取探索页推荐帖子/Get explore feed
Documentation
获取探索页推荐帖子/Get explore feed
[中文]
用途:
- 获取Instagram探索/发现页的推荐帖子
- 返回个性化推荐的帖子列表
- 支持分页获取更多推荐内容
参数:
- max_id: 分页游标,首次请求不传,从上一次响应的
data.next_max_id获取
返回:
data.sectional_items: 推荐内容分区列表layout_content.medias: 媒体列表media.id: 帖子IDmedia.code: 帖子短代码media.media_type: 媒体类型(1=图片, 2=视频, 8=合集)media.like_count: 点赞数media.comment_count: 评论数media.caption.text: 帖子文本media.user: 发布者信息media.image_versions2: 图片版本列表media.video_versions: 视频版本列表(视频时存在)
data.next_max_id: 下一页分页游标(传给下次请求的max_id参数)data.more_available: 是否有更多内容
分页使用方法:
- 首次请求:不传任何参数
- 获取响应中的
data.next_max_id - 下次请求:传入
max_id(使用上次的next_max_id) - 重复步骤 2-3 直到
data.more_available为 false
价格:
- 0.008 USD/请求
[English]
Purpose:
- Get Instagram Explore/Discover page recommended posts
- Returns personalized recommended post list
- Support pagination to fetch more recommendations
Parameters:
- max_id: Pagination cursor, omit for first request, get from previous response
data.next_max_id
Return:
data.sectional_items: Recommended content section listlayout_content.medias: Media listmedia.id: Post IDmedia.code: Post shortcodemedia.media_type: Media type (1=image, 2=video, 8=carousel)media.like_count: Likes countmedia.comment_count: Comments countmedia.caption.text: Post caption textmedia.user: Publisher infomedia.image_versions2: Image version listmedia.video_versions: Video version list (exists for videos)
data.next_max_id: Next page cursor (use as max_id in next request)data.more_available: Whether has more content
Pagination usage:
- First request: No parameters needed
- Get
data.next_max_idfrom response - Next request: Pass
max_id(use next_max_id from previous) - Repeat steps 2-3 until
data.more_availableis false
Price:
- 0.008 USD/request
示例/Example
# 第一页 / First page (不传参数 / no parameters)
# 第二页 / Second page
# max_id = "..." # 从第一页响应中获取 / Get from first page response
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 获取探索页推荐帖子/Get explore feed
Test this model in the Sandbase Playground with your own prompts.
Open in PlaygroundRelated Models
批量翻译评论/Bulk translate commentsInstagramapi获取评论的子评论/回复/Get comment repliesInstagramapi从URL提取短码/Extract shortcode from URLInstagramapi综合搜索(支持分页)/General search (with pagination)Instagramapi获取话题标签帖子列表/Get hashtag postsInstagramapi获取Highlight精选详情/Get highlight storiesInstagramapi获取地点详情/Get location infoInstagramapi获取地点附近内容/Get nearby location contentInstagramapi