Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Douyin Xingtu User Profile QR Code

Dokumentacja API
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcode

Returns a QR code for a Douyin Xingtu creator profile. Look up the profile QR code by providing either a user core ID or sec_uid.

Cena
$0.002USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 2 opcjonalnych

Playground

Wejście
User core ID (pick one with sec_uid)
User sec_uid (pick one with core_user_id)
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Douyin Xingtu User Profile QR Code API

Returns a link to a QR code image for a Douyin Xingtu creator profile. Pass either core_user_id or sec_uid to identify the creator.

Use cases

  • Show a scannable profile code next to a creator row in an internal talent dashboard.
  • Add a creator QR code to a pitch deck or campaign brief so a client can open the profile on a phone.
  • Print or embed a creator's profile code in offline materials for a brand partnership event.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcode" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"core_user_id": "1113181577281568"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
core_user_idstringNoUser core ID (pick one with sec_uid)
sec_uidstringNoUser sec_uid (pick one with core_user_id)

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "base_resp": {
    "status_code": 0,
    "status_message": "成功"
  },
  "qrcode": "https://p3.douyinpic.com/img/aweme-qrcode/TSQBWe7703844895601002240~c5_720x720.p…"
}

Response fields

FieldMeaning
qrcodeURL of the QR code image (a PNG file) for the creator profile. Download or embed this URL to show the code.
base_resp.status_codeResult code of the call. A value of 0 means the lookup succeeded.
base_resp.status_messageText message that goes with the status code. It reads 成功 (success) in the sample response.

Notes

Pricing

$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Douyin$0.002 za wywołanieJSON
Douyin$0.002 za wywołanieJSON
Douyin$0.002 za wywołanieJSON
Douyin$0.01 za wywołanieJSON
Douyin$0.003 za wywołanieJSON
Douyin$0.001 za wywołanieJSON

Przewodniki:Best Douyin API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Douyin Xingtu User Profile QR Code?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcode 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 Douyin Xingtu User Profile QR Code?

$0.002 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Douyin Xingtu User Profile QR Code?

Nie są wymagane żadne parametry. Opcjonalne: core_user_id (any) i sec_uid (any). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Douyin Xingtu User Profile QR Code?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Douyin lub klucza API?

Nie. Douyin Xingtu User Profile QR Code 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 Douyin.