Get random compatible WebGL metadata
Validate compatibility between the browser engine, operating system, and optional OS version, then return a random pair of public WebGL Vendor and Renderer values.
Request parameters
Authorization Bearer Token
Include your API Key as a Bearer token in the Authorization request header.
Authorization: Bearer <api-key>Query parameters
3Fields
stringrequired
Major browser engine version confirmed as available by the browser engine options endpoint
minLength: 1stringrequired
Operating system emulated by the profile fingerprint
Enum
string
Optional OS version. If omitted, a compatible version of the specified operating system is selected randomly.
minLength: 1Request code examples
JavaScript / TypeScript: Node.js 18+ with fetch; PHP: cURL extension; Go: 1.16+; Java: JDK 11+. Replace the token and example parameter values before running.
curl -H 'Authorization: Bearer <TOKEN>' 'http://local.zhongyibrowser.com:39025/api/v1/profile-options/webgl/random?kernel_version=string&system_os=Windows'Responses
Success: code = 0. Failure: code > 0. Select a status to view its fields and example. Expand objects to inspect nested fields. Optional fields may be omitted.
Random WebGL metadata
Body
application/jsonProfileWebglSuccessResponseFields
numberrequired
Business status code; always 0 on success
Enum
stringrequired
Business status message; always success on success
Enum
objectrequiredEndpoint business dataAdditional fields are not allowed.
Additional fields are not allowed.
Generated from the schema; not a live response.
{
"code": 0,
"message": "success",
"data": {
"kernel_version": "string",
"system_os": "Windows",
"system_version": "string",
"vendor": "string",
"renderer": "string"
}
}