core_user_idany
User core ID (pick one with sec_uid)
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcodeReturns 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.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
core_user_id | string | No | User core ID (pick one with sec_uid) |
sec_uid | string | No | User sec_uid (pick one with core_user_id) |
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…"
}
| Field | Meaning |
|---|---|
qrcode | URL of the QR code image (a PNG file) for the creator profile. Download or embed this URL to show the code. |
base_resp.status_code | Result code of the call. A value of 0 means the lookup succeeded. |
base_resp.status_message | Text message that goes with the status code. It reads 成功 (success) in the sample response. |
core_user_id or sec_uid. The request schema marks both as optional strings and describes them as pick one.core_user_id set to 1113181577281568.sec_uid into a Xingtu author ID, call Douyin XingTu kolId by sec_user_id (V2).$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
core_user_idanyUser core ID (pick one with sec_uid)
sec_uidanyUser sec_uid (pick one with core_user_id)
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| 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
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcode, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.002 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Параметры не требуются. Необязательные: core_user_id (any) и sec_uid (any). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Douyin Xingtu User Profile QR Code работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Douyin.