Generate and manage proxies over HTTP
Sign in for a token, then use it to generate lines, read usage and list IPs. The console has a panel that sends live requests.
Two requests to a proxy
1Sign in
POST /api/SysLogin/Login
Trade your account email and password for an access token. Every later request carries it.
cURL curl -X POST "https://www.aogip.com/api/SysLogin/Login" \ -H "Content-Type: application/json" \ -d '{"email":"you@example.com","appSecret":"50d5413c7d0de3897792291650ffd948","loginType":"pwd","passWord":"<YOUR_PASSWORD>"}'2Generate lines
GET /api/ProxyLogic/Generate
This example generates five US lines with a 10-minute session.
cURL curl "https://www.aogip.com/api/ProxyLogic/Generate?Num=5&Country=US&SessionTime=10&Server=us&Format=0&Pool=1&Crc=<PROXY_PASSWORD>&KeyName=<MAIN_KEY>&AppSecret=50d5413c7d0de3897792291650ffd948" \ -H "Authorization: Bearer <ACCESS_TOKEN>"
Format 0, 1 and 2 return host:port:user:pass, user:pass@host:port and user:pass:host:port. Replace anything in angle brackets with your own value.
The 7 endpoints you will use most
Request and response conventions
- Base URL
- https://www.aogip.com
- Auth
- Authorization: Bearer <ACCESS_TOKEN>
- Response
- { "code": 200, "message": "…", "body": … }
appSecret identifies AOG as the distributor. Send it as appSecret in a JSON body or as AppSecret in the query string, as each endpoint expects. An expired token returns 401. Sign in again to get a new one.
The full reference is in the console
Parameters, response samples and a live tester for every endpoint are on the console's Developer API page.