Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Douyin Xingtu User Profile QR Code

Документация 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.

Цена
$0.002USD / вызов
Метод
POST
Ответ
JSON
Параметры
0 обязательных · 2 необязательных

Песочница

Ввод
User core ID (pick one with sec_uid)
User sec_uid (pick one with core_user_id)
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

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.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Douyin$0.002 за запросJSON
Douyin$0.002 за запросJSON
Douyin$0.002 за запросJSON
Douyin$0.01 за запросJSON
Douyin$0.003 за запросJSON
Douyin$0.001 за запросJSON

Руководства:Best Douyin API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Douyin Xingtu User Profile QR Code?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcode, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Douyin Xingtu User Profile QR Code?

$0.002 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Douyin Xingtu User Profile QR Code?

Параметры не требуются. Необязательные: core_user_id (any) и sec_uid (any). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Douyin Xingtu User Profile QR Code?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Douyin или API key?

Нет. Douyin Xingtu User Profile QR Code работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Douyin.