获取帖子详情(code)/Get post info by shortcode
Instagramapi
About
获取帖子详情(code)/Get post info by shortcode
Documentation
获取帖子详情(code)/Get post info by shortcode
[中文]
用途:
- 通过帖子的短代码(code/shortcode)获取帖子详情
- 短代码即帖子URL中的标识符,如
https://www.instagram.com/p/DUajw4YkorV/中的DUajw4YkorV - 返回帖子的完整信息
参数:
- code: 帖子短代码(如 DUajw4YkorV,必填)
返回:
data.items: 帖子信息列表id: 帖子IDcode: 帖子短代码media_type: 媒体类型(1=图片, 2=视频, 8=合集)like_count: 点赞数comment_count: 评论数caption.text: 帖子文本user: 发布者信息image_versions2: 图片版本列表video_versions: 视频版本列表(视频时存在)carousel_media: 合集媒体列表(合集时存在)taken_at: 发布时间戳
价格:
- 0.008 USD/请求
[English]
Purpose:
- Get post details by shortcode
- Shortcode is the identifier in the post URL, e.g.,
DUajw4YkorVfromhttps://www.instagram.com/p/DUajw4YkorV/ - Returns complete post info
Parameters:
- code: Post shortcode (e.g., DUajw4YkorV, required)
Return:
data.items: Post info listid: Post IDcode: Post shortcodemedia_type: Media type (1=image, 2=video, 8=carousel)like_count: Likes countcomment_count: Comments countcaption.text: Post caption textuser: Publisher infoimage_versions2: Image version listvideo_versions: Video version list (exists for videos)carousel_media: Carousel media list (exists for carousels)taken_at: Published timestamp
Price:
- 0.008 USD/request
示例/Example
code = "DUajw4YkorV"
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 获取帖子详情(code)/Get post info by shortcode
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