Kuaishou Video Sub Comments (App)
https://api.sandbase.ai/v1/api/kuaishou/app/video-sub-commentsReturns sub comments and replies under a root comment for a Kuaishou video. Supports pagination using a cursor and page size configuration.
- 料金
- $0.001USD / 回
- メソッド
- POST
- レスポンス
- JSON
- パラメータ
- 必須 2 件 · 任意 2 件
プレイグラウンド
[
{
"data": {
"debug_id": "95daa4f4",
"debug_info": "gAAAAABquiYtzzsaI6Yi-A1Txc5_XIWUUjZScLGu-cMaDEl9WT-aeD2mmvgQwCy7SgNVCT_B-2lkQNmb5upuS2jmP-kywdV3DElMAuNV4Q6kGT1StEV9YiJBypA5kVkQuRBfJehDphJYbhR0rF5BVj3W3TKovXV_IDFlqQngb2sRFdRvqtfLSlLfo6iF0lnXv0XGkMM2_OF58OnNrBzzmXg8upsQcbrriMxoNTWYUnWQhGVUmFjLhOMGeUAtJY-5Caf-AhZBI155lRUXFXAa8J6KvC98dQUW-A==",
"host-name": "public-bjmt-c56-kce-node367.idchb1az4.hb1.kwaidc.com",
"pcursor": "no_more",
"result": 1,
"subComments": []
}
}
]例
例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
API README
Kuaishou Video Sub Comments (App) API
Retrieve nested replies under a specific root comment on Kuaishou. Pass photo_id and root_comment_id to retrieve comment thread details.
Use cases
- Display threaded reply discussions beneath main video comments.
- Monitor community responses and conversations for a specific comment.
- Extract conversation threads for audience interaction analysis.
Request
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/video-sub-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"photo_id": "5218546261880462502", "root_comment_id": "14000000123456789"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
photo_id | string | Yes | — |
root_comment_id | string | Yes | — |
count | integer | No | Page size, default 8, range 1-20 |
pcursor | string | No | Cursor, empty for first page |
Notes
- Set
countbetween 1 and 20 to control page size (defaults to 8). - Provide
pcursorfor subsequent pages or leave it empty for the first page.
Pricing
Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
開発を始める
最初のリクエストを送信
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/video-sub-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"photo_id": "1",
"root_comment_id": "1"
}'2. 認証
SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
3. パラメータ
root_comment_idstring必須
countinteger
Page size, default 8, range 1-20
pcursorstring
Cursor, empty for first page
4. レスポンス
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"data": {
"debug_id": "95daa4f4",
"debug_info": "gAAAAABquiYtzzsaI6Yi-A1Txc5_XIWUUjZScLGu-cMaDEl9WT-aeD2mmvgQwCy7SgNVCT_B-2lkQNmb5upuS2jmP-kywdV3DElMAuNV4Q6kGT1StEV9YiJBypA5kVkQuRBfJehDphJYbhR0rF5BVj3W3TKovXV_IDFlqQngb2sRFdRvqtfLSlLfo6iF0lnXv0XGkMM2_OF58OnNrBzzmXg8upsQcbrriMxoNTWYUnWQhGVUmFjLhOMGeUAtJY-5Caf-AhZBI155lRUXFXAa8J6KvC98dQUW-A==",
"host-name": "public-bjmt-c56-kce-node367.idchb1az4.hb1.kwaidc.com",
"pcursor": "no_more",
"result": 1,
"subComments": []
}
}
]さらに探索
関連 APIs
| API | 価格 | レスポンス |
|---|---|---|
Kuaishou | $0.001 / 回 | JSON |
Kuaishou | $0.001 / 回 | JSON |
Kuaishou | $0.001 / 回 | JSON |
Kuaishou | $0.001 / 回 | JSON |
Kuaishou | $0.001 / 回 | JSON |
Kuaishou | $0.001 / 回 | JSON |
質問
FAQ
Kuaishou Video Sub Comments (App) API はどのように使いますか?
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/kuaishou/app/video-sub-comments に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
Kuaishou Video Sub Comments (App) API の料金はいくらですか?
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
Kuaishou Video Sub Comments (App) API はどのパラメータを受け付けますか?
必須: photo_id (string) と root_comment_id (string)。 任意: count (integer) と pcursor (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
Kuaishou Video Sub Comments (App) API は何を返しますか?
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。
Kuaishou の開発者アカウントまたは API key は必要ですか?
いいえ。Kuaishou Video Sub Comments (App) は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Kuaishou の API アクセスを別途申請する必要はありません。
