VMLogin Rest API v1

[ Base URL: https://api.vmlogin.com/v1 ]

用户身份验证和API令牌

所有请求都由用户的访问令牌(以登录为基础)进行身份验证。
可以在 https://m.vmlogin.com/member/account/main/index (账号管理 -> 我的账户) 设置令牌

重要!这个身份验证令牌相当于您的帐户密码。保密,不要与第三方分享。

groups

类型 描述 API
GET 创建一个组 /tag/create
GET 删除一组 /tag/remove
GET 重命名一个组 /tag/rename
GET 在您的帐户上获得所有组的列表 /tag/list
GET 移动浏览器配置文件到特定的组 /tag/profile/add
GET 从特定组中删除浏览器配置文件 /tag/profile/remove

profiles

类型 描述 API SOLO TEAM SCALE CUSTOM
POST 创建浏览器配置文件 /profile/create
POST 更新浏览器配置文件设置 /profile/update
GET 浏览器配置文件详情 /profile/detail
GET 浏览器配置文件分享(批量分享) /profile/share
GET 浏览器配置文件取消分享(批量取消分享) /profile/cancelShare
GET 浏览器配置文件移入、移出配置文件仓库(批量转移) /profile/warehouse × × ×
GET 删除浏览器配置文件 /profile/remove
GET 获取所有可用浏览器配置文件的列表 /profile/list



创建一个组(/tag/create)
名称 类型 描述 必传
token string 身份验证令牌 true
name string 组名称 true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae",
    "name": "test"
}


删除一组(/tag/remove)
名称 类型 描述 必传
token string 身份验证令牌 true
tagId string 组ID true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae",
    "tagId": "1024"
}


重命名一个组(/tag/rename)
名称 类型 描述 必传
token string 身份验证令牌 true
name string 组的新名称 true
tagId string 组ID true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae",
    "name": "New name",
    "tagId": "1024"
}


在您的帐户上获得所有组的列表(/tag/list)
名称 类型 描述 必传
token string 身份验证令牌 true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae"
}


移动浏览器配置文件到特定的组(/tag/profile/add)
名称 类型 描述 必传
token string 身份验证令牌 true
tagId string 组ID true
profileId string 浏览器配置文件ID true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae",
    "tagId": "1024",
    "profileId": "56795471-8dc0-414c-9d1a-794e4dd8be99"
}


从特定组中删除浏览器配置文件(/tag/profile/remove)
名称 类型 描述 必传
token string 身份验证令牌 true
tagId string 组ID true
profileId string 浏览器配置文件ID true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae",
    "tagId": "1024",
    "profileId": "56795471-8dc0-414c-9d1a-794e4dd8be99"
}


创建浏览器配置文件(/profile/create)
名称 类型 描述 必传
token string 身份验证令牌 true
Body object 请求主体为 application/json 类型 true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae",
    "Body": {
                "name": "myProfile",
                "notes": "profile notes",
                "iconId": 0,
                "os": "Windows",
                "proxyHost": "127.0.0.1",
                "proxyPort": 1080,
                "proxyUser": "username",
                "proxyPass": "password",
                "proxyType": "HTTP",
                "webRtc": {
                    "type": "FAKE",
                    "fillOnStart": true,
                    "publicIp": "5.5.5.5",
                    "localIps": [
                        "192.168.1.10"
                    ],
                    "localIpsRand": false
                },
                "userAgent": "user_agent_value",
                "screenWidth": 1920,
                "screenHeight": 1080,
                "langHdr": "en-US",
                "acceptLanguage": "en-US,en;q=0.9",
                "platform": "platform_value",
                "product": "Gecko",
                "appName": "Netscape",
                "hardwareConcurrency": 4,
                "doNotTrack": false,
                "mobileEmulation": false,
                "pixelRatio": "1.0",
                "maskFonts": true,
                "fontSetting": {
                    "dynamicFonts": false,
                    "fontList": [
                        "@Microsoft YaHei UI",
                        "@宋体",
                        "MS Outlook"
                    ],
                    "selectAll": false,
                    "clientRects": true,
                    "rand": false
                },
                "canvasDefType": "NOISE",
                "audio": {
                    "noise": true
                },
                "webgl": {
                    "vendor": "vendor_value",
                    "renderer": "renderer_value"
                },
                "timeZoneFillOnStart": false,
                "timeZone": "Europe/Tallinn",
                "mediaDevices": {
                    "videoInputs": 1,
                    "audioInputs": 2,
                    "audioOutputs": 2
                },
                "startUrl": "https://vmlogin.com/",
                "browserSettings": {
                    "pepperFlash": true,
                    "mediaStream": true,
                    "webkitSpeech": true,
                    "fakeUiForMedia": true,
                    "gpuAndPepper3D": true,
                    "ignoreCertErrors": true,
                    "audioMute": true,
                    "disableWebSecurity": true,
                    "disablePdf": true,
                    "touchEvents": true,
                    "hyperlinkAuditing": true
                },
                "localCache": {
                    "deleteCache": true,
                    "deleteCookie": true,
                    "clearCache": true,
                    "clearHistory": true
                },
                "synSettings": {
                    "synCookie": true,
                    "synBookmark": true,
                    "synHistory": true,
                    "synExtension": true,
                    "synKeepKey": true,
                    "synLastTag": true
                },
                "leakProof": {
                    "computerName": "",
                    "macAddress": "",
                    "rand" : [
                        "computerName", 
                        "macAddress"
                    ]
                },
                "browserParams": "",
                "customDns": "",
                "remoteDebug": {
                    "debuggingPort": "",
                    "logLevels": 99
                },
                "pluginFingerprint": {
                    "pluginEnable": true,
                    "list": {
                        "name": [
                            "Chrome PDF Plugin",
                            "Chrome PDF Viewer",
                            "Native Client",
                            "Shockwave Flash"
                        ],
                        "describe": [
                            "Portable Document Format",
                            "-",
                            "-",
                            "Shockwave Flash 32.0 r0"
                        ],
                        "fileName": [
                            "internal-pdf-viewer",
                            "mhjfbmdgcfjbbpaeojofohoefgiehjai",
                            "internal-nacl-plugin",
                            "pepflashplayer.dll"
                        ],
                        "mimeType": [
                            "application/x-google-chrome-pdf",
                            "application/pdf",
                            "application/x-nacl|application/x-pnacl",
                            "application/x-shockwave-flash|application/futuresplash"
                        ],
                        "mimeDescription": [
                            "Portable Document Format",
                            "-",
                            "Native Client Executable|-Portable Native Client Executable",
                            "Shockwave Flash|Shockwave Flash"
                        ],
                        "mimeExtension": [
                            "pdf",
                            "pdf",
                            "|",
                            "swf|spl"
                        ]
                    }
                },
                "unPluginFingerprint": {
                    "list": {
                        "name": [
                            "name"
                        ],
                        "describe": [
                           "describe"
                        ],
                        "fileName": [
                            "fileName"
                        ],
                        "mimeType": [
                            "mimeType"
                        ],
                        "mimeDescription": [
                            "mimeDescription"
                        ],
                        "mimeExtension": [
                            "mimeExtension"
                        ]
                    }
                },
                "tag": "group_name"
            }
}


