Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/targetedproxiesp/public_html/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the autocomplete-woocommerce-orders domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/targetedproxiesp/public_html/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the awesome-support domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/targetedproxiesp/public_html/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the paid-memberships-pro domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/targetedproxiesp/public_html/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the unlimited-elements-for-elementor domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/targetedproxiesp/public_html/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/targetedproxiesp/public_html/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-payments domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/targetedproxiesp/public_html/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the really-simple-ssl domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/targetedproxiesp/public_html/wp-includes/functions.php on line 6260

Warning: session_start(): Cannot start session when headers already sent in /home2/targetedproxiesp/public_html/wp-content/plugins/awesome-support/vendor/ericmann/wp-session-manager/wp-session-manager.php on line 147

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the widgetize-pages-light domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/targetedproxiesp/public_html/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-subscriptions domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/targetedproxiesp/public_html/wp-includes/functions.php on line 6260

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the all-in-one-wp-migration domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/targetedproxiesp/public_html/wp-includes/functions.php on line 6260

Warning: Cannot modify header information - headers already sent by (output started at /home2/targetedproxiesp/public_html/wp-includes/functions.php:6260) in /home2/targetedproxiesp/public_html/wp-content/plugins/paid-memberships-pro/adminpages/reports/logins.php on line 444
API Integration – Targeted Proxies

API Integration

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

API endpoint: GET /api/updateCredentials/:current_username/:current_password/:port

				
					curl --location '//api/updateCredentials/<string>/<string>/<integer>' \
--header 'Accept: text/plain'
				
			

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

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

				
					curl --location '//api/rotateIp/<string>/<string>/<integer>' \
--header 'Accept: text/plain'
				
			

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

API endpoint: GET /api/getStatus/:current_username/:current_password/:port

				
					curl --location '//api/getStatus/<string>/<string>/<integer>' \
--header 'Accept: text/plain'
				
			

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

API endpoint: GET /api/updateCredentials/:current_username/:current_password/:port

				
					var request = require('request');
var options = {
  'method': 'GET',
  'url': '//api/updateCredentials/<string>/<string>/<integer>',
  'headers': {
    'Accept': 'text/plain'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
				
			

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

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

				
					var request = require('request');
var options = {
  'method': 'GET',
  'url': '//api/rotateIp/<string>/<string>/<integer>',
  'headers': {
    'Accept': 'text/plain'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
				
			

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

API endpoint: GET /api/getStatus/:current_username/:current_password/:port

				
					var request = require('request');
var options = {
  'method': 'GET',
  'url': '//api/getStatus/<string>/<string>/<integer>',
  'headers': {
    'Accept': 'text/plain'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
				
			

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

API endpoint: GET /api/updateCredentials/:current_username/:current_password/:port

				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
  .url("//api/updateCredentials/<string>/<string>/<integer>")
  .method("GET", body)
  .addHeader("Accept", "text/plain")
  .build();
Response response = client.newCall(request).execute();
				
			

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

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

				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
  .url("//api/rotateIp/<string>/<string>/<integer>")
  .method("GET", body)
  .addHeader("Accept", "text/plain")
  .build();
Response response = client.newCall(request).execute();
				
			

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

API endpoint: GET /api/getStatus/:current_username/:current_password/:port

				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
  .url("//api/getStatus/<string>/<string>/<integer>")
  .method("GET", body)
  .addHeader("Accept", "text/plain")
  .build();
Response response = client.newCall(request).execute();
				
			

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

API endpoint: GET /api/updateCredentials/:current_username/:current_password/:port

				
					var options = new RestClientOptions("//api/updateCredentials/<string>/<string>/<integer>")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("", Method.Get);
request.AddHeader("Accept", "text/plain");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
				
			

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

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

				
					var options = new RestClientOptions("//api/rotateIp/<string>/<string>/<integer>")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("", Method.Get);
request.AddHeader("Accept", "text/plain");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
				
			

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

API endpoint: GET /api/getStatus/:current_username/:current_password/:port

				
					var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "//api/getStatus/<string>/<string>/<integer>");
request.Headers.Add("Accept", "text/plain");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
				
			

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

API endpoint: GET /api/updateCredentials/:current_username/:current_password/:port

				
					import requests

url = "//api/updateCredentials/<string>/<string>/<integer>"

payload = {}
headers = {
  'Accept': 'text/plain'
}

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

print(response.text)
				
			

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

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

				
					import requests

url = "//api/rotateIp/<string>/<string>/<integer>"

payload = {}
headers = {
  'Accept': 'text/plain'
}

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

print(response.text)
				
			

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

API endpoint: GET /api/getStatus/:current_username/:current_password/:port

				
					import requests

url = "//api/getStatus/<string>/<string>/<integer>"

payload = {}
headers = {
  'Accept': 'text/plain'
}

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

print(response.text)
				
			

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

API endpoint: GET /api/updateCredentials/:current_username/:current_password/:port

				
					$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => '//api/updateCredentials/%3Cstring%3E/%3Cstring%3E/%3Cinteger%3E',
  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(
    'Accept: text/plain'
  ),
));

$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/customer/user-licenses

				
					$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => '//api/rotateIp/%3Cstring%3E/%3Cstring%3E/%3Cinteger%3E',
  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(
    'Accept: text/plain'
  ),
));

$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 /api/getStatus/:current_username/:current_password/:port

				
					$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => '//api/getStatus/%3Cstring%3E/%3Cstring%3E/%3Cinteger%3E',
  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(
    'Accept: text/plain'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			

Shell

Node.js

Java

C#

Python

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

{PRODUCT_ID} — Please use following ids to purchase proxies.
11463 – 4G Proxy Austria
2171 – 4G Proxy Israel
7329 – 4G Proxy UK
53669 – 5G Proxy New York (USA)
25869 – 4G Proxy Texas (USA)

{REGION_NAME} — Please use following region name to filter proxies.
For United Kingdom = london1
For Israel = highspeed1
For Vienna  = vienna1
For Texas (US) = texas1
For New York (US) = new-york1