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

TikTok Profile Unique IDs

Документация 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.

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

Песочница

Ввод
User homepage link
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по 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.

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

Связанные APIs

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

Руководства:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API TikTok Profile Unique IDs?

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

Сколько стоит API TikTok Profile Unique IDs?

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

Какие параметры принимает API TikTok Profile Unique IDs?

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

Что возвращает API TikTok Profile Unique IDs?

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

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

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