更新浏览器配置文件设置(/profile/update)
名称 类型 描述 必传
token string 身份验证令牌 true
profileId string 浏览器配置文件ID true
Body object 请求主体为 application/json 类型 true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae",
    "profileId": "56795471-8dc0-414c-9d1a-794e4dd8be99",
    "Body": {
                "name": "myProfile",
                "notes": "profile notes",
                "iconId": 0,
                "os": "Windows",
                "proxyHost": "127.0.0.1",
                "proxyPort": 1080,
                "proxyUser": "username",
                "proxyPass": "password",
                "proxyType": "HTTP",
                "webRtc": {
                    "type": "FAKE",
                    "fillOnStart": true,
                    "publicIp": "5.5.5.5",
                    "localIps": [
                        "192.168.1.10"
                    ],
                    "localIpsRand": false
                },
                "userAgent": "user_agent_value",
                "screenWidth": 1920,
                "screenHeight": 1080,
                "langHdr": "en-US",
                "acceptLanguage": "en-US,en;q=0.9",
                "platform": "platform_value",
                "product": "Gecko",
                "appName": "Netscape",
                "hardwareConcurrency": 4,
                "doNotTrack": false,
                "mobileEmulation": false,
                "pixelRatio": "1.0",
                "maskFonts": true,
                "fontSetting": {
                    "dynamicFonts": false,
                    "fontList": [
                        "@Microsoft YaHei UI",
                        "@宋体",
                        "MS Outlook"
                    ],
                    "selectAll": false,
                    "clientRects": true,
                    "rand": false
                },
                "canvasDefType": "NOISE",
                "audio": {
                    "noise": true
                },
                "webgl": {
                    "vendor": "vendor_value",
                    "renderer": "renderer_value"
                },
                "timeZoneFillOnStart": false,
                "timeZone": "Europe/Tallinn",
                "mediaDevices": {
                    "videoInputs": 1,
                    "audioInputs": 2,
                    "audioOutputs": 4,
                    "rand": {
                        "videoInputs": true,
                        "audioInputs": {
                            "device1": true,
                            "device2": true,
                        },
                        "audioOutputs": {
                            "device3": true,
                            "device4": true
                        }
                    }
                },
                "startUrl": "https://vmlogin.com/",
                "browserSettings": {
                    "pepperFlash": true,
                    "mediaStream": true,
                    "webkitSpeech": true,
                    "fakeUiForMedia": true,
                    "gpuAndPepper3D": true,
                    "ignoreCertErrors": true,
                    "audioMute": true,
                    "disableWebSecurity": true,
                    "disablePdf": true,
                    "touchEvents": true,
                    "hyperlinkAuditing": true
                },
                "localCache": {
                    "deleteCache": true,
                    "deleteCookie": true,
                    "clearCache": true,
                    "clearHistory": true
                },
                "synSettings": {
                    "synCookie": true,
                    "synBookmark": true,
                    "synHistory": true,
                    "synExtension": true,
                    "synKeepKey": true,
                    "synLastTag": true
                },
                "leakProof": {
                    "computerName": "",
                    "macAddress": "",
                    "rand" : [
                        "computerName", 
                        "macAddress"
                    ]
                },
                "browserParams": "",
                "customDns": "",
                "remoteDebug": {
                    "debuggingPort": "",
                    "logLevels": 99
                },
                "pluginFingerprint": {
                    "pluginEnable": true,
                    "list": {
                        "name": [
                            "Chrome PDF Plugin",
                            "Chrome PDF Viewer",
                            "Native Client",
                            "Shockwave Flash"
                        ],
                        "describe": [
                            "Portable Document Format",
                            "-",
                            "-",
                            "Shockwave Flash 32.0 r0"
                        ],
                        "fileName": [
                            "internal-pdf-viewer",
                            "mhjfbmdgcfjbbpaeojofohoefgiehjai",
                            "internal-nacl-plugin",
                            "pepflashplayer.dll"
                        ],
                        "mimeType": [
                            "application/x-google-chrome-pdf",
                            "application/pdf",
                            "application/x-nacl|application/x-pnacl",
                            "application/x-shockwave-flash|application/futuresplash"
                        ],
                        "mimeDescription": [
                            "Portable Document Format",
                            "-",
                            "Native Client Executable|-Portable Native Client Executable",
                            "Shockwave Flash|Shockwave Flash"
                        ],
                        "mimeExtension": [
                            "pdf",
                            "pdf",
                            "|",
                            "swf|spl"
                        ]
                    }
                },
                "unPluginFingerprint": {
                    "list": {
                        "name": [
                            "name"
                        ],
                        "describe": [
                           "describe"
                        ],
                        "fileName": [
                            "fileName"
                        ],
                        "mimeType": [
                            "mimeType"
                        ],
                        "mimeDescription": [
                            "mimeDescription"
                        ],
                        "mimeExtension": [
                            "mimeExtension"
                        ]
                    }
                },
                "tag": "group_name"
            }
}


