Please update to the latest patch version to use it.
POST /api/v2/browser-profile/create
Description: Create browser profiles, configuring account and password on platforms, cookie, proxy ID, proxy information, fingerprints and so on. Upon successful creation of a browser profile, profile ID will be returned.
Optional Body parameters can be omitted, and the parameter format is JSON.
Name | Type | Necessary | Default | Example | Description |
---|---|---|---|---|---|
name | text | NO | - | user A | The name of the account, no more than 100 characters |
group_id | text | YES | - | 100 | Add to corresponding group. 0: Ungrouped |
remark | text | NO | - | - | Remarks to describe accounts |
platform | text | NO | - | - | ex: facebook.com |
username | text | NO | - | myusername | Platform account username. Fill in at least one of the following: username /password or cookie information. It's not necessary to fill in if duplication is allowed. |
password | text | NO | - | 123456 | Platform account password. Fill in at least one of the following: username /password or cookie information. It's not necessary to fill in if duplication is allowed. |
fakey | text | NO | - | xxxx xxxx xxxx xxxx xxxx | Enter the 2FA-key.This applies to online 2FA code generator, which works similarly to Google Authenticators. |
cookie | text | NO | - | [ { "domain": ".baidu.com", "expirationDate": 1724188800, "name": "BAIDUID", "path": "/", "sameSite": "unspecified", "secure": true, "value": "xxxxxxxxxx", "id": 1 } ] | Fill in at least one of the following: username /password or cookie information. It's not necessary to fill in if duplication is allowed. Format: JSON, Netscape. |
repeat_config | list | NO | - | [2.3] | Account deduplication. Default setting: Allow duplication. 0: Allow duplication; 2: Deduplication based on the account name/password; 3: Deduplication based on cookie; 4: Deduplication based on c_user (c_user is a specific tag for Facebook) |
ignore_cookie_error | text | NO | 0 | 1 | Handling of Cookie Verification Failures. 0:Return an error directly; 1:Filter out the data in the wrong format and keep the cookie in the correct format. Only supports Netscape format. |
tabs | list | NO | - | ["http://www.baidu.com","https://www.google.com"] | The URL address that the profile accesses on startup; If left blank, only the URL specified in the platform will be opened by default. |
user_proxy_config | object | NO | - | {"proxy_type":"http","proxy_host":"123.0.0.1", "proxy_port":"12","proxy_user":"12", "proxy_password":"12","proxy_soft":"luminati"} | Proxy configuration, refer to userProxyConfig ‼️ Note: Either user_proxy_config or proxyid is required. |
proxyid | text | NO | - | XXX | Proxy ID or enter "random" to choose a saved proxy randomly. ‼️ Note: Either user_proxy_config or proxyid is required. |
ip | text | NO | - | xxx.xxx.xxx.xxx | Proxy IP used for an account to log in. Fill in when proxy software is lumauto or oxylabs. |
country | text | NO | - | us | Country or region your proxy belongs to. For lumauto and oxylabs IP please enter country if there is no IP. |
region | text | NO | - | xx | State or province where the proxy belongs. |
city | text | NO | - | xx | City where proxy belongs to. |
ipchecker | text | NO | - | ip2location | IP query channel, support to determine ip2location, ipapi |
sys_app_cate_id | text | NO | 0 | 82 | Passable application category ID, 0 for follow team application |
user_proxy_config | userProxyConfig | Either one of the two fields, proxyid, is required. | - | {"proxy_type":"http","proxy_host":"123.0.0.1", "proxy_port":"12","proxy_user":"12", "proxy_password":"12","proxy_soft":"luminati"} | Account proxy configuration, for details please see parameter object userPorxyConfig userProxyConfig |
proxyid | text | Either user_proxy_config or user_proxy_config is required. | - | xxx | Can be passed proxy id or random (randomize a proxy) |
fingerprint_config | Object | YES | - | {"automatic_timezone": "1","language": ["en-US","en"],"flash": "block","fonts": ["all"],"webrtc": "disabled", "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"} | Account fingerprint configuration, for details please see fingerprint_config |
//Operation succeeded
{
"data": {
"profile_id": "xxxx", // Profile ID
"profile_no": "xxxx" // Profile No.
},
"code": 0,
"msg": "Success"
}
//Operation failed
{
"code":-1,
"data":{},
"msg":"failed"
}