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

Douyin User Profile Share Link

Dokumentacja 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.

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

Playground

Wejście
User sec_uid
User id
WyjściePrzykład
Odpowiedźoutputs · 165 B · 10 wierszy
[
  {
    "data": {
      "sec_uid": "example",
      "short_url": "https://v.douyin.com/0hIiLTgIHZ4/",
      "status": "success",
      "uid": "example"
    }
  }
]

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON

Przewodniki:Best Douyin API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Douyin User Profile Share Link?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-user-profile 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 User Profile Share Link?

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

Jakie parametry przyjmuje API Douyin User Profile Share Link?

Wymagane: sec_uid (string) i uid (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Douyin User Profile Share Link?

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 User Profile Share Link 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.