浏览器配置文件详情(/profile/detail)
名称 类型 描述 必传
token string 身份验证令牌 true
profileId string 浏览器配置文件ID true

Response

{
    "name": "myProfile",
    "proxyHost": "127.0.0.1",
    "proxyPort": 1080,
    "proxyUser": "username",
    "proxyPass": "password",
    "proxyType": "HTTP",
    "tag": "",
    "notes": "profile notes",
    "userAgent": "user_agent_value",
    "canvasDefType": "NOISE",
    "maskFonts": true,
    "platform": "platform_value",
    "langHdr": "en-US",
    "screenHeight": 1080,
    "screenWidth": 1920,
    "timeZoneFillOnStart": false,
    "timeZone": "Europe/Tallinn",
    "startUrl": "https://vmlogin.com/",
    "audio": {
        "noise": true
    },
    "mediaDevices": {
        "audioInputs": 2,
        "audioOutputs": 2,
        "videoInputs": 1
    },
    "webgl": {
        "noise": true,
        "vendor": "vendor_value",
        "renderer": "renderer_value"
    },
    "webRtc": {
        "type": "FAKE",
        "fillOnStart": true,
        "publicIp": "",
        "localIps": [
            "192.168.1.10"
        ]
    },
    "browserSettings": {
        "pepperFlash": true,
        "mediaStream": true,
        "webkitSpeech": true,
        "fakeUiForMedia": true,
        "gpuAndPepper3D": true,
        "ignoreCertErrors": true,
        "audioMute": true,
        "disableWebSecurity": true,
        "disablePdf": true,
        "touchEvents": true,
        "hyperlinkAuditing": true
    },
    "localCache": {
        "deleteCache": true,
        "deleteCookie": true,
        "clearCache": false,
        "clearHistory": true
    },
    "synSettings": {
        "synCookie": true,
        "synBookmark": true,
        "synHistory": true,
        "synExtension": true,
        "synKeepKey": true,
        "synLastTag": true
    },
    "leakProof": {
        "computerName": "DESKTOP-PPVAJBW",
        "macAddress": "3f:9d:82:8b:d8:a2"
    },
    "browserParams": "",
    "customDns": "",
    "remoteDebug": {
        "debuggingPort": "",
        "logLevels": 99
    },
    "pluginFingerprint": {
        "pluginEnable": false,
        "list": {
            "name": [
                "Chrome PDF Plugin",
                "Chrome PDF Viewer",
                "Native Client",
                "Shockwave Flash"
            ],
            "describe": [
                "Portable Document Format",
                "-",
                "-",
                "Shockwave Flash 32.0 r0"
            ],
            "fileName": [
                "internal-pdf-viewer",
                "mhjfbmdgcfjbbpaeojofohoefgiehjai",
                "internal-nacl-plugin",
                "pepflashplayer.dll"
            ],
            "mimeType": [
                "application/x-google-chrome-pdf",
                "application/pdf",
                "application/x-nacl|application/x-pnacl",
                "application/x-shockwave-flash|application/futuresplash"
            ],
            "mimeDescription": [
                "Portable Document Format",
                "-",
                "Native Client Executable|-Portable Native Client Executable",
                "Shockwave Flash|Shockwave Flash"
            ],
            "mimeExtension": [
                "pdf",
                "pdf",
                "|",
                "swf|spl"
            ]
        }
    },
    "unPluginFingerprint": {
        "list": {
            "name": [
                "name"
            ],
            "describe": [
                "describe"
            ],
            "fileName": [
                "fileName"
            ],
            "mimeType": [
                "mimeType"
            ],
            "mimeDescription": [
                "mimeDescription"
            ],
            "mimeExtension": [
                "mimeExtension"
            ]
        }
    },
    "acceptLanguage": "en-US,en;q=0.9",
    "hardwareConcurrency": 4,
    "dynamicFonts": false,
    "fontList": [
        "@Microsoft YaHei UI",
        "@宋体",
        "MS Outlook"
    ],
    "clientRects": true,
    "fontSetting": {
        "dynamicFonts": false,
        "fontList": [
            "@Microsoft YaHei UI",
            "@宋体",
            "MS Outlook"
        ],
        "clientRects": true
    },
    "doNotTrack": false,
    "product": "Gecko",
    "appName": "Netscape",
    "iconId": 0,
    "mobileEmulation": false,
    "pixelRatio": "1.0",
    "os": "Windows"
}


浏览器配置文件分享(批量分享)(/profile/share)
名称 类型 描述 必传
token string 身份验证令牌 true
profileId string 浏览器配置文件ID(多条以,拼接) true
account string 需要分享的账户邮箱(无法分享给自己) true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae",
    "profileId": "56795471-8dc0-414c-9d1a-794e4dd8be99,5F602D27-DE4C-498E-91DC-C05C8AC024F0",
    "account": "support@vmlogin.com"
}

Response

{
    "status": "Share success",
    "value": 200
}


浏览器配置文件取消分享(批量取消分享)(/profile/cancelShare)
名称 类型 描述 必传
token string 身份验证令牌 true
profileId string 浏览器配置文件ID(多条以,拼接) true
account string 取消分享的账户邮箱(可以是自己)。如果不是自己,那么配置文件就得是自己的(成员无法取消成员) true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae",
    "profileId": "56795471-8dc0-414c-9d1a-794e4dd8be99,5F602D27-DE4C-498E-91DC-C05C8AC024F0",
    "account": "support@vmlogin.com"
}

Response

{
    "status": "Cancel share success",
    "value": 200,
    "data": {
        "rows": 2
    }
}


浏览器配置文件移入、移出配置文件仓库(批量转移)(/profile/warehouse)
名称 类型 描述 必传
token string 身份验证令牌 true
profileId string 浏览器配置文件ID(多条以,拼接) true
action string set: 入库 get: 出库 true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae",
    "profileId": "56795471-8dc0-414c-9d1a-794e4dd8be99,5F602D27-DE4C-498E-91DC-C05C8AC024F0",
    "action": "set"
}

Response

{
    "status": "success",
    "value": 200,
    "data": {
        "count": 2
    }
}


