获取地点相关帖子/Get location posts
Instagramapi
About
获取地点相关帖子/Get location posts
Documentation
获取地点相关帖子/Get location posts
[中文]
用途:
- 获取Instagram地点相关的帖子列表
- 支持按热门或最新排序
- 地点ID可从搜索接口(search_places)或帖子详情中获取
参数:
- location_id: 地点ID(数字)
- tab: 帖子排序方式
ranked: 热门帖子(默认)recent: 最新帖子
- first: 翻页时每页数量(默认12,最大50)
- after: 翻页游标,从上一次响应的
page_info.end_cursor获取 - page_size_override: 每页帖子数量(默认12)
返回:
data.sections: 帖子分区列表layout_content.medias: 媒体列表media.id: 帖子IDmedia.code: 帖子短代码media.media_type: 媒体类型(1=图片, 2=视频, 8=合集)media.like_count: 点赞数media.comment_count: 评论数media.caption.text: 帖子文本media.user: 发布者信息
data.next_max_id: 下一页分页游标data.next_page: 下一页信息data.more_available: 是否有更多内容
价格:
- 0.008 USD/请求
[English]
Purpose:
- Get Instagram location-related posts
- Support sorting by top or latest
- Location ID can be obtained from search API (search_places) or post details
Parameters:
- location_id: Location ID (numeric)
- tab: Post sort order
ranked: Top posts (default)recent: Latest posts
- first: Posts per page (default 12, max 50)
- after: Pagination cursor from previous response
page_info.end_cursor - page_size_override: Posts per page (default 12)
Return:
data.sections: Post 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 info
data.next_max_id: Next page cursordata.next_page: Next page infodata.more_available: Whether has more content
Price:
- 0.008 USD/request
示例/Example
location_id = "1016248898" tab = "ranked"
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 获取地点相关帖子/Get location 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