oidstringwymagane
Weibo video/object ID.
https://api.sandbase.ai/v1/api/weibo/tv-componentGet Weibo TV video details for a colon-delimited object ID (OID). Use it to look up a known TV video for content review, cataloging, or downstream processing.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
This API takes a Weibo object ID (oid) for a TV video and returns the video's play component data. The oid is colon-delimited, for example 1022:2309405359416706203708.
oid during content review.oid into a pipeline that reads the play component data.curl -X POST "https://api.sandbase.ai/v1/api/weibo/tv-component" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oid": "1022:2309405359416706203708"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oid | string | Yes | Weibo video/object ID. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": "100000",
"data": {
"Component_Play_Playinfo": null
},
"msg": "succ"
}
| Field | Meaning |
|---|---|
code | Status code of the response. The sample shows 100000. |
msg | Status message. The sample shows succ. |
data | Container for the result of the lookup. |
data.Component_Play_Playinfo | Play information for the video. It is null in the sample response, so no play details came back for this oid. |
oid has two parts separated by a colon. The example is 1022:2309405359416706203708.code of 100000 with msg set to succ can still return data.Component_Play_Playinfo as null. Check that field before you use the result.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/tv-component" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"oid": "1022:2309405359416706203708"
}'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.
oidstringwymaganeWeibo video/object ID.
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Weibo TV Video DetailsTo API Weibo | $0.014286 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Przewodniki:Best Weibo API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/weibo/tv-component 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.
$0.014286 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: oid (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Weibo TV Video 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 Weibo.