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

TikTok Web Browser Fingerprint

Документация API
https://api.sandbase.ai/v1/api/tiktok/web/generate-fingerprint

Returns browser fingerprint configurations for web requests. Allows tailoring the profile based on an optional browser type parameter.

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

Песочница

Ввод
ВыходПример
Ответoutputs · 7.2 KB · 262 строк
[
  {
    "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.

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 fingerprint object 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

NameTypeRequiredDescription
browser_typestringNo

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

FieldMeaning
browser_typeThe browser type used for this profile. It was random when no input was sent.
fingerprint.navigator.userAgentThe user agent string of the generated browser. In the sample it is Firefox 135 on macOS.
fingerprint.navigator.platform / fingerprint.navigator.language / fingerprint.navigator.hardwareConcurrencyThe platform, primary language and CPU thread count that the profile reports.
fingerprint.screen.sizeWidth / fingerprint.screen.sizeHeightThe 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.versionThe WebGL graphics renderer, vendor and version strings.
fingerprint.webgl.supportedExtensions[]The list of WebGL extension names the profile reports.
fingerprint.customInit.ttwidA ttwid value included in the profile.
fingerprint.wID.tz / fingerprint.wID.timezoneThe time zone name and numeric time zone value in the profile.
fingerprint.wID.sdkVersion / fingerprint.wID.scmVersionThe SDK and SCM version strings carried in the wID block.
fingerprint.wID.timestampA numeric timestamp string that the profile sets for this fingerprint.

Notes

  • browser_type is optional. Calling with an empty body {} returns a profile with browser_type set to random.
  • The response nests all values under fingerprint. Many fields inside wID are 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.

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

Связанные APIs

Все 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

Вопросы

FAQ

Как использовать API TikTok Web Browser Fingerprint?

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

Сколько стоит API TikTok Web Browser Fingerprint?

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

Какие параметры принимает API TikTok Web Browser Fingerprint?

Параметры не требуются. Необязательные: browser_type (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API TikTok Web Browser Fingerprint?

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

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

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