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

TikTok Profile Unique IDs

Docs da API
https://api.sandbase.ai/v1/api/tiktok/web/all-unique-id

Resolves a batch of TikTok user homepage links to retrieve their corresponding unique identifiers. Accepts a list of profile URLs in the request payload.

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

Playground

Entrada
User homepage link
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

TikTok Profile Unique IDs API

Takes a list of TikTok profile URLs and returns the matching unique IDs (the handles) as a JSON array of strings. The request needs one field, body, which holds the profile links.

Use cases

  • Turn a list of https://www.tiktok.com/@name links into plain handles for a spreadsheet or database.
  • Normalize a batch of creator links before you look up each profile.
  • Check which handle sits behind each profile URL in an influencer list.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/all-unique-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body": ["https://www.tiktok.com/@tiktok"]}'

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

Parameters

NameTypeRequiredDescription
bodyarrayYesUser homepage link

Example response

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

[
  "tiktok"
]

Response fields

FieldMeaning
[]One TikTok unique ID, which is the handle shown after the @ in the profile URL. For https://www.tiktok.com/@tiktok the value is tiktok.
[0]The first item in the array. In the sample request, the single link in body returned tiktok at this position.

Notes

  • The response is a bare JSON array of strings. It has no wrapper object and no named keys.
  • Send the profile links as an array of strings in body, for example ["https://www.tiktok.com/@tiktok"].
  • To get the sec_user_id for each profile link in one call, use TikTok User Sec User ID Extractor.
  • To resolve a single profile link to a user ID, use TikTok User ID from Profile Link.

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
TikTok$0.001 por chamadaJSON
TikTok$0.001 por chamadaJSON
TikTok$0.001 por chamadaJSON
TikTok$0.001 por chamadaJSON
TikTok$0.05 por chamadaJSON
TikTok$0.002 por chamadaJSON

Guias:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API TikTok Profile Unique IDs?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/tiktok/web/all-unique-id 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 TikTok Profile Unique IDs?

$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 TikTok Profile Unique IDs aceita?

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

O que a API TikTok Profile Unique IDs 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 TikTok ou de uma chave de API?

Não. TikTok Profile Unique IDs 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 TikTok separadamente.