### Check proxy This method allows connect through proxy and check if it's working. #### How it works? It will connect to `http://host.stableproxy.com/ip/` through proxy and get IP address, then it will connect to `https://ipinfo.io/widget/demo/ip` and get location information. Checker

A list of all publicly available methods for interacting with the API.

POST

Proxy check -/proxy/check

Query method

POSThttp://apilocal.stableproxy.com/v2/proxy/check

Query parameters

IdentifierRegulationsExample
protocolrequiredstringin:http, socks5, auto"http"
connect-urlsrequiredarray["md82ldd_0:[email protected]:11001"]
sort-byNot necessarilynullablestringapp\_validators\_ex_in_rule""
sort-orderNot necessarilynullablestringin:asc, desc"asc"
captcha-keyNot necessarilynullablestring"6Le6gTwUAAA ... secret ...tjbYd6IAYN_"
g-recaptcha-responserequiredrecaptchav3:check, 0.5, captcha-key"03AFcWeA690BhJU7VIxoIpsXXdDx7IVllNVz804lKvWNIBYmF42ALfY18TY4cjjQ0sY_...."
connect-urls.*requiredstring36

Code examples

async function postProxyCheck() {
   const baseUrl = 'http://apilocal.stableproxy.com/v2';
   const req = await fetch(baseUrl + '/proxy/check', {
         method: 'POST',
         headers: {
            'Content-Type': 'application/json'
         },
         body: JSON.stringify({
            "protocol": "http",
            "connect-urls": ["md82ldd_0:[email protected]:11001"],
            "sort-by": "",
            "sort-order": "asc",
            "captcha-key": "6Le6gTwUAAA ... secret ...tjbYd6IAYN_",
            "g-recaptcha-response": "03AFcWeA690BhJU7VIxoIpsXXdDx7IVllNVz804lKvWNIBYmF42ALfY18TY4cjjQ0sY_....",
            "connect-urls.*": 36
         }),
      }
   );
   
   const res = await req.json();
}

Examples of answers