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.
- Precio
- $0.001USD / llamada
- Método
- POST
- Respuesta
- JSON
- Parámetros
- 0 obligatorios · 1 opcionales
Entorno de pruebas
[
{
"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
}
}
}
}
]Ejemplos
Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.
README de la 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.
Empiece a construir
Envíe su primera solicitud
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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. Autenticación
Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
3. Parámetros
4. Respuesta
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
[
{
"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
}
}
}
}
]Explorar más
APIs relacionadas
| API | Precio | Respuesta |
|---|---|---|
TikTok Web Browser FingerprintEsta API TikTok | $0.001 por llamada | JSON |
TikTok | $0.001 por llamada | JSON |
TikTok | $0.001 por llamada | JSON |
TikTok | $0.001 por llamada | JSON |
TikTok | $0.001 por llamada | JSON |
TikTok | $0.05 por llamada | JSON |
Guías:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Preguntas
FAQ
¿Cómo uso la API de TikTok Web Browser Fingerprint?
Envía una solicitud POST a https://api.sandbase.ai/v1/api/tiktok/web/generate-fingerprint con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
¿Cuánto cuesta la API de TikTok Web Browser Fingerprint?
$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
¿Qué parámetros acepta la API de TikTok Web Browser Fingerprint?
No se requieren parámetros. Opcionales: browser_type (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
¿Qué devuelve la API de TikTok Web Browser Fingerprint?
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
¿Necesito una cuenta de desarrollador o una clave API de TikTok?
No. TikTok Web Browser Fingerprint funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de TikTok por separado.