删除浏览器配置文件(/profile/remove)
名称 类型 描述 必传
token string 身份验证令牌 true
profileId string 浏览器配置文件ID true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae",
    "profileId": "56795471-8dc0-414c-9d1a-794e4dd8be99"
}


获取所有可用浏览器配置文件的列表(/profile/list)
名称 类型 描述 必传
token string 身份验证令牌 true

Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae"
}


Models

CreateUpdateOkResponse

{
    "status": "OK",
    "value": "56795471-8dc0-414c-9d1a-794e4dd8be99" //example: profile id
}


CreateUpdateErrorResponse

{
    "status": "ERROR",
    "value": "1024"
}


ListGroupsOkResponse

{
    "data": [
        {
            "sid": "1024",
            "name": "test"
        }
    ],
    "paging": {
        "totalCount": 1,
        "currentPage": 1
    }
}


CreateRenameGroupOkResponse

{
    "status": "OK",
    "value": "1024"
}


createProfileRequest

{
    "name": "myProfile", // 基础设置 -> 显示名称
    "notes": "profile notes", // 基础设置 -> 备注信息
    "iconId": 0, // 基础设置 -> ICON 图标 0 ~ 30
    "os": "Windows", // 基础设置 -> 操作系统
    "proxyHost": "127.0.0.1", // 基础设置 -> 设置代理服务器 -> IP地址
    "proxyPort": 1080, // 基础设置 -> 设置代理服务器 -> 端口
    "proxyUser": "username", // 基础设置 -> 设置代理服务器 -> 登录用户
    "proxyPass": "password", // 基础设置 -> 设置代理服务器 -> 登录密码
    "proxyType": "HTTP", // 基础设置 -> 设置代理服务器 -> 代理类型(HTTP、SOCKS4、SOCKS5)
    "webRtc": {
        "type": "FAKE", // 基础设置 -> WebRtc OFF:【真实模式】启用webrtc插件  BLOCK:【禁用模式】禁用webrtc插件  FAKE:【替换模式】返回指定的IP地址
        "fillOnStart": true, // 基础设置 -> 自动检测IP
        "publicIp": "5.5.5.5", // 基础设置 -> 公网IP
        "localIps": [
            "192.168.1.10" // 基础设置 -> 内网IP
        ],
        "localIpsRand": false // 基础设置 -> 内网IP 随机
    },
    "userAgent": "user_agent_value", // Navigator参数 -> User-Agent
    "screenWidth": 1920, // Navigator参数 -> 分辨率宽度
    "screenHeight": 1080, // Navigator参数 -> 分辨率高度
    "langHdr": "en-US", // Navigator参数 -> 语言
    "acceptLanguage": "en-US,en;q=0.9", // Navigator参数 -> Accept-Language
    "platform": "platform_value", // Navigator参数 -> Platform
    "product": "Gecko", // Navigator参数 -> Product
    "appName": "Netscape", // Navigator参数 -> appName
    "hardwareConcurrency": 4, // Navigator参数 -> hardwareConcurrency(1 ~ 64)
    "doNotTrack": false, // Navigator参数 -> doNotTrack
    "mobileEmulation": false, // Navigator参数 -> 移动仿真
    "pixelRatio": "1.0", // Navigator参数 -> Device pixel Ratio
    "maskFonts": true, // 高级指纹保护设置 -> 启用【字体】指纹保护
    "fontSetting": {
        "dynamicFonts": false, // 高级指纹保护设置 -> 设置字体 -> 不使用字体列表,每次动态随机(false:使用 true:不使用)
        "fontList": [
            "@Microsoft YaHei UI",
            "@宋体",
            "MS Outlook"
        ],
        "selectAll": false, // 高级指纹保护设置 -> 设置字体 -> 全选
        "clientRects": true, // 高级指纹保护设置 -> 设置字体 -> ClientRects指纹增强保护
        "rand": false // 高级指纹保护设置 -> 设置字体 -> 随机字体
    },
    "canvasDefType": "NOISE", // 高级指纹保护设置 -> 【Canvas】保护(类型):NOISE:噪声模式B(A、C为旧版本兼容,不推荐使用);OFF:不启用;BLOCK:封锁模式
    "audio": {
        "noise": true // 高级指纹保护设置 -> 启用硬件指纹【AudioContext】保护(噪声模式)
    },
    "webgl": {
        "vendor": "vendor_value", // 高级指纹保护设置 -> 启用硬件指纹【WebGL】保护 -> WebGL vendor
        "renderer": "renderer_value" // 高级指纹保护设置 -> 启用硬件指纹【WebGL】保护 -> WebGL renderer
    },
    "timeZoneFillOnStart": false, // 高级指纹保护设置 -> 启用基于IP设置时区
    "timeZone": "Europe/Tallinn", // 高级指纹保护设置 -> 手工指定时区
    "mediaDevices": {
        "videoInputs": 1, // 媒体设备指纹设置 -> 视频输入(取值范围 0 ~ 1)
        "audioInputs": 2, // 媒体设备指纹设置 -> 音频输入(取值范围 0 ~ 4)
        "audioOutputs": 4, // 媒体设备指纹设置 -> 音频输出(取值范围 0 ~ 4)
        // 更新时指定具体的媒体设备进行更新(重新随机),默认false(不更新)。创建时无需传递此参数
        "rand": {
             // boolean 或者 object  boolean:device1 ~ device4 全部随机并重置;object:具体的 device 随机并重置
            "videoInputs": true,
            // boolean 或者 object  boolean:device1 ~ device4 全部随机并重置;object:具体的 device 随机并重置
            "audioInputs": {
                "device1": true,
                "device2": true,
            },
             // boolean 或者 object  boolean:device1 ~ device4 全部随机并重置;object:具体的 device 随机并重置
            "audioOutputs": {
                "device3": true,
                "device4": true
            }
        }
    },
    "startUrl": "https://vmlogin.com/", // 默认首页
    "browserSettings": {
        "pepperFlash": true, // 其他配置 -> 启用Pepper Flash插件
        "mediaStream": true, // 其他配置 -> 启用媒体(WebRTC音频/视频)流
        "webkitSpeech": true, // 其他配置 -> 启用语音输入(x-webkit-speech)
        "fakeUiForMedia": true, // 其他配置 -> 通过选择媒体流的默认设备绕过媒体流信息栏
        "gpuAndPepper3D": true, // 其他配置 -> 启用GPU插件和Pepper 3D渲染
        "ignoreCertErrors": true, // 其他配置 -> 忽略网站证书错误
        "audioMute": true, // 其他配置 -> 音频静音
        "disableWebSecurity": true, // 其他配置 -> 不强制执行同一源策略
        "disablePdf": true, // 其他配置 -> 禁用PDF扩展
        "touchEvents": true, // 其他配置 -> 启用对触摸事件功能检测的支持
        "hyperlinkAuditing": true // 其他配置 -> 链接审计(hyperlink auditing)可用于追踪网站链接的点击次数
    },
    "localCache": {
        "deleteCache": true, // 其他配置 -> 本地缓存 -> 启动浏览器前删除缓存文件
        "deleteCookie": true, // 其他配置 -> 本地缓存 -> 启动浏览器前删除Cookie
        "clearCache": true, // 其他配置 -> 本地缓存 -> 浏览器关闭时清理文件缓存
        "clearHistory": true // 其他配置 -> 本地缓存 -> 浏览器关闭时删除历史记录
    },
    "synSettings": {
        "synCookie": true, // 其他配置 -> 同步设置 -> 同步保存Cookie
        "synBookmark": true, // 其他配置 -> 同步设置 -> 同步保存书签
        "synHistory": true, // 其他配置 -> 同步设置 -> 同步历史记录
        "synExtension": true, // 其他配置 -> 同步设置 -> 同步扩展插件
        "synKeepKey": true, // 其他配置 -> 同步设置 -> 同步保存密码
        "synLastTag": true // 其他配置 -> 同步设置 -> 同步近期标签页
    },
    "leakProof": {
        "computerName": "", // 其他配置 -> 防泄露设置 -> 电脑名称
        "macAddress": "", // 其他配置 -> 防泄露设置 -> Mac 地址
        "rand" : [
            "computerName",  // 其他配置 -> 防泄露设置 -> 随机(需要随机的键名)
            "macAddress"
        ]
    },
    "browserParams": "", // 其他配置 -> 自定义 -> 自定义启动浏览器参数
    "customDns": "", // 其他配置 -> 自定义 -> 自定义DNS
    "remoteDebug": {
        "debuggingPort": "", // 其他配置 -> 远程调试功能 -> 远程调试端口
        "logLevels": 99 // 其他配置 -> 远程调试功能 -> 调试日志级别:0:DEFAULT 1: VERBOSE 99: DISABLE
    },
    "pluginFingerprint": { // 浏览插件指纹 -> 插件列表
        "pluginEnable": true, // 浏览插件指纹 -> 启用自定义插件信息
        "list": { // 浏览插件指纹 -> 插件列表(selected 选中的)
            // 插件名称
            "name": [
                "Chrome PDF Plugin",
                "Chrome PDF Viewer",
                "Native Client",
                "Shockwave Flash"
            ],
            // 描述
            "describe": [
                "Portable Document Format",
                "-",
                "-",
                "Shockwave Flash 32.0 r0"
            ],
            // 文件名称
            "fileName": [
                "internal-pdf-viewer",
                "mhjfbmdgcfjbbpaeojofohoefgiehjai",
                "internal-nacl-plugin",
                "pepflashplayer.dll"
            ],
            // mime type
            "mimeType": [
                "application/x-google-chrome-pdf",
                "application/pdf",
                "application/x-nacl|application/x-pnacl",
                "application/x-shockwave-flash|application/futuresplash"
            ],
            // mime 描述
            "mimeDescription": [
                "Portable Document Format",
                "-",
                "Native Client Executable|-Portable Native Client Executable",
                "Shockwave Flash|Shockwave Flash"
            ],
            // mime 扩展名
            "mimeExtension": [
                "pdf",
                "pdf",
                "|",
                "swf|spl"
            ]
        }
    },
    "unPluginFingerprint": { // 浏览插件指纹 -> 插件列表
        "list": { // 浏览插件指纹 -> 插件列表(未选中的)
            "name": [
                "name"
            ],
            "describe": [
               "describe"
            ],
            "fileName": [
                "fileName"
            ],
            "mimeType": [
                "mimeType"
            ],
            "mimeDescription": [
                "mimeDescription"
            ],
            "mimeExtension": [
                "mimeExtension"
            ]
        }
    },
    "tag": "group_name" // 组名称
}


