Explore Our API

An API That Is Tailored to Your Needs.

Choose language
Shell Shell
Node.js Node.js
Java Java
C# C#
Python Python
Php Php

{CONSUMER_KEY} — Your consumer key generated in my api key section.

{CONSUMER_SECRET} — Your consumer secret generated in my api key section.

{BASE64_ENCODED_LICENSE_STRING} — An entire proxy string in the following format: HOST:PORT@USERNAME:PASSWORD and encoded in base64.
You can use many tools to encode a string in base64, to encode it online you can use: base64encode.org

{REBOOT_INTERVAL} — Value for reboot interval to be updated for a proxy.
Should be Integer value, and greater than 1

To get a list of your proxies you need to make a GET call to the following endpoint.

API endpoint: GET /wp-json/lmfwc/v2/licenses/customer/user-licenses

curl --location --request GET 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/customer/user-licenses/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}' \
--header 'Content-Type: application/json'
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/customer/user-licenses/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}',
  'headers': {
    'Content-Type': 'application/json'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
OkHttpClient client = new OkHttpClient().newBuilder().build();
Request request = new Request.Builder()
  .url(/wp-json/lmfwc/v2/licenses/customer/user-licenses)
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();
var client = new RestClient("https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/customer/user-licenses/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
import requests

url = "https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/customer/user-licenses/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}"

payload={}
headers = {
  'Content-Type': 'application/json'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/customer/user-licenses/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

To rotate a proxy you need to make a GET call to the following endpoint:

API endpoint: GET /wp-json/lmfwc/v2/licenses/rotate-proxy/{BASE64_ENCODED_LICENSE_STRING}

curl --location --request GET 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/rotate-proxy/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}' \
--header 'Content-Type: application/json'
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/rotate-proxy/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}',
  'headers': {
    'Content-Type': 'application/json'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
OkHttpClient client = new OkHttpClient().newBuilder().build();
Request request = new Request.Builder()
  .url(/wp-json/lmfwc/v2/licenses/rotate-proxy/{BASE64_ENCODED_LICENSE_STRING})
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();
var client = new RestClient("https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/rotate-proxy/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
import requests

url = "https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/rotate-proxy/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}"

payload={}
headers = {
  'Content-Type': 'application/json'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/rotate-proxy/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

To view the logs for a proxy you need to make a GET call to the following endpoint:

API endpoint: GET /wp-json/lmfwc/v2/licenses/proxy-logs/{BASE64_ENCODED_LICENSE_STRING}

curl --location --request GET 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/proxy-logs/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}' \
--header 'Content-Type: application/json'
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/proxy-logs/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}',
  'headers': {
    'Content-Type': 'application/json'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
OkHttpClient client = new OkHttpClient().newBuilder().build();
Request request = new Request.Builder()
  .url(/wp-json/lmfwc/v2/licenses/proxy-logs/{BASE64_ENCODED_LICENSE_STRING})
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();
var client = new RestClient("https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/proxy-logs/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
import requests

url = "https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/proxy-logs/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}"

payload={}
headers = {
  'Content-Type': 'application/json'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/proxy-logs/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

To cancel the subscription for a proxy you need to make a GET call to the following endpoint:

API endpoint: GET /wp-json/lmfwc/v2/licenses/cancel-subscription/{BASE64_ENCODED_LICENSE_STRING}

curl --location --request GET 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/cancel-subscription/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}' \
--header 'Content-Type: application/json'
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/cancel-subscription/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}',
  'headers': {
    'Content-Type': 'application/json'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
OkHttpClient client = new OkHttpClient().newBuilder().build();
Request request = new Request.Builder()
  .url(/wp-json/lmfwc/v2/licenses/cancel-subscription/{BASE64_ENCODED_LICENSE_STRING})
  .method("GET", null)
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();
var client = new RestClient("https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/cancel-subscription/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
import requests

url = "https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/cancel-subscription/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}"

payload={}
headers = {
  'Content-Type': 'application/json'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/cancel-subscription/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

To set a rotation interval for a proxy you need to make a POST call to the following endpoint:

API endpoint: POST /wp-json/lmfwc/v2/licenses/rotation-interval/{BASE64_ENCODED_LICENSE_STRING}

curl --location --request POST 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/rotation-interval/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "reboot_interval": 10}'
var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/rotation-interval/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}',
  'headers': {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({"reboot_interval":})
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
OkHttpClient client = new OkHttpClient().newBuilder().build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n  \"reboot_interval\": 10\r\n}");
Request request = new Request.Builder()
  .url(/wp-json/lmfwc/v2/licenses/rotation-interval/{BASE64_ENCODED_LICENSE_STRING})
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();
var client = new RestClient("https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/rotation-interval/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\r\n  \"reboot_interval\": 10\r\n}",  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
import requests

url = "https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/rotation-interval/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}"

payload="{\r\n  \"reboot_interval\": 10\r\n}"
headers = {
  'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://thesocialproxy.com/wp-json/lmfwc/v2/licenses/rotation-interval/{BASE64_ENCODED_LICENSE_STRING}/?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'{
    "reboot_interval": 10  }',
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;