import requests
proxy = "http://USER-country-fr-carrier-orange:PASS@gw.pxm2.com:7000"
r = requests.get("https://api.ipify.org?format=json",
proxies={"http": proxy, "https": proxy})
print(r.json()) # 92.184.xx.27 · Orange FR
# rotate a dedicated modem on demand
requests.get("https://pxm2.com/api/rotate/<token>")
const axios = require("axios");
const { HttpsProxyAgent } = require("https-proxy-agent");
const agent = new HttpsProxyAgent("http://USER-country-fr-carrier-orange:PASS@gw.pxm2.com:7000");
const r = await axios.get("https://api.ipify.org?format=json", { httpsAgent: agent, proxy: false });
console.log(r.data); // 92.184.xx.27 · Orange FR
// rotate a dedicated modem on demand
await axios.get("https://pxm2.com/api/rotate/<token>");
proxyURL, _ := url.Parse("http://USER-country-fr-carrier-orange:PASS@gw.pxm2.com:7000")
client := &http.Client{Transport: &http.Transport{Proxy: http.ProxyURL(proxyURL)}}
resp, _ := client.Get("https://api.ipify.org?format=json")
defer resp.Body.Close() // 92.184.xx.27 · Orange FR
// rotate a dedicated modem on demand
http.Get("https://pxm2.com/api/rotate/<token>")
$ch = curl_init("https://api.ipify.org?format=json");
curl_setopt($ch, CURLOPT_PROXY, "http://gw.pxm2.com:7000");
curl_setopt($ch, CURLOPT_PROXYUSERPWD, "USER-country-fr-carrier-orange:PASS");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch); // 92.184.xx.27 · Orange FR
// rotate a dedicated modem on demand
file_get_contents("https://pxm2.com/api/rotate/<token>");
curl -x "http://USER-country-fr-carrier-orange:PASS@gw.pxm2.com:7000" \
"https://api.ipify.org?format=json"
# rotate a dedicated modem on demand
curl "https://pxm2.com/api/rotate/<token>"