Kuaishou User Broadcast Details
https://api.sandbase.ai/v1/api/kuaishou/app/user-live-infoReturns broadcast information and stream status for a specified Kuaishou account. Requests target a creator profile using the unique user identifier.
- Cena
- $0.001USD / wywołanie
- Metoda
- POST
- Odpowiedź
- JSON
- Parametry
- 1 wymaganych · 0 opcjonalnych
Playground
[
{
"data": {
"dynamicIconV2": {
"isLive": false,
"photoCount": 676,
"result": 1,
"type": 3
},
"host-name": "public-bjzey-c34-kce-node465.idchb1az3.hb1.kwaidc.com",
"llsid": 2006352265622127400,
"result": 1,
"shieldNextPhoto": false
}
}
]Przykłady
Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
README API
Kuaishou User Broadcast Details API
This API returns the live status and a short activity summary for one Kuaishou account. It needs the numeric user_id of the creator.
Use cases
- Check whether a Kuaishou creator is streaming right now using the
isLiveflag. - Track how many videos a creator has posted by reading
photoCounton a schedule. - Filter a list of creator IDs down to the ones that are live before you fetch more data.
- Confirm that a lookup for a
user_idsucceeded by reading theresultvalue.
Request
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/user-live-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "3795214411"}'
The result is returned in outputs[0].data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes |
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"debug_id": "36c5a730",
"debug_info": "gAAAAABq6Y77fQhzwkkN1X2BZxqssPoHtERg4092vXpG5Nv1xPwYXM2t_9PpgPb6KX17A8Jcs-2zGXeJ…",
"dynamicIconV2": {
"isLive": false,
"photoCount": 683,
"result": 1,
"type": 3
},
"host-name": "public-bjmt-c56-kce-node76.idchb1az4.hb1.kwaidc.com",
"llsid": 2010206515696162481,
"result": 1,
"shieldNextPhoto": false
}
Response fields
| Field | Meaning |
|---|---|
dynamicIconV2.isLive | Shows whether the account is broadcasting right now. In the sample it is false. |
dynamicIconV2.photoCount | Number of posts counted for the account. The sample shows 683. |
dynamicIconV2.type | Numeric type code for the profile icon state. The sample shows 3. The response does not explain what each code means. |
dynamicIconV2.result / result | Result codes for the icon block and the whole request. The sample shows 1 for both. |
shieldNextPhoto | Boolean flag in the response. The sample shows false. The response does not explain its effect. |
llsid | Large numeric ID attached to this response. It looks like a request or session identifier. |
debug_id / debug_info / host-name | Diagnostic values for the request and the server that handled it. Most integrations can ignore them. |
Notes
- Pass
user_idas a string, for example3795214411. - If you only have a username or profile link, call Kuaishou User ID Lookup first to get the ID.
- To see past streams for the same account, call Kuaishou User Broadcast Replay.
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Zacznij tworzyć
Wyślij pierwsze żądanie
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/user-live-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "3795214411"
}'2. Uwierzytelnianie
Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
3. Parametry
4. Odpowiedź
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"data": {
"dynamicIconV2": {
"isLive": false,
"photoCount": 676,
"result": 1,
"type": 3
},
"host-name": "public-bjzey-c34-kce-node465.idchb1az3.hb1.kwaidc.com",
"llsid": 2006352265622127400,
"result": 1,
"shieldNextPhoto": false
}
}
]Odkryj więcej
Powiązane APIs
| API | Cena | Odpowiedź |
|---|---|---|
Kuaishou | $0.001 za wywołanie | JSON |
Kuaishou | $0.001 za wywołanie | JSON |
Kuaishou | $0.001 za wywołanie | JSON |
Kuaishou | $0.001 za wywołanie | JSON |
Kuaishou | $0.001 za wywołanie | JSON |
Kuaishou | $0.001 za wywołanie | JSON |
Przewodniki:Best Kuaishou API in 2026: Pricing Compared
Pytania
FAQ
Jak używać API Kuaishou User Broadcast Details?
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/kuaishou/app/user-live-info z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Ile kosztuje API Kuaishou User Broadcast Details?
$0.001 za wywołanie. Każda organizacja otrzymuje 100 bezpłatnych wywołań na dzień UTC, współdzielonych między kwalifikującymi się API SandBase, w tym to; potem każde wywołanie jest rozliczane według tej stawki z salda SandBase. Nie ma subskrypcji.
Jakie parametry przyjmuje API Kuaishou User Broadcast Details?
Wymagane: user_id (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Co zwraca API Kuaishou User Broadcast Details?
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Czy potrzebuję konta deweloperskiego Kuaishou lub klucza API?
Nie. Kuaishou User Broadcast Details działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Kuaishou.
