Pipixia Hot Search Words
https://api.sandbase.ai/v1/api/pipixia/app/hot-search-wordsReturns the current list of trending search keywords from Pipixia. Helps track popular search topics and user query trends across the platform without requiring input parameters.
- Giá
- $0.001USD / lượt gọi
- Phương thức
- POST
- Phản hồi
- JSON
- Tham số
- 0 bắt buộc · 0 tùy chọn
Phòng thử nghiệm
[
{
"data": {
"data": {
"hot_keywords": [
"搞笑视频合集",
"精彩神评精选"
],
"tip": "",
"words": [
{
"hot_logo_image": null,
"hot_type": 0,
"schema": "",
"tip": "搞笑视频合集",
"write_history": true
},
{
"hot_logo_image": null,
"hot_type": 0,
"schema": "",
"tip": "精彩神评精选",
"write_history": true
}
]
},
"message": "success",
"prompt": "",
"status_code": 0,
"time": 1786090986752
}
}
]Ví dụ
Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
README API
Pipixia Hot Search Words API
Returns the current list of suggested hot search keywords from the Pipixia app. It needs no input: send an empty JSON object {}.
Use cases
- Show the current Pipixia hot search terms on a trend dashboard.
- Log the keyword list over time to see which topics enter and leave the list.
- Seed a content search with the current hot keywords using the Pipixia search API.
- Pre-fill a search box with keywords that Pipixia itself suggests.
Request
curl -X POST "https://api.sandbase.ai/v1/api/pipixia/app/hot-search-words" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"hot_keywords": [
"搞笑视频"
],
"tip": "",
"words": [
{
"hot_logo_image": null,
"hot_type": 0,
"schema": "",
"tip": "搞笑视频",
"write_history": true
}
]
},
"message": "success",
"prompt": "",
"status_code": 0,
"time": 1793691709812
}
Response fields
| Field | Meaning |
|---|---|
data.hot_keywords[] | Plain list of the hot search keywords as strings, in the order returned. |
data.words[] | One object per hot keyword, with extra display and behavior settings for that keyword. |
data.words[].tip | The keyword text. It matches the entry in data.hot_keywords[]. |
data.words[].hot_type | Numeric type code for the keyword. All items in this sample have the value 0. |
data.words[].hot_logo_image | Logo image attached to the keyword. It is null in this sample, so no logo is set. |
data.words[].schema | Link or schema string for the keyword. It is an empty string in this sample. |
data.words[].write_history | Boolean flag. It is true in this sample. The key name suggests it controls whether the term is saved to the user's search history. |
data.tip | Top-level tip text. It is an empty string in this sample. |
status_code / message | status_code is 0 and message is success when the call works. |
time | Timestamp of the response, shown as a 13-digit number (milliseconds). |
Notes
- The request schema has no parameters, so always send
{}. - Keyword text is in Chinese in the sample response.
- To search posts for a keyword, pass it to Pipixia Search.
- For ranked hot topic boards, see Pipixia Hot Search.
Pricing
$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
Gửi request đầu tiên của bạn
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/hot-search-words" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Xác thực
Đặ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.
3. Tham số
Chưa có schema tham số nào được công bố cho API này.
4. Phản hồi
Đâ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.
[
{
"data": {
"data": {
"hot_keywords": [
"搞笑视频合集",
"精彩神评精选"
],
"tip": "",
"words": [
{
"hot_logo_image": null,
"hot_type": 0,
"schema": "",
"tip": "搞笑视频合集",
"write_history": true
},
{
"hot_logo_image": null,
"hot_type": 0,
"schema": "",
"tip": "精彩神评精选",
"write_history": true
}
]
},
"message": "success",
"prompt": "",
"status_code": 0,
"time": 1786090986752
}
}
]Khám phá thêm
APIs liên quan
| API | Giá | Phản hồi |
|---|---|---|
Pipixia Hot Search WordsAPI 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
FAQ
Làm thế nào để dùng API Pipixia Hot Search Words?
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/pipixia/app/hot-search-words 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.
API Pipixia Hot Search Words có giá bao nhiêu?
$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ý.
API Pipixia Hot Search Words chấp nhận những tham số nào?
Pipixia Hot Search Words không nhận tham số đầu vào; hãy gửi một phần thân JSON rỗng.
API Pipixia Hot Search Words trả về gì?
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.
Tôi có cần tài khoản nhà phát triển hoặc API key của Pipixia không?
Không. Pipixia Hot Search Words 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.
