Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Douyin User Profile Share Link

Docs da 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.

Preço
$0.001USD / chamada
Método
POST
Resposta
JSON
Parâmetros
2 obrigatórios · 0 opcionais

Playground

Entrada
User sec_uid
User id
SaídaExemplo
Respostaoutputs · 165 B · 10 linhas
[
  {
    "data": {
      "sec_uid": "example",
      "short_url": "https://v.douyin.com/0hIiLTgIHZ4/",
      "status": "success",
      "uid": "example"
    }
  }
]

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da 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.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON
Douyin$0.001 por chamadaJSON

Guias:Best Douyin API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Douyin User Profile Share Link?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-user-profile com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Douyin User Profile Share Link?

$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Douyin User Profile Share Link aceita?

Obrigatórios: sec_uid (string) e uid (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Douyin User Profile Share Link retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Douyin ou de uma chave de API?

Não. Douyin User Profile Share Link funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Douyin separadamente.