Get a random operating system supported by a browser engine
Within the compatibility range of the specified available browser engine, randomly select an operating system, OS version, and UA major version in sequence. The four returned fields can be used directly as one set of profile options.
Request parameters
Authorization Bearer Token
Include your API Key as a Bearer token in the Authorization request header.
Authorization: Bearer <api-key>Query parameters
1"138"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/systems/random?kernel_version=138'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 operating system compatibility options
Body
application/jsonProfileSystemRandomSuccessResponseobjectrequiredEndpoint 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",
"ua_version": "string"
}
}