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

Douyin User Profile Share Link

Документация API
https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-user-profile

Generates a Douyin app share link that redirects to a specific user profile using a provided user ID and secure user ID.

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

Песочница

Ввод
User sec_uid
User id
ВыходПример
Ответoutputs · 165 B · 10 строк
[
  {
    "data": {
      "sec_uid": "example",
      "short_url": "https://v.douyin.com/0hIiLTgIHZ4/",
      "status": "success",
      "uid": "example"
    }
  }
]

Примеры

Выберите пример, чтобы загрузить его входные данные и результат в playground.

README по API

Douyin User Profile Share Link API

Returns a Douyin short link that opens the Douyin app on a specific user profile. It needs the user's uid and sec_uid.

Use cases

  • Add a button on a landing page that opens a creator's Douyin profile in the app.
  • Build a list of profile deep links for a set of creators you track.
  • Send a profile link in a campaign message so users land on the right account.
  • Check that a uid and sec_uid pair resolves to a working profile link.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-user-profile" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_", "uid": "92769419069"}'

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

Parameters

NameTypeRequiredDescription
sec_uidstringYesUser sec_uid
uidstringYesUser id

Example response

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

{
  "sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_",
  "short_url": "https://v.douyin.com/Ihlbayv701k/",
  "status": "success",
  "uid": "92769419069"
}

Response fields

FieldMeaning
short_urlShort Douyin link that opens the app on the requested user profile.
statusResult of the request. The value is success when the link was generated.
uidThe user ID from the request, echoed back.
sec_uidThe secure user ID from the request, echoed back.

Notes

Pricing

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

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

Связанные APIs

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

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

Вопросы

FAQ

Как использовать API Douyin User Profile Share Link?

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

Сколько стоит API Douyin User Profile Share Link?

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

Какие параметры принимает API Douyin User Profile Share Link?

Обязательные: sec_uid (string) и uid (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Douyin User Profile Share Link?

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

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

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