emailstringwymagane
Email address
https://api.sandbase.ai/v1/api/tiktok/web/generate-hashed-idCalculates a hashed identifier for TikTok Web based on a provided email address. This endpoint takes an email input and returns the corresponding hashed ID value.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Returns a hashed identifier for an email address, as used by TikTok Web. It needs one input, the email string. The response holds a single hashed_id value.
hashed_id before you use it in a TikTok Web workflow.hashed_id values for a list of emails without keeping the raw addresses in your own records.hashed_id.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/generate-hashed-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Email address |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"hashed_id": "7dd39e8713c40837f6ca56a44ba13da737eb608737b40e0b3c4975528c607309"
}
| Field | Meaning |
|---|---|
hashed_id | The hashed identifier calculated from the email you sent. |
hashed_id | The value is a lowercase hexadecimal string, 64 characters long. |
hashed_id | This is the only field in the response, so you can read it straight from the top level of the JSON object. |
email parameter as a plain string. The call has no other parameters, so there is no pagination.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/generate-hashed-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
emailstringwymaganeEmail address
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
TikTok Web Hashed IDTo API TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.05 za wywołanie | JSON |
Przewodniki:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/web/generate-hashed-id 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.
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: email (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. TikTok Web Hashed ID 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 TikTok.