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.
- Giá
- $0.001USD / lượt gọi
- Phương thức
- POST
- Phản hồi
- JSON
- Tham số
- 0 bắt buộc · 1 tùy chọn
Phòng thử nghiệm
[
{
"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
}
}
}
}
]Ví dụ
Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
README API
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.
Bắt đầu xây dựng
Gửi request đầu tiên của bạn
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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. Xác thực
Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
3. Tham số
4. Phản hồi
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"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
}
}
}
}
]Khám phá thêm
APIs liên quan
| API | Giá | Phản hồi |
|---|---|---|
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.05 mỗi lần gọi | JSON |
Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Câu hỏi
FAQ
Làm thế nào để dùng API TikTok Web Browser Fingerprint?
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/web/generate-fingerprint với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
API TikTok Web Browser Fingerprint có giá bao nhiêu?
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
API TikTok Web Browser Fingerprint chấp nhận những tham số nào?
Không có tham số bắt buộc. Tùy chọn: browser_type (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
API TikTok Web Browser Fingerprint trả về gì?
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?
Không. TikTok Web Browser Fingerprint chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.