devicesOS

{
    "os": [
        "Windows",
        "Mac OS",
        "Linux",
        "iPad",
        "iPad Mini",
        "iPad Pro",
        "iPhone 4",
        "iPhone 5",
        "iPhone 5/SE",
        "iPhone SE",
        "iPhone 6",
        "iPhone 6/7/8",
        "iPhone 6 Plus",
        "iPhone 6/7/8 Plus",
        "iPhone 7",
        "iPhone 7 Plus",
        "iPhone 8",
        "iPhone 8 Plus",
        "iPhone X",
        "Laptop with touch",
        "BlackBerry Z30",
        "Blackberry PlayBook",
        "Nexus 4",
        "Nexus 5",
        "Nexus 5X",
        "Nexus 6",
        "Nexus 6P",
        "Nexus 7",
        "Nexus 10",
        "Pixel 2",
        "Pixel 2 XL",
        "Nokia N9",
        "Nokia Lumia 520",
        "Microsoft Lumia 550",
        "Microsoft Lumia 950",
        "Galaxy S5",
        "Galaxy S III",
        "Galaxy Note II",
        "Galaxy Note 3",
        "Kindle Fire HDX",
        "LG Optimus L70"
    ]
}


acceptLanguage

{
    "acceptLanguage": [
        "en-US,en;q=0.9",
        "zh-CN,zh;q=0.9",
        "en-GB,en;q=0.9",
        "zh-HK,zh;q=0.9",
        "zh-TW,zh;q=0.9",
        "zh-MO,zh;q=0.9",
        "zh-SG,zh;q=0.9",
        "ja-JP,ja;q=0.9",
        "ko-KR,ko;q=0.9",
        "fr-FR,fr;q=0.9",
        "ru-RU,ru;q=0.9",
        "en-SG,en;q=0.9",
        "en-JM,en;q=0.9",
        "en-MY,en;q=0.9",
        "en-ZW,en;q=0.9",
        "en-CA,en;q=0.9",
        "en-PH,en;q=0.9",
        "en-BZ,en;q=0.9",
        "en-AU,en;q=0.9",
        "en-IE,en;q=0.9",
        "vi-VN,vi;q=0.9",
        "en-IN,en;q=0.9",
        "de-DE,de;q=0.9",
        "de-LU,de;q=0.9",
        "da-DK,de;q=0.9",
        "fr-BE,fr;q=0.9",
        "fr-CA,fr;q=0.9",
        "fr-LU,fr;q=0.9",
        "fr-MC,fr;q=0.9",
        "fr-CH,fr;q=0.9",
        "fil-PH,fil;q=0.9",
        "id-ID,id;q=0.9",
        "it-CH,it;q=0.9",
        "it-IT,it;q=0.9",
        "el-GR,el;q=0.9",
        "es-CL,es;q=0.9",
        "es-PE,es;q=0.9",
        "es-CO,es;q=0.9",
        "es-PA,es;q=0.9",
        "es-VE,es;q=0.9",
        "es-UY,es;q=0.9",
        "es-ES,es;q=0.9",
        "uk-UA,uk;q=0.9",
        "tr-TR,tr;q=0.9",
        "sv-FI,sv;q=0.9",
        "sv-SE,sv;q=0.9"
    ]
}


