hashtag_idstringbắt buộc
AKA hashtag id, can be obtained from the share link.
https://api.sandbase.ai/v1/api/pipixia/app/hashtag-post-listReturns a list of posts associated with a specific hashtag on Pipixia. Filter by hashtag identifier, sort options, and paginate through results.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns a page of posts filed under one Pipixia hashtag. Each entry holds the post content, its author, and details about the hashtag. The only required input is hashtag_id.
129559 to review what users share on that topic.enter_num and followers_num for a hashtag to see how many people visit it and how many follow it.author object.curl -X POST "https://api.sandbase.ai/v1/api/pipixia/app/hashtag-post-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"hashtag_id": "129559"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
hashtag_id | string | Yes | AKA hashtag id, can be obtained from the share link. |
cursor | string | No | Page cursor, default is 0, get the corresponding value from the loadmore_cursor Key in the previous page. |
feed_count | string | No | Page count, default is 0, add 1 for each page, such as 0 for the first page, 1 for the second page, 2 for the third page, and so on. |
hashtag_request_type | string | No | Hashtag request type |
hashtag_sort_type | string | No | Hashtag sort type |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"cursor": {
"feed_len": 0,
"has_more": true,
"loadmore_cursor": 1398012000,
"refresh_cursor": 0
},
"data": [
{
"cell_id": 7685342951509072138,
"cell_id_str": "7685342951509072138",
"cell_type": 1,
"city_name": "湖北",
"comment_show_ad": true,
"dislike_options": [
{
"dislike_desc": "不感兴趣",
"dislike_type": 1,
"icon_image": {
"download_list": [
{
"url": "https://p3-ppx-sign.byteimg.com/tos-cn-i-0000/8e60799021a94ccfbdf49e44225f94e6~t…"
}
],
"height": 69,
"is_gif": false,
"uri": "tos-cn-i-0000/8e60799021a94ccfbdf49e44225f94e6",
"url_list": [
{
"url": "https://p9-ppx-sign.byteimg.com/tos-cn-i-0000/8e60799021a94ccfbdf49e44225f94e6~t…"
}
],
"width": 69
},
"option_id": 0
}
],
"display_time": 1789383346,
"hashtag": {
"base_hashtag": {
"action_end_time": 1591632000,
"action_start_time": 1591027200,
"activity_icon": {
"color": "FFFF6880",
"icon_image": {
"download_list": [
{
"url": "https://p6-ppx-sign.byteimg.com/tos-cn-i-8gu37r9deh/428d745dce031ce630f5db129c6b…"
}
],
"height": 48,
"is_gif": false,
"uri": "tos-cn-i-8gu37r9deh/428d745dce031ce630f5db129c6bee23.png",
"url_list": [
{
"url": "https://p3-ppx-sign.byteimg.com/tos-cn-i-8gu37r9deh/428d745dce031ce630f5db129c6b…"
}
],
"width": 48
},
"name": "追剧不能停"
},
"atmosphere": "皮友正在讨论",
"avatars": [
{
"download_list": [
{
"url": "https://p6-ppx-sign.byteimg.com/tos-cn-i-0000/a4de3fd9420c4fe89c7b0877fe108d93~t…"
}
],
"height": 200,
"is_gif": false,
"uri": "tos-cn-i-0000/a4de3fd9420c4fe89c7b0877fe108d93",
"url_list": [
{
"url": "https://p3-ppx-sign.byteimg.com/tos-cn-i-0000/a4de3fd9420c4fe89c7b0877fe108d93~t…"
}
],
"width": 200
}
],
"background_image": {
"download_list": [
{
"url": "https://p3-ppx-sign.byteimg.com/tos-cn-i-0000/d66884d83ca342b2a1963256f4491dc8~t…"
}
],
"height": 340,
"is_gif": false,
"uri": "tos-cn-i-0000/d66884d83ca342b2a1963256f4491dc8",
"url_list": [
{
"url": "https://p6-ppx-sign.byteimg.com/tos-cn-i-0000/d66884d83ca342b2a1963256f4491dc8~t…"
}
],
"width": 750
},
"category_list": [
{
"display_order": 1,
"id": 58,
"name": "影视娱乐"
}
],
"create_time": 1531921918
},
"enter_num": 21014839,
"followers_num": 227536,
"host_user_ids": [
1759652656449688
],
"id_str": "129559",
"is_follow": false,
"is_host": false,
"master_host_uids": [
1759652656449688
]
},
"item": {
"aha_image": [
{
"download_list": [
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/847cb942875b4042a3b125f507d17ece~tp…"
}
],
"height": 200,
"is_gif": false,
"uri": "tos-cn-i-0000/847cb942875b4042a3b125f507d17ece",
"url_list": [
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/847cb942875b4042a3b125f507d17ece~c5…"
}
],
"width": 200
}
],
"ancestor_id": "7685342951509072138",
"author": {
"age": "36岁",
"author_info": {
"AuthorStatus": 1,
"author_item_type": 1,
"author_type": 104007473,
"level": 0,
"origin_status": 0,
"owner": "script",
"recommend_tag": "",
"tags": []
},
"avatar": {
"download_list": [
{
"url": "https://p6-ppx-sign.byteimg.com/tos-cn-i-8gu37r9deh/ba804bc702db4d568d93d2ef2a8f…"
}
],
"height": 200,
"is_gif": false,
"uri": "tos-cn-i-8gu37r9deh/ba804bc702db4d568d93d2ef2a8f3c51",
"url_list": [
{
"url": "https://p9-ppx-sign.byteimg.com/tos-cn-i-8gu37r9deh/ba804bc702db4d568d93d2ef2a8f…"
}
],
"width": 200
},
"description": "那就这样皮一下吧!",
"followers_count": 11363,
"followings_count": 7,
"gender": 0,
"god_comment_count": 0
},
"author_tags": "36岁·白羊座",
"can_download": true,
"cell_ui_ctrl": {
"show_author_tags": false
},
"comment_post_item": false,
"content": "最像模仿者"
},
"last_view_time": 0,
"pass_through": "{\"cell_id_str\":\"7685342951509072138\",\"cell_type\":\"1\"}",
"stickup": false
}
],
"play_defer_time": 0,
"play_sound": true,
"tips": "有12条新内容",
"video_aspect_ratio_style": 0
},
"message": "success",
"prompt": "",
"status_code": 0,
"time": 1793691703827
}
| Field | Meaning |
|---|---|
data.cursor.has_more | Shows whether another page of posts is available. |
data.cursor.loadmore_cursor | Value to send as cursor to request the next page. |
data.data[].cell_id_str | Post cell ID as a string. Use the string form, because the numeric cell_id is a very large integer. |
data.data[].display_time | Time value attached to the post entry. It looks like a Unix timestamp in seconds. |
data.data[].city_name | Location name shown with the post, for example 湖北. |
data.data[].item.content | Text of the post. |
data.data[].item.author.description | Author's profile bio. |
data.data[].item.author.followers_count / data.data[].item.author.followings_count | Number of accounts that follow the author, and number of accounts the author follows. |
data.data[].item.author_tags | Short label shown with the author, such as age and zodiac sign. |
data.data[].hashtag.enter_num / data.data[].hashtag.followers_num | Counts for the hashtag: enter_num is the number of entries or visits, and followers_num is the number of followers. |
hashtag_id from a Pipixia share link. If the link is shortened, convert it first with Pipixia Short URL Conversion.data.cursor.loadmore_cursor as cursor and raise feed_count by 1.width and height. The URLs in this response carry x-expires and x-signature query parameters.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/pipixia/app/hashtag-post-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cursor": "0",
"feed_count": "0",
"hashtag_id": "129559",
"hashtag_sort_type": "3",
"hashtag_request_type": "0"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
hashtag_idstringbắt buộcAKA hashtag id, can be obtained from the share link.
cursorstringPage cursor, default is 0, get the corresponding value from the `loadmore_cursor` Key in the previous page.
Mặc định: "0"
feed_countstringPage count, default is 0, add 1 for each page, such as 0 for the first page, 1 for the second page, 2 for the third page, and so on.
Mặc định: "0"
hashtag_request_typestringHashtag request type
Mặc định: "0"
hashtag_sort_typestringHashtag sort type
Mặc định: "3"
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Pipixia Hashtag Post ListAPI này Pipixia | $0.001 mỗi lần gọi | JSON |
Pipixia | $0.001 mỗi lần gọi | JSON |
Pipixia | $0.001 mỗi lần gọi | JSON |
Pipixia | $0.001 mỗi lần gọi | JSON |
Pipixia | $0.001 mỗi lần gọi | JSON |
Pipixia | $0.001 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/pipixia/app/hashtag-post-list với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: hashtag_id (string). Tùy chọn: cursor (string), feed_count (string), hashtag_request_type (string) và hashtag_sort_type (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Pipixia Hashtag Post List chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Pipixia.