获取用户帖子列表/Get user posts
Instagramapi
About
获取用户帖子列表/Get user posts
Documentation
获取用户帖子列表/Get user posts
[中文]
用途:
- 分页获取用户发布的帖子列表,支持向前/向后翻页
参数:
- username: 用户名字符串(如
99brasil),不是数字 user_id - first: 向后翻页时每页数量(默认12,最大50)
- after: 向后翻页游标,从上一次响应的
page_info.end_cursor中获取 - before: 向前翻页游标,从上一次响应的
page_info.start_cursor中获取 - last: 向前翻页时每页数量,配合
before使用 - count: 首次请求数量(默认12)
翻页说明:
- 向后翻页: 使用
first+after组合 - 向前翻页: 使用
last+before组合 - 首次请求不传
after/before,从响应中获取游标
返回:
data.edges: 帖子列表data.page_info: 分页信息has_next_page: 是否有下一页end_cursor: 下一页游标start_cursor: 上一页游标
价格:
- 0.008 USD/请求
[English]
Purpose:
- Get user's post list with forward/backward pagination
Parameters:
- username: Username string (e.g.
99brasil), NOT numeric user_id - first: Posts per page for forward pagination (default 12, max 50)
- after: Forward pagination cursor, from previous response
page_info.end_cursor - before: Backward pagination cursor, from previous response
page_info.start_cursor - last: Posts per page for backward pagination, use with
before - count: Number of posts for first request (default 12)
Pagination:
- Forward: Use
first+after - Backward: Use
last+before
Price:
- 0.008 USD/request
示例/Example
# 第一页 / First page
GET /get_user_posts?username=99brasil&first=12
# 第二页 / Second page (forward)
GET /get_user_posts?username=99brasil&first=12&after=QVFCcmN1YlF...
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 获取用户帖子列表/Get user posts
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