TikTok Web Browser Fingerprint
https://api.sandbase.ai/v1/api/tiktok/web/generate-fingerprintReturns browser fingerprint configurations for web requests. Allows tailoring the profile based on an optional browser type parameter.
- 價格
- $0.001美元/次呼叫
- 方法
- POST
- 回應
- JSON
- 參數
- 0 個必填 · 1 個選填
Playground
[
{
"data": {
"browser_type": "random",
"fingerprint": {
"canvasIntegrity": {
"a": 1,
"b": 1,
"c": 1,
"d": [
"2946950641",
"2946950641"
],
"e": 1
},
"custom": {},
"customInit": {
"ttwid": "7537091754771281152"
},
"document": {
"URL": "https://www.tiktok.com/",
"all": 15,
"characterSet": "UTF-8",
"compatMode": "CSS1Compat",
"documentMode": "undefined",
"images": 99,
"layers": 4
},
"mediaQuery": {
"anyPointer": "fine",
"dpi": 96,
"dppx": 1,
"hover": "hover",
"maxHeight": 237,
"maxWidth": 1342,
"orientation": "landscape"
},
"msgMeta": {
"aid": 368462,
"aidList": [
1988,
368462
],
"msgProtocol": 1,
"msgSrcProp": 2,
"msgType": 1
},
"navigator": {
"appCodeName": "Mozilla",
"appMinorVersion": "undefined",
"appName": "Netscape",
"appVersion": "5.0 (Macintosh)",
"bluetooth": 4,
"buildID": "20181001000000",
"cookieEnabled": 1,
"cpuClass": "undefined",
"credentials": 99,
"deviceMemory": "16",
"doNotTrack": "unspecified",
"hardwareConcurrency": 16,
"language": "en-US",
"languages": "en-US,en",
"maxTouchPoints": 0,
"msDoNotTrack": "undefined",
"online": "true",
"oscpu": "Intel Mac OS X 10.15",
"platform": "MacIntel",
"product": "Gecko",
"productSub": "20100101",
"requestMediaKeySystemAccess": 3,
"storage": 99,
"systemLanguage": "undefined",
"touchEvent": 2,
"touchstart": 2,
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0",
"userLanguage": "undefined",
"vendor": "",
"vendorSub": "",
"vibrate": 4,
"webdriver": "false"
},
"plugins": {
"plugin": [],
"proto": 1,
"pv": "0"
},
"screen": {
"availHeight": 736,
"availWidth": 1366,
"clientHeight": 237,
"clientWidth": 1342,
"colorDepth": 24,
"focus": 2,
"hidden": 2,
"innerHeight": 237,
"innerWidth": 1342,
"location": 1,
"menubar": 1,
"orientation": "landscape-primary",
"outerHeight": 740,
"outerWidth": 1366,
"pageXOffset": 0,
"pageYOffset": 147,
"pixelDepth": 24,
"screenX": 0,
"screenY": 34,
"scrollbar": 0,
"sizeHeight": 768,
"sizeWidth": 1366,
"visibilityState": "visible"
},
"tokenList": [],
"wID": {
"aFP": "4825072837",
"aid": 368462,
"aidList": [
1988,
368462
],
"bb": {
"a": -1,
"b": 280,
"c": 1
},
"browserType": 2,
"canvas": "2946950641",
"dProps": 2,
"dups": 1,
"env": "1111111111111111111111111",
"hl": 5,
"iframe": 2,
"iframeInfo": {
"iFrameNP": {
"hC": 16,
"lang": "en-US",
"platform": "MacIntel",
"uA": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0",
"wd": "false"
},
"iFrameSP": {
"aH": 736,
"aW": 1366,
"h": 768,
"pD": 24,
"w": 1366
},
"propHash": "-76758869881"
},
"index": 395,
"intP": 1.5156755641626757e+24,
"intPS": "1.5156755641626756e+00",
"isf": 2,
"jsFontsList": "1f1f252",
"jsv": "",
"load": 3,
"magic": 3,
"msgType": 1,
"nap": "11111133331333333333",
"nativeLength": 35,
"nativeName": 2,
"notifyPerm": "default",
"objProx": "11111111111111111",
"perf": {
"cE": "1791290354893",
"cS": "1791290354791",
"dC": "1791290357071",
"dCEE": "1791290356048",
"dCES": "1791290356046",
"dI": "1791290356041",
"dL": "1791290354965",
"dLE": "1791290357082",
"dLS": "1791290357074",
"fS": "1791290354756",
"lEE": "1791290357082",
"lES": "1791290357074",
"nS": "1791290354747",
"rE": "0",
"rS": "0",
"reqS": "1791290354899",
"resE": "1791290354953",
"resS": "1791290354906",
"sCS": "1791290354808",
"uEE": "0",
"uES": "0"
},
"permState": "granted",
"pppt": 2,
"privacyMode": 517,
"propLength": {
"a": 1002,
"b": 941,
"c": 747,
"d": 11,
"e": 745,
"f": 0
},
"rtcIP": "",
"rtt": 100,
"scmVersion": "2.0.0.821",
"sdkVersion": "5.1.1",
"sri": 1,
"syntaxError": "-1",
"timestamp": "1791290367304",
"timezone": -8,
"tz": "America/Los_Angeles",
"tzC": "gregory",
"tzL": "en-US",
"tzS": "latn",
"ucwd": "114",
"wProps": 375544
},
"webgl": {
"antialias": 1,
"blueBits": 8,
"depthBits": 24,
"greenBits": 8,
"maxAnisotropy": 16,
"maxCombinedTextureImageUnits": 80,
"maxCubeMapTextureSize": 8192,
"maxFragmentUniformVectors": 4096,
"maxRenderbufferSize": 16384,
"maxTextureImageUnits": 16,
"maxTextureSize": 16384,
"maxVaryingVectors": 15,
"maxVertexAttribs": 16,
"maxVertexTextureImageUnits": 16,
"maxVertexUniformVectors": 1024,
"renderer": "Apple M1, or similar",
"shadingLanguageVersion": "WebGL GLSL ES 1.0",
"stencilBits": 0,
"supportedExtensions": [
"ANGLE_instanced_arrays",
"EXT_blend_minmax",
"EXT_color_buffer_half_float",
"… 24 more items in the full response"
],
"vendor": "Mozilla",
"version": "WebGL 1.0"
},
"window": {
"ActiveXObject": 4,
"BluetoothUUID": 4,
"Image": 3,
"devicePixelRatio": 1,
"devicePixelRatioFloat": 1,
"external": 99,
"indexedDB": 99,
"isSecureContext": 1,
"localStorage": 99,
"location": "https://www.tiktok.com/",
"locationbar": 99,
"mozRTCPeerConnection": 3,
"netscape": 11,
"postMessage": 3,
"sessionStorage": 99,
"toolbar": 99,
"webkitRequestAnimationFrame": 4
}
}
}
}
]範例
選擇一個範例,將其輸入與結果載入 playground。
API README
TikTok Web Browser Fingerprint API
Returns a browser fingerprint object for TikTok web requests, with navigator, screen, WebGL, window and TikTok-specific wID values. It takes one optional input, browser_type. The sample call sent no input and the response echoed browser_type as random.
Use cases
- Fill in a browser environment profile when you build TikTok web request flows.
- Compare the navigator, screen and WebGL values across several calls to see how the generated profiles differ.
- Pass the
fingerprintobject to your own test client that needs a full set of browser values. - Pair the fingerprint with other TikTok web token APIs when you prepare a signed web session.
Request
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/generate-fingerprint" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
browser_type | string | No |
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"browser_type": "random",
"fingerprint": {
"canvasIntegrity": {
"a": 1,
"b": 1,
"c": 1,
"d": [
"3406898329"
],
"e": 1
},
"custom": {},
"customInit": {
"ttwid": "75142854…"
},
"document": {
"URL": "https://www.tiktok.com/",
"all": 13,
"characterSet": "UTF-8",
"compatMode": "CSS1Compat",
"documentMode": "undefined",
"images": 99,
"layers": 4
},
"mediaQuery": {
"anyPointer": "fine",
"dpi": 192,
"dppx": 2,
"hover": "hover",
"maxHeight": 1260,
"maxWidth": 2834,
"orientation": "landscape"
},
"msgMeta": {
"aid": 368462,
"aidList": [
1988
],
"msgProtocol": 1,
"msgSrcProp": 2,
"msgType": 1
},
"navigator": {
"appCodeName": "Mozilla",
"appMinorVersion": "undefined",
"appName": "Netscape",
"appVersion": "5.0 (Macintosh)",
"bluetooth": 4,
"buildID": "20181001000000",
"cookieEnabled": 1,
"cpuClass": "undefined",
"credentials": 99,
"deviceMemory": "8",
"doNotTrack": "1",
"hardwareConcurrency": 8
},
"plugins": {
"plugin": [],
"proto": 1,
"pv": "0"
},
"screen": {
"availHeight": 1771,
"availWidth": 2880,
"clientHeight": 1260,
"clientWidth": 2834,
"colorDepth": 30,
"focus": 2,
"hidden": 2,
"innerHeight": 1260,
"innerWidth": 2834,
"location": 1,
"menubar": 1,
"orientation": "landscape-primary"
},
"tokenList": [],
"wID": {
"aFP": "3453338562",
"aid": 368462,
"aidList": [
1988
],
"bb": {
"a": -1,
"b": 268,
"c": 1
},
"browserType": 2,
"canvas": "3406898329",
"dProps": 2,
"dups": 1,
"env": "1111111111111111111111111",
"hl": 3,
"iframe": 2,
"iframeInfo": {
"iFrameNP": {
"hC": 8,
"lang": "en-US",
"platform": "MacIntel",
"uA": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:135.0) Gecko/20100101 Firefox/1…",
"wd": "false"
},
"iFrameSP": {
"aH": 1771,
"aW": 2880,
"h": 1800,
"pD": 30,
"w": 2880
},
"propHash": "-29572292501"
}
},
"webgl": {
"antialias": 1,
"blueBits": 8,
"depthBits": 24,
"greenBits": 8,
"maxAnisotropy": 16,
"maxCombinedTextureImageUnits": 80,
"maxCubeMapTextureSize": 8192,
"maxFragmentUniformVectors": 4096,
"maxRenderbufferSize": 16384,
"maxTextureImageUnits": 16,
"maxTextureSize": 8192,
"maxVaryingVectors": 32
}
}
}
Response fields
| Field | Meaning |
|---|---|
browser_type | The browser type used for this profile. It was random when no input was sent. |
fingerprint.navigator.userAgent | The user agent string of the generated browser. In the sample it is Firefox 135 on macOS. |
fingerprint.navigator.platform / fingerprint.navigator.language / fingerprint.navigator.hardwareConcurrency | The platform, primary language and CPU thread count that the profile reports. |
fingerprint.screen.sizeWidth / fingerprint.screen.sizeHeight | The reported screen size in pixels. Related fields such as innerWidth, outerWidth and availWidth describe the window and available area. |
fingerprint.webgl.renderer / fingerprint.webgl.vendor / fingerprint.webgl.version | The WebGL graphics renderer, vendor and version strings. |
fingerprint.webgl.supportedExtensions[] | The list of WebGL extension names the profile reports. |
fingerprint.customInit.ttwid | A ttwid value included in the profile. |
fingerprint.wID.tz / fingerprint.wID.timezone | The time zone name and numeric time zone value in the profile. |
fingerprint.wID.sdkVersion / fingerprint.wID.scmVersion | The SDK and SCM version strings carried in the wID block. |
fingerprint.wID.timestamp | A numeric timestamp string that the profile sets for this fingerprint. |
Notes
browser_typeis optional. Calling with an empty body{}returns a profile withbrowser_typeset torandom.- The response nests all values under
fingerprint. Many fields insidewIDare short coded values, so use them as returned. - To get related identifiers, see TikTok Web TTWID Identifier and TikTok Web ID.
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開始建置
送出您的第一個請求
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/generate-fingerprint" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. 驗證
請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
3. 參數
4. 回應
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"browser_type": "random",
"fingerprint": {
"canvasIntegrity": {
"a": 1,
"b": 1,
"c": 1,
"d": [
"2946950641",
"2946950641"
],
"e": 1
},
"custom": {},
"customInit": {
"ttwid": "7537091754771281152"
},
"document": {
"URL": "https://www.tiktok.com/",
"all": 15,
"characterSet": "UTF-8",
"compatMode": "CSS1Compat",
"documentMode": "undefined",
"images": 99,
"layers": 4
},
"mediaQuery": {
"anyPointer": "fine",
"dpi": 96,
"dppx": 1,
"hover": "hover",
"maxHeight": 237,
"maxWidth": 1342,
"orientation": "landscape"
},
"msgMeta": {
"aid": 368462,
"aidList": [
1988,
368462
],
"msgProtocol": 1,
"msgSrcProp": 2,
"msgType": 1
},
"navigator": {
"appCodeName": "Mozilla",
"appMinorVersion": "undefined",
"appName": "Netscape",
"appVersion": "5.0 (Macintosh)",
"bluetooth": 4,
"buildID": "20181001000000",
"cookieEnabled": 1,
"cpuClass": "undefined",
"credentials": 99,
"deviceMemory": "16",
"doNotTrack": "unspecified",
"hardwareConcurrency": 16,
"language": "en-US",
"languages": "en-US,en",
"maxTouchPoints": 0,
"msDoNotTrack": "undefined",
"online": "true",
"oscpu": "Intel Mac OS X 10.15",
"platform": "MacIntel",
"product": "Gecko",
"productSub": "20100101",
"requestMediaKeySystemAccess": 3,
"storage": 99,
"systemLanguage": "undefined",
"touchEvent": 2,
"touchstart": 2,
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0",
"userLanguage": "undefined",
"vendor": "",
"vendorSub": "",
"vibrate": 4,
"webdriver": "false"
},
"plugins": {
"plugin": [],
"proto": 1,
"pv": "0"
},
"screen": {
"availHeight": 736,
"availWidth": 1366,
"clientHeight": 237,
"clientWidth": 1342,
"colorDepth": 24,
"focus": 2,
"hidden": 2,
"innerHeight": 237,
"innerWidth": 1342,
"location": 1,
"menubar": 1,
"orientation": "landscape-primary",
"outerHeight": 740,
"outerWidth": 1366,
"pageXOffset": 0,
"pageYOffset": 147,
"pixelDepth": 24,
"screenX": 0,
"screenY": 34,
"scrollbar": 0,
"sizeHeight": 768,
"sizeWidth": 1366,
"visibilityState": "visible"
},
"tokenList": [],
"wID": {
"aFP": "4825072837",
"aid": 368462,
"aidList": [
1988,
368462
],
"bb": {
"a": -1,
"b": 280,
"c": 1
},
"browserType": 2,
"canvas": "2946950641",
"dProps": 2,
"dups": 1,
"env": "1111111111111111111111111",
"hl": 5,
"iframe": 2,
"iframeInfo": {
"iFrameNP": {
"hC": 16,
"lang": "en-US",
"platform": "MacIntel",
"uA": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0",
"wd": "false"
},
"iFrameSP": {
"aH": 736,
"aW": 1366,
"h": 768,
"pD": 24,
"w": 1366
},
"propHash": "-76758869881"
},
"index": 395,
"intP": 1.5156755641626757e+24,
"intPS": "1.5156755641626756e+00",
"isf": 2,
"jsFontsList": "1f1f252",
"jsv": "",
"load": 3,
"magic": 3,
"msgType": 1,
"nap": "11111133331333333333",
"nativeLength": 35,
"nativeName": 2,
"notifyPerm": "default",
"objProx": "11111111111111111",
"perf": {
"cE": "1791290354893",
"cS": "1791290354791",
"dC": "1791290357071",
"dCEE": "1791290356048",
"dCES": "1791290356046",
"dI": "1791290356041",
"dL": "1791290354965",
"dLE": "1791290357082",
"dLS": "1791290357074",
"fS": "1791290354756",
"lEE": "1791290357082",
"lES": "1791290357074",
"nS": "1791290354747",
"rE": "0",
"rS": "0",
"reqS": "1791290354899",
"resE": "1791290354953",
"resS": "1791290354906",
"sCS": "1791290354808",
"uEE": "0",
"uES": "0"
},
"permState": "granted",
"pppt": 2,
"privacyMode": 517,
"propLength": {
"a": 1002,
"b": 941,
"c": 747,
"d": 11,
"e": 745,
"f": 0
},
"rtcIP": "",
"rtt": 100,
"scmVersion": "2.0.0.821",
"sdkVersion": "5.1.1",
"sri": 1,
"syntaxError": "-1",
"timestamp": "1791290367304",
"timezone": -8,
"tz": "America/Los_Angeles",
"tzC": "gregory",
"tzL": "en-US",
"tzS": "latn",
"ucwd": "114",
"wProps": 375544
},
"webgl": {
"antialias": 1,
"blueBits": 8,
"depthBits": 24,
"greenBits": 8,
"maxAnisotropy": 16,
"maxCombinedTextureImageUnits": 80,
"maxCubeMapTextureSize": 8192,
"maxFragmentUniformVectors": 4096,
"maxRenderbufferSize": 16384,
"maxTextureImageUnits": 16,
"maxTextureSize": 16384,
"maxVaryingVectors": 15,
"maxVertexAttribs": 16,
"maxVertexTextureImageUnits": 16,
"maxVertexUniformVectors": 1024,
"renderer": "Apple M1, or similar",
"shadingLanguageVersion": "WebGL GLSL ES 1.0",
"stencilBits": 0,
"supportedExtensions": [
"ANGLE_instanced_arrays",
"EXT_blend_minmax",
"EXT_color_buffer_half_float",
"… 24 more items in the full response"
],
"vendor": "Mozilla",
"version": "WebGL 1.0"
},
"window": {
"ActiveXObject": 4,
"BluetoothUUID": 4,
"Image": 3,
"devicePixelRatio": 1,
"devicePixelRatioFloat": 1,
"external": 99,
"indexedDB": 99,
"isSecureContext": 1,
"localStorage": 99,
"location": "https://www.tiktok.com/",
"locationbar": 99,
"mozRTCPeerConnection": 3,
"netscape": 11,
"postMessage": 3,
"sessionStorage": 99,
"toolbar": 99,
"webkitRequestAnimationFrame": 4
}
}
}
}
]探索更多
相關 APIs
| API | 價格 | 回應 |
|---|---|---|
TikTok | 每次呼叫 $0.001 | JSON |
TikTok | 每次呼叫 $0.001 | JSON |
TikTok | 每次呼叫 $0.001 | JSON |
TikTok | 每次呼叫 $0.001 | JSON |
TikTok | 每次呼叫 $0.001 | JSON |
TikTok | 每次呼叫 $0.05 | JSON |
指南:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
問題
常見問題
我要如何使用 TikTok Web Browser Fingerprint API?
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/tiktok/web/generate-fingerprint。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
TikTok Web Browser Fingerprint API 的費用是多少?
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
TikTok Web Browser Fingerprint API 接受哪些參數?
不需要任何參數。 選填:browser_type (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
TikTok Web Browser Fingerprint API 會回傳什麼?
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
我需要 TikTok 開發者帳號或 API 金鑰嗎?
不需要。TikTok Web Browser Fingerprint 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 TikTok API 存取權。