fontList

{
    "fontList": [
        "@Fixedsys",
        "@Malgun Gothic",
        "@Malgun Gothic Semilight",
        "@Microsoft JhengHei",
        "@Microsoft JhengHei Light",
        "@Microsoft JhengHei UI",
        "@Microsoft JhengHei UI Light",
        "@Microsoft YaHei UI",
        "@Microsoft YaHei UI Light",
        "@MingLiU_HKSCS-ExtB",
        "@MingLiU-ExtB",
        "@MS Gothic",
        "@MS PGothic",
        "@MS UI Gothic",
        "@PMingLiU-ExtB",
        "@SimSun-ExtB",
        "@System",
        "@Terminal",
        "@Yu Gothic",
        "@Yu Gothic Light",
        "@Yu Gothic Medium",
        "@Yu Gothic UI",
        "@Yu Gothic UI Light",
        "@Yu Gothic UI Semibold",
        "@Yu Gothic UI Semilight",
        "@等线",
        "@等线 Light",
        "@方正舒体",
        "@方正姚体",
        "@仿宋",
        "@黑体",
        "@华文彩云",
        "@华文仿宋",
        "@华文行楷",
        "@华文琥珀",
        "@华文楷体",
        "@华文隶书",
        "@华文宋体",
        "@华文细黑",
        "@华文新魏",
        "@华文中宋",
        "@楷体",
        "@隶书",
        "@宋体",
        "@微软雅黑",
        "@微软雅黑 Light",
        "@新宋体",
        "@幼圆",
        "Agency FB",
        "Algerian",
        "Arial",
        "Arial Black",
        "Arial Narrow",
        "Arial Rounded MT Bold",
        "Bahnschrift",
        "Bahnschrift Condensed",
        "Bahnschrift Light",
        "Bahnschrift Light Condensed",
        "Bahnschrift Light SemiCondensed",
        "Bahnschrift SemiBold",
        "Bahnschrift SemiBold Condensed",
        "Bahnschrift SemiBold SemiConden",
        "Bahnschrift SemiCondensed",
        "Bahnschrift SemiLight",
        "Bahnschrift SemiLight Condensed",
        "Bahnschrift SemiLight SemiConde",
        "Baskerville Old Face",
        "Bauhaus ",
        "Bell MT",
        "Berlin Sans FB",
        "Berlin Sans FB Demi",
        "Bernard MT Condensed",
        "Blackadder ITC",
        "Bodoni MT",
        "Bodoni MT Black",
        "Bodoni MT Condensed",
        "Bodoni MT Poster Compressed",
        "Book Antiqua",
        "Bookman Old Style",
        "Bookshelf Symbol ",
        "Bradley Hand ITC",
        "Britannic Bold",
        "Broadway",
        "Brush Script MT",
        "Calibri",
        "Calibri Light",
        "Californian FB",
        "Calisto MT",
        "Cambria",
        "Cambria Math",
        "Candara",
        "Candara Light",
        "Castellar",
        "Centaur",
        "Century",
        "Century Gothic",
        "Century Schoolbook",
        "Chiller",
        "Colonna MT",
        "Comic Sans MS",
        "Consolas",
        "Constantia",
        "Cooper Black",
        "Copperplate Gothic Bold",
        "Copperplate Gothic Light",
        "Corbel",
        "Corbel Light",
        "Courier",
        "Courier New",
        "Curlz MT",
        "Default",
        "DejaVu Sans Mono",
        "Dubai",
        "Dubai Light",
        "Dubai Medium",
        "Ebrima",
        "Edwardian Script ITC",
        "Elephant",
        "Engravers MT",
        "Eras Bold ITC",
        "Eras Demi ITC",
        "Eras Light ITC",
        "Eras Medium ITC",
        "Felix Titling",
        "Fixedsys",
        "Footlight MT Light",
        "Forte",
        "Franklin Gothic Book",
        "Franklin Gothic Demi",
        "Franklin Gothic Demi Cond",
        "Franklin Gothic Heavy",
        "Franklin Gothic Medium",
        "Franklin Gothic Medium Cond",
        "Freestyle Script",
        "French Script MT",
        "Gabriola",
        "Gadugi",
        "Garamond",
        "Georgia",
        "Gigi",
        "Gill Sans MT",
        "Gill Sans MT Condensed",
        "Gill Sans MT Ext Condensed Bold",
        "Gill Sans Ultra Bold",
        "Gill Sans Ultra Bold Condensed",
        "Gloucester MT Extra Condensed",
        "Goudy Old Style",
        "Goudy Stout",
        "Haettenschweiler",
        "Harlow Solid Italic",
        "Harrington",
        "High Tower Text",
        "HoloLens MDL Assets",
        "HP Simplified",
        "HP Simplified Light",
        "Impact",
        "Imprint MT Shadow",
        "Informal Roman",
        "Ink Free",
        "Javanese Text",
        "jdFontAwesome",
        "jdFontCustom",
        "jdIcoFont",
        "jdIcoMoonFree",
        "jdiconfontA",
        "jdiconfontB",
        "jdiconfontC",
        "jdiconfontD",
        "JdIonicons",
        "Jokerman",
        "Juice ITC",
        "Kristen ITC",
        "Kunstler Script",
        "Leelawadee UI",
        "Leelawadee UI Semilight",
        "Lucida Bright",
        "Lucida Calligraphy",
        "Lucida Console",
        "Lucida Fax",
        "Lucida Handwriting",
        "Lucida Sans",
        "Lucida Sans Typewriter",
        "Lucida Sans Unicode",
        "Magneto",
        "Maiandra GD",
        "Malgun Gothic",
        "Malgun Gothic Semilight",
        "Marlett",
        "Matura MT Script Capitals",
        "Microsoft Himalaya",
        "Microsoft JhengHei",
        "Microsoft JhengHei Light",
        "Microsoft JhengHei UI",
        "Microsoft JhengHei UI Light",
        "Microsoft New Tai Lue",
        "Microsoft PhagsPa",
        "Microsoft Sans Serif",
        "Microsoft Tai Le",
        "Microsoft YaHei UI",
        "Microsoft YaHei UI Light",
        "Microsoft Yi Baiti",
        "MingLiU_HKSCS-ExtB",
        "MingLiU-ExtB",
        "Mistral",
        "Modern",
        "Modern No. ",
        "Monaco",
        "Mongolian Baiti",
        "Monotype Corsiva",
        "MS Gothic",
        "MS Outlook",
        "MS PGothic",
        "MS Reference Sans Serif",
        "MS Reference Specialty",
        "MS Sans Serif",
        "MS Serif",
        "MS UI Gothic",
        "MT Extra",
        "MV Boli",
        "Myanmar Text",
        "Niagara Engraved",
        "Niagara Solid",
        "Nirmala UI",
        "Nirmala UI Semilight",
        "OCR A Extended",
        "Old English Text MT",
        "Onyx",
        "Palace Script MT",
        "Palatino Linotype",
        "Papyrus",
        "Parchment",
        "Perpetua",
        "Perpetua Titling MT",
        "Playbill",
        "PMingLiU-ExtB",
        "Poor Richard",
        "Pristina",
        "Rage Italic",
        "Ravie",
        "Rockwell",
        "Rockwell Condensed",
        "Rockwell Extra Bold",
        "Roman",
        "Script",
        "Script MT Bold",
        "Segoe MDL Assets",
        "Segoe Print",
        "Segoe Script",
        "Segoe UI",
        "Segoe UI Black",
        "Segoe UI Emoji",
        "Segoe UI Historic",
        "Segoe UI Light",
        "Segoe UI Semibold",
        "Segoe UI Semilight",
        "Segoe UI Symbol",
        "Showcard Gothic",
        "SimSun-ExtB",
        "Sitka Banner",
        "Sitka Display",
        "Sitka Heading",
        "Sitka Small",
        "Sitka Subheading",
        "Sitka Text",
        "Small Fonts",
        "Snap ITC",
        "Stencil",
        "Sylfaen",
        "Symbol",
        "System",
        "Tahoma",
        "Tempus Sans ITC",
        "Terminal",
        "Times New Roman",
        "Trebuchet MS",
        "Tw Cen MT",
        "Tw Cen MT Condensed",
        "Tw Cen MT Condensed Extra Bold",
        "Verdana",
        "Viner Hand ITC",
        "Vivaldi",
        "Vladimir Script",
        "Webdings",
        "Wide Latin",
        "Wingdings",
        "Wingdings ",
        "Wingdings ",
        "Yu Gothic",
        "Yu Gothic Light",
        "Yu Gothic Medium",
        "Yu Gothic UI",
        "Yu Gothic UI Light",
        "Yu Gothic UI Semibold",
        "Yu Gothic UI Semilight",
        "等线",
        "等线 Light",
        "方正舒体",
        "方正姚体",
        "仿宋",
        "黑体",
        "华文彩云",
        "华文仿宋",
        "华文行楷",
        "华文琥珀",
        "华文楷体",
        "华文隶书",
        "华文宋体",
        "华文细黑",
        "华文新魏",
        "华文中宋",
        "楷体",
        "隶书",
        "宋体",
        "微软雅黑",
        "微软雅黑 Light",
        "新宋体",
        "幼圆"
    ]
}


