获取用户Reels列表/Get user reels
Instagramapi
About
获取用户Reels列表/Get user reels
Documentation
获取用户Reels列表/Get user reels
[中文]
用途:
- 获取Instagram用户的Reels列表
- 支持分页获取用户发布的所有Reels
参数:
- username: Instagram用户名(必填)
- first: 向后翻页时每页数量(默认12,最大50)
- after: 向后翻页游标,从上一次响应的
data.page_info.end_cursor获取 - before: 向前翻页游标,从上一次响应的
data.page_info.start_cursor获取 - last: 向前翻页时每页数量,配合
before使用 - page_size: 每页视频数量(默认12)
返回:
data.edges: Reels列表node.media: Reels媒体信息code: 帖子短代码pk: 帖子IDlike_count: 点赞数comment_count: 评论数play_count: 播放数caption.text: 描述文本user: 发布者信息video_versions: 视频版本列表image_versions2: 封面图版本列表
data.page_info: 分页信息has_next_page: 是否有下一页end_cursor: 下一页游标(传给下次请求的after参数)
分页使用方法:
- 首次请求:只传
username和first参数 - 获取响应中的
data.page_info.end_cursor - 下次请求:传入
username、first和after(使用上次的end_cursor) - 重复步骤 2-3 直到
data.page_info.has_next_page为 false
价格:
- 0.008 USD/请求
[English]
Purpose:
- Get Instagram user's Reels list
- Support pagination to fetch all user's Reels
Parameters:
- username: Instagram username (required)
- first: Reels per page for forward pagination (default 12, max 50)
- after: Forward pagination cursor, from previous response
data.page_info.end_cursor - before: Backward pagination cursor, from previous response
data.page_info.start_cursor - last: Reels per page for backward pagination, use with
before - page_size: Videos per page (default 12)
Return:
data.edges: Reels listnode.media: Reels media infocode: Post shortcodepk: Post IDlike_count: Likes countcomment_count: Comments countplay_count: Play countcaption.text: Description textuser: Publisher infovideo_versions: Video version listimage_versions2: Cover image version list
data.page_info: Pagination infohas_next_page: Whether has next pageend_cursor: Next page cursor (use as after parameter in next request)
Pagination usage:
- First request: Only pass
usernameandfirstparameters - Get
data.page_info.end_cursorfrom response - Next request: Pass
username,first, andafter(use end_cursor from previous) - Repeat steps 2-3 until
data.page_info.has_next_pageis false
Price:
- 0.008 USD/request
示例/Example
username = "instagram" first = 12
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 获取用户Reels列表/Get user reels
Test this model in the Sandbase Playground with your own prompts.
Open in PlaygroundRelated Models
批量翻译评论/Bulk translate commentsInstagramapi获取评论的子评论/回复/Get comment repliesInstagramapi获取探索页推荐帖子/Get explore feedInstagramapi从URL提取短码/Extract shortcode from URLInstagramapi综合搜索(支持分页)/General search (with pagination)Instagramapi获取话题标签帖子列表/Get hashtag postsInstagramapi获取Highlight精选详情/Get highlight storiesInstagramapi获取地点详情/Get location infoInstagramapi