Current page number (starts from 1)
Local API (1.0.0)
The MoreLogin API offers a comprehensive and developer-friendly RESTful interface that empowers you to programmatically manage browser profiles, cloud phones, and related resources—enabling seamless automation, scalability, and control.The MoreLogin local API runs on your machine and is accessible at:127.0.0.1:40000
Whether the proxy is for cloud phone usage.
true: Exclude local/private IPs (e.g., 127.0.0.1, 360, pia, private ranges)false: Return all proxies
List of proxy provider IDs. Supported values:
0= None4= Oxylabs5= Proxys.io6= GeoSurf7= Luminati8= Lumauto9= Oxylabsauto10= Trojan11= Shadowsocks12= vmess13= ABCPROXY14= LunaProxy15= IPHTML16= PiaProxy17= 922S5
Proxy assignment status:
0= Normal1= Unassigned2= Upgrading3= Expired4= Expiring soon
Note: Self-owned proxies always use status
1.
Proxy health check status:
0= Pending1= Success2= Failed3= Unknown error
- Morelogin Local endponinthttp://127.0.0.1:40000/api/proxyInfo/page
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://127.0.0.1:40000/api/proxyInfo/page \
-H 'Content-Type: application/json' \
-d '{
"pageNo": 1,
"pageSize": 10,
"isCloudPhoneProxy": false,
"proxyCategoryType": 2,
"proxyIp": "",
"proxyName": "",
"proxyProviders": [],
"proxyStatus": 1,
"proxyCheckStatus": 1,
"proxyTypes": []
}'{ "code": 0, "msg": "string", "data": { "current": 0, "dataList": [ … ], "pages": 0, "total": 0 }, "requestId": "string" }
Proxy provider type: 0=HTTP, 1=HTTPS, 2=SOCKS5, 3=SSH, 4=Oxylabs, ..., 17=922S5. Special rules:
- If proxyProvider is 7 or 8, proxyType is required.
- If proxyProvider is 17, country is required; state and city are optional.
Proxy protocol type: 0=HTTP, 1=HTTPS, 2=SOCKS5, 3=SSH. Required only when proxyProvider is 7 or 8.
- Morelogin Local endponinthttp://127.0.0.1:40000/api/proxyInfo/add
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://127.0.0.1:40000/api/proxyInfo/add \
-H 'Content-Type: application/json' \
-d '{
"proxyIp": "8.10.22.46",
"proxyPort": 65534,
"proxyProvider": 2,
"proxyType": 1,
"country": "AD",
"state": "",
"city": "",
"encryptionType": 14,
"ipChangeAction": 1,
"ipMonitor": false,
"proxyName": "sock5_{{random}}",
"refreshUrl": "",
"username": "",
"password": ""
}'{ "code": 0, "msg": "", "data": 0, "requestId": "abcd1234" }
Proxy provider ID:
0= None / Self-owned4= Oxylabs5= Proxys.io6= GeoSurf7= Luminati8= Lumauto9= Oxylabsauto10= Trojan11= Shadowsocks12= vmess13= ABCPROXY14= LunaProxy15= IPHTML16= PiaProxy17= 922S5
Action to take when IP changes:
1= Notify / Refresh (common value)
Check system documentation for full options.
- Morelogin Local endponinthttp://127.0.0.1:40000/api/proxyInfo/update
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://127.0.0.1:40000/api/proxyInfo/update \
-H 'Content-Type: application/json' \
-d '{
"id": 1566403036579198,
"proxyIp": "108.11.23.85",
"proxyPort": 4096,
"proxyName": "MyProxy",
"country": "US",
"city": "New York",
"username": "",
"password": "",
"proxyType": 0,
"proxyProvider": 0,
"encryptionType": 0,
"ipMonitor": true,
"ipChangeAction": 1,
"refreshUrl": "",
"state": ""
}'{ "code": 0, "msg": "", "requestId": "efgh5678" }
- Morelogin Local endponinthttp://127.0.0.1:40000/api/proxyInfo/delete
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://127.0.0.1:40000/api/proxyInfo/delete \
-H 'Content-Type: application/json' \
-d '[
1054661322597744600,
1054661322597744600
]'{ "code": 0, "msg": "", "requestId": "ijkl9012" }