API Get a random User-Agent:
1. Request Url:
https:// api.xlogin.us/v1/ua/rand
Request Type: POST
2. Request Url:
https://api.xlogin.us/v1/ua/rand?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&os=x&core=xxx&ver[]=xx&ver[]=xx&type=x
Request Type: GET
Name | Type | Description | required |
token | string | Authentication token | true |
os | string | Windows: "0" Mac: "1" Linux: "2" Android: "3" ios: "4" | true |
core | string | Specify UA-Core random, example: "114" | false |
ver | array | Windows, Android field Windows: [11,10,6] Android: [4,5,...,11,12] | false |
type | string | Android field, Mobile: "0" Pad: "1" | false |
Response
{
"status": "OK",
"value": 200,
"data": {
"ua": "Mozilla/5.0 (Linux; Android 12; SM-A325F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.52 Mobile Safari/537.36"
}
}
Note:
Please refer to the "API Token" tutorial to view your API token.
POST :
GET :