acceptLanguage

{
    "hardwareConcurrency": 
}

ListProfilesOkResponse

{
    "data": [
        {
            "sid": "56795471-8dc0-414c-9d1a-794e4dd8be99",
            "name": "testProfile"
        }
    ],
    "paging": {
        "totalCount": 1,
        "currentPage": 1
    }
}



VMLogin Local REST API

[ Base URL: http://127.0.0.1:35000/api/v1 ]

您可以使用本地REST API来启动/停止、检查配置文件是否正在运行、在本地创建配置文件浏览器并启动。

Type 描述 API SOLO TEAM SCALE CUSTOM
GET 启动配置文件浏览器 /profile/start
GET 停止配置文件浏览器 /profile/stop
GET 检查配置文件是否正在运行 /profile/active
GET 随机获取配置信息 /profile/randomProfile
GET 删除一个配置文件本地临时文件夹 /profile/delete
POST 在本地创建浏览器配置文件并启动 /profile/create_start × ×
GET 从配置文件导出cookie /profile/cookies/export/webext
POST 将cookie导入配置文件浏览器 /profile/cookies/import/webext
启动配置文件浏览器(/profile/start)
名称 类型 描述 必传
profileId string 浏览器配置文件ID true
skiplock boolean 跳过会话锁启动浏览器 false

Body
x-www-form-urlencoded

{
    "profileId": "7B4B05BA-8050-4236-B26B-06E4464CA287",
    "skiplock": true
}


停止配置文件浏览器(/profile/stop)
名称 类型 描述 必传
profileId string 浏览器配置文件ID true

Body
x-www-form-urlencoded

{
    "profileId": "7B4B05BA-8050-4236-B26B-06E4464CA287"
}


检查配置文件是否正在运行(/profile/active)
名称 类型 描述 必传
profileId string 浏览器配置文件ID true

Body
x-www-form-urlencoded

{
    "profileId": "7B4B05BA-8050-4236-B26B-06E4464CA287"
}


随机获取配置信息(/profile/randomProfile)
名称 类型 描述 必传
platform string Windows Linux Macintosh Android iPhone Chrome Firefox Edge true
langHdr string en-US false
acceptLanguage string en-US,en;q=0.9 false
timeZone string America/New_York false

Body
x-www-form-urlencoded

{
    "platform": "Windows",
    "langHdr": "en-US",
    "acceptLanguage": "en-US,en;q=0.9",
    "timeZone": "America/New_York"
}


删除一个配置文件本地临时文件夹(/profile/delete)
名称 类型 描述 必传
profileId string 浏览器配置文件ID true

Body
x-www-form-urlencoded

{
    "profileId": "7B4B05BA-8050-4236-B26B-06E4464CA287"
}


在本地创建浏览器配置文件并启动(/profile/create_start)

Body
x-www-form-urlencoded

base64_encode({
    "proxyHost": "127.0.0.1",
    "proxyPort": 1080,
    "proxyUser": "username",
    "proxyPass": "password",
    "proxyType": "HTTP", // HTTP/SOCKS4/SOCKS5
    "userAgent": "user_agent_value",
    "disablePlugins": true,
    "canvasDefType": "NOISE", // NOISE/OFF/BLOCK
    "maskFonts": true,
    "platform": "platform_value",
    "langHdr": "en-US",
    "screenHeight": 900,
    "screenWidth": 1000,
    "timeZone": "Europe/Tallinn",
    "timeZoneFillOnStart": true,
    "startUrl": "https://vmlogin.com/",
    "audio": {
        "noise": true
    },
    "mediaDevices": {
        "audioInputs": 3,
        "audioOutputs": 2,
        "videoInputs": 1
    },
    "webgl": {
        "noise": true,
        "vendor": "vendor_value",
        "renderer": "renderer_value"
    },
    "webRtc": {
        "type": "FAKE",
        "fillOnStart": true,
        "publicIp": "6.6.6.6",
        "localIps": "192.168.1.100"
    }
})

如果不需要设置代理服务器,请删除proxyType/proxyHost/proxyPort/proxyUser/proxyPass
这个API没有速率限制
所有字段都是可选的,而不是必需的。由此API创建的浏览器配置文件暂时离线,不会与服务器同步。

从配置文件导出cookie(/profile/cookies/export/webext)
名称 类型 描述 必传
profileId string 浏览器配置文件ID true

Body
x-www-form-urlencoded

{
    "profileId": "7B4B05BA-8050-4236-B26B-06E4464CA287"
}


将cookie导入配置文件浏览器 (/profile/cookies/import/webext)
名称 类型 描述 必传
profileId string 浏览器配置文件ID true
body string cookie json (need base64 encode ) true

Body
x-www-form-urlencoded

{
    "profileId": "7B4B05BA-8050-4236-B26B-06E4464CA287",
    "body": [
                {
                    "hostOnly": false,
                    "secure": false,
                    "httpOnly": false,
                    "domain": ".vmlogin.com",
                    "session": false,
                    "expirationDate": 1620743803,
                    "value": "Xrli9YsFVTw.0AAAEC",
                    "path": "\/",
                    "name": "CMID",
                    "storeId": null,
                    "sameSite": "unspecified"
                },
                {
                    "hostOnly": false,
                    "secure": false,
                    "httpOnly": false,
                    "domain": ".vmlogin.com",
                    "session": false,
                    "expirationDate": 1596983803,
                    "value": "9960",
                    "path": "\/",
                    "name": "CMPRO",
                    "storeId": null,
                    "sameSite": "unspecified"
                }
            ]
}


Models

ExportImportCookiesOkResponse

{
    "status": "OK",
    "value": "base64 encode cookie json"
}


ExportImportCookiesErrorResponse

{
    "status": "ERROR",
    "value": "No profile file cookie found." // example: error details
}


ConfigurationInformationRandomOkResponse

{
    "screenHeight": 1080,
    "clientRects": true,
    "appName": "Netscape",
    "timeZone": "Asia\/Shanghai",
    "product": "Gecko",
    "timeZoneFillOnStart": true,
    "dynamicFonts": true,
    "browserSettings": {
        "hyperlinkAuditing": true,
        "touchEvents": false,
        "gpuAndPepper3D": true,
        "ignoreCertErrors": false,
        "fakeUiForMedia": true,
        "webkitSpeech": true,
        "audioMute": false,
        "disableWebSecurity": false,
        "mediaStream": true,
        "disablePdf": false,
        "pepperFlash": false
    },
    "canvasDefType": "NOISE",
    "mediaDevices": {
        "videoInputs": 1,
        "audioInputs": 2,
        "audioOutputs": 1
    },
    "doNotTrack": false,
    "acceptLanguage": "zh-CN,zh;q=0.9",
    "maskFonts": true,
    "webgl": {
        "renderer": "Microsoft Basic Render Driver",
        "noise": true,
        "vendor": "Microsoft"
    },
    "langHdr": "zh-CN",
    "pluginFingerprint": {
        "pluginEnable": false
    },
    "screenWidth": 1920,
    "userAgent": "Mozilla\/5.0 (Windows NT 6.1; WOW64; Trident\/7.0; rv:11.0) like Gecko",
    "audio": {
        "noise": true
    },
    "platform": "Win64",
    "webRtc": {
        "localIps": [
            "172.16.238.250"
        ],
        "publicIp": "45.121.210.192",
        "type": "BLOCK",
        "fillOnStart": false
    },
    "hardwareConcurrency": 6
}