API Automation

API Get a random User-Agent

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


NameTypeDescriptionrequired
tokenstringAuthentication tokentrue
osstringWindows: "0" Mac: "1" Linux: "2" Android: "3" ios: "4"true
corestringSpecify UA-Core random, example: "114"false
verarrayWindows, Android field
Windows: [11,10,6] Android: [4,5,...,11,12]
false
typestringAndroid 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 :