curl -x "" "http://myip.lunaproxy.io"
Web Unlocker Function Launched: Say goodbye to interceptions and captchas with a single API!
Caching Proxy: Get faster results and reduce data consumption
Products
Free TrailResidential Proxies
Humanized crawling, no IP shielding. enjoy 200M real IPs from195+ locationsUnlimited Proxies
Unlimited use of graded residential proxies, randomly assigned countriesISP Proxies
Equip static (ISP) residential proxies and enjoy unbeatable speed and stabilityDatacenter Proxies
Use stable, fast and powerful data center IP around the worldRotating ISP Proxies
Extract the required data without the fear of getting blockedHTTP Proxies
Support http/https/socks5 full protocol, high security, highstability, high connectivitySocks5 Proxies
Provide the best proxy service to minimize IP costUse settings
API
User & Pass Auth
Multiple proxy user accounts are supportedSolutions
resource
Enterprise Exclusive
Reseller
Proxies
Earn Money
Referrals Program
Reseller Program
Local Time Zone
Proxies
Earn Money
Referrals Program
Reseller Program
curl -x "" "http://myip.lunaproxy.io"
curl -x "" "http://myip.lunaproxy.io"
const rp = require( 'request-promise');
const { SocksProxyAgent } = require('https-proxy-agent')
const username = ;
const password = ;
const proxyServer = ;
const proxyUrl = `socks5h://${username}:${password}@${proxyServer}`;
const agent = new SocksProxyAgent(proxyUrl);
rp({
url:'http://myip.lunaproxy.io'
agent:agent,
})
.then(function(data){
console.log (data);
})
.catch(function(data){
console.log (data);
})
const rp = require( 'request-promise');
const username = ;
const password = ;
const proxyServer = ;
rp({
url:'http://myip.lunaproxy.io'
proxy:`http://${username}:${password}@${proxyServer}`,
})
.then(function(data){
console.log (data);
})
.catch(function(data){
console.log (data);
})
const rp = require( 'request-promise');
const { SocksProxyAgent } = require('https-proxy-agent')
const proxyServer = ;
const proxyUrl = `socks5h://${proxyServer}`;
const agent = new SocksProxyAgent(proxyUrl);
rp({
url:'http://myip.lunaproxy.io'
agent:agent,
})
.then(function(data){
console.log (data);
})
.catch(function(data){
console.log (data);
})
const rp = require( 'request-promise');
const proxyServer = ;
rp({
url:'http://myip.lunaproxy.io'
proxy:`http://${proxyServer}`,
})
.then(function(data){
console.log (data);
})
.catch(function(data){
console.log (data);
})
<?php
$url = 'http://myip.lunaproxy.io';
$proxy = ;
$port = ;
$user = ;
$psw = ;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_PROXY, "$proxy:$port");
curl_setopt($ch, CURLOPT_PROXYUSERPWD, "$user:$psw");
$result = curl_exec($ch);
curl_close($ch);
if ($result)
{
echo $result . PHP_EOL;
}
?>
<?php
$url = 'http://myip.lunaproxy.io';
$proxy = ;
$port = ;
$user = ;
$psw = ;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
curl_setopt($ch, CURLOPT_PROXY, "$proxy:$port");
curl_setopt($ch, CURLOPT_PROXYUSERPWD, "$user:$psw");
$result = curl_exec($ch);
curl_close($ch);
if ($result)
{
echo $result . PHP_EOL;
}
?>
<?php
$url = 'http://myip.lunaproxy.io';
$proxy = ;
$port = ;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_PROXY, "$proxy:$port");
$result = curl_exec($ch);
curl_close($ch);
if ($result)
{
echo $result . PHP_EOL;
}
?>
<?php
$url = 'http://myip.lunaproxy.io';
$proxy = ;
$port = ;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
curl_setopt($ch, CURLOPT_PROXY, "$proxy:$port");
$result = curl_exec($ch);
curl_close($ch);
if ($result)
{
echo $result . PHP_EOL;
}
?>
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"net/url"
)
const (
resourceUrl = "http://myip.lunaproxy.io"
proxyHost =
username =
password =
)
func main() {
proxyUrl := &url.URL{
Scheme: "http",
User: url.UserPassword(username, password),
Host: proxyHost,
}
client := http.Client{
Transport: &http.Transport{
Proxy: http.ProxyURL(proxyUrl),
},
}
resp, err := client.Get(resourceUrl)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
log.Fatal(err)
}
bodyString := string(body)
fmt.Println(bodyString)
}
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"golang.org/x/net/proxy"
)
const (
resourceUrl = "http://myip.lunaproxy.io"
proxyHost =
username =
password =
)
func main() {
proxyUrl := socks5Proxy
auth := proxy.Auth{
User: username,
Password: password,
}
dialer, err := proxy.SOCKS5("tcp", proxyUrl, &auth, proxy.Direct)
if err != nil {
log.Fatal(err)
}
client := http.Client{
Transport: &http.Transport{
Dial: dialer.Dial,
},
}
resp, err := client.Get(resourceUrl)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
log.Fatal(err)
}
bodyString := string(body)
fmt.Println(bodyString)
}
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"net/url"
)
const (
resourceUrl = "http://myip.lunaproxy.io"
proxyHost =
)
func main() {
proxyUrl := &url.URL{
Scheme: "http",
Host: proxyHost,
}
client := http.Client{
Transport: &http.Transport{
Proxy: http.ProxyURL(proxyUrl),
},
}
resp, err := client.Get(resourceUrl)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
log.Fatal(err)
}
bodyString := string(body)
fmt.Println(bodyString)
}
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"golang.org/x/net/proxy"
)
const (
resourceUrl = "http://myip.lunaproxy.io"
socks5Proxy =
)
func main() {
proxyUrl := socks5Proxy
dialer, err := proxy.SOCKS5("tcp", proxyUrl, nil, proxy.Direct)
if err != nil {
log.Fatal(err)
}
client := http.Client{
Transport: &http.Transport{
Dial: dialer.Dial,
},
}
resp, err := client.Get(resourceUrl)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
log.Fatal(err)
}
bodyString := string(body)
fmt.Println(bodyString)
}
import java.io.*;
import org.apache.http.HttpHost;
import org.apache.http.auth.*;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.client.methods.*;
import org.apache.http.impl.client.*;
import org.apache.http.impl.conn.BasicHttpClientConnectionManager;
import org.apache.http.util.EntityUtils;
public class JavaHttp {
public static final String username = ;
public static final String password = ;
public static final int port = ;
public static final String proxyHost = ;
public CloseableHttpClient client;
public JavaHttp() {
HttpHost proxy = new HttpHost(proxyHost, port);
CredentialsProvider cred_provider = new BasicCredentialsProvider();
cred_provider.setCredentials(new AuthScope(proxy),
new UsernamePasswordCredentials(username, password));
client = HttpClients.custom()
.setConnectionManager(new BasicHttpClientConnectionManager())
.setProxy(proxy)
.setDefaultCredentialsProvider(cred_provider)
.build();
}
public String request(String url) throws IOException {
HttpGet request = new HttpGet(url);
CloseableHttpResponse response = client.execute(request);
try {
return EntityUtils.toString(response.getEntity());
} finally { response.close(); }
}
public void close() throws IOException { client.close(); }
public static void main(String[] args) throws IOException {
JavaHttp client = new JavaHttp();
try {
System.out.println(client.request("http://myip.lunaproxy.io"));
} finally { client.close(); }
}
}
import java.io.*;
import org.apache.http.HttpHost;
import org.apache.http.auth.*;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.client.methods.*;
import org.apache.http.impl.client.*;
import org.apache.http.util.EntityUtils;
public class JavaSocks5 {
public static final String username = ;
public static final String password = ;
public static final int port = ;
public static final String proxyHost = ;
public CloseableHttpClient client;
public JavaSocks5() {
HttpHost proxy = new HttpHost(proxyHost, port);
CredentialsProvider credsProvider = new BasicCredentialsProvider();
credsProvider.setCredentials(
new AuthScope(proxyHost, port),
new UsernamePasswordCredentials(username, password)
);
HttpClientBuilder clientBuilder = HttpClients.custom()
.setDefaultCredentialsProvider(credsProvider)
.setProxy(proxy);
client = clientBuilder.build();
}
public String request(String url) throws IOException {
HttpGet request = new HttpGet(url);
CloseableHttpResponse response = client.execute(request);
try {
return EntityUtils.toString(response.getEntity());
} finally {
response.close();
}
}
public void close() throws IOException {
client.close();
}
public static void main(String[] args) throws IOException {
JavaSocks5 client = new JavaSocks5();
try {
System.out.println(client.request("http://myip.lunaproxy.io"));
} finally {
client.close();
}
}
}
import java.io.*;
import org.apache.http.HttpHost;
import org.apache.http.client.methods.*;
import org.apache.http.impl.client.*;
import org.apache.http.impl.conn.BasicHttpClientConnectionManager;
import org.apache.http.util.EntityUtils;
public class JavaHttpWhite {
public static final int port = ;
public static final String proxyHost = ;
public CloseableHttpClient client;
public JavaHttp() {
HttpHost proxy = new HttpHost(proxyHost, port);
client = HttpClients.custom()
.setConnectionManager(new BasicHttpClientConnectionManager())
.setProxy(proxy)
.build();
}
public String request(String url) throws IOException {
HttpGet request = new HttpGet(url);
CloseableHttpResponse response = client.execute(request);
try {
return EntityUtils.toString(response.getEntity());
} finally { response.close(); }
}
public void close() throws IOException { client.close(); }
public static void main(String[] args) throws IOException {
JavaHttp client = new JavaHttp();
try {
System.out.println(client.request("http://myip.lunaproxy.io"));
} finally { client.close(); }
}
}
import java.io.*;
import org.apache.http.HttpHost;
import org.apache.http.auth.*;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.client.methods.*;
import org.apache.http.impl.client.*;
import org.apache.http.util.EntityUtils;
public class JavaSocks5White {
public static final int port = ;
public static final String proxyHost = ;
public CloseableHttpClient client;
public JavaSocks5() {
HttpHost proxy = new HttpHost(proxyHost, port);
HttpClientBuilder clientBuilder = HttpClients.custom()
.setProxy(proxy);
client = clientBuilder.build();
}
public String request(String url) throws IOException {
HttpGet request = new HttpGet(url);
CloseableHttpResponse response = client.execute(request);
try {
return EntityUtils.toString(response.getEntity());
} finally {
response.close();
}
}
public void close() throws IOException {
client.close();
}
public static void main(String[] args) throws IOException {
JavaSocks5 client = new JavaSocks5();
try {
System.out.println(client.request("http://myip.lunaproxy.io"));
} finally {
client.close();
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
class csharp_http
{
static void Main(string[] args)
{
Task t = new Task(DownloadPageAsync);
t.Start();
Console.ReadLine();
}
static async void DownloadPageAsync()
{
string page = "http://myip.lunaproxy.io";
var proxy = new WebProxy()
{
UseDefaultCredentials = false,
Credentials = new NetworkCredential(
userName: ,
password: )
};
var httpClientHandler = new HttpClientHandler()
{
Proxy = proxy,
};
var client = new HttpClient(handler: httpClientHandler, disposeHandler: true);
var response = await client.GetAsync(page);
using (HttpContent content = response.Content)
{
string result = await content.ReadAsStringAsync();
Console.WriteLine(result);
Console.WriteLine("Press any key to exit.");
Console.ReadKey();
}
}
}
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
class csharp_http
{
static void Main(string[] args)
{
Task t = new Task(DownloadPageAsync);
t.Start();
Console.ReadLine();
}
static async void DownloadPageAsync()
{
string page = "http://myip.lunaproxy.io";
var proxy = new WebProxy()
{
UseDefaultCredentials = false
};
var httpClientHandler = new HttpClientHandler()
{
Proxy = proxy,
};
var client = new HttpClient(handler: httpClientHandler, disposeHandler: true);
var response = await client.GetAsync(page);
using (HttpContent content = response.Content)
{
string result = await content.ReadAsStringAsync();
Console.WriteLine(result);
Console.WriteLine("Press any key to exit.");
Console.ReadKey();
}
}
}
import base64
class SmartProxyAuthMiddleware(object):
def __init__(self, settings):
self.proxy_url = 'http://%s:%d' % ("http://myip.lunaproxy.io", 1000)
self.proxy_auth = "Basic " + base64.urlsafe_b64encode(bytes(("ada202301:ozGOb1iuY"), "ascii")).decode("utf8")
@classmethod
def from_crawler(cls, crawler):
s = cls(crawler.settings)
return s
def process_request(self, request, spider):
request.meta["proxy"] = self.proxy_url
request.headers["Proxy-Authorization"] = self.proxy_auth
def process_response(self, request, response, spider):
spider.logger.info('%d for url[%s] with smart_proxy' % (response.status, response.url))
if response.status >= 300:
new_req = request.replace(dont_filter=True)
spider.logger.warning('retry url[%s] for status[%d] with smart_proxy' % (response.url, response.status))
return new_req
return response
def process_exception(self, request, exception, spider):
spider.logger.error('url[%s] with error[%s]' % (request.url, exception))
import requests
username =
password = "PJKDKi8vyd"
proxy_server = "rieg48au.pr.thordata.net:9999"
proxies = {"http": f"http://{username}:{password}@{proxy_server}"}
response = requests.get("http://myip.lunaproxy.io", proxies=proxies)
print(response.text)
import requests
username =
password =
proxy_server =
proxies = {
"http": f"socks5h://{username}:{password}@{proxy_server}",
"https": f"socks5h://{username}:{password}@{proxy_server}",
}
response = requests.get("http://myip.lunaproxy.io", proxies=proxies)
print(response.text)
import requests
proxy_server =
proxies = {"http": f"http://{proxy_server}"}
response = requests.get("http://myip.lunaproxy.io", proxies=proxies)
print(response.text)
import requests
proxy_server =
proxies = {
"http": f"socks5h://{proxy_server}",
"https": f"socks5h://{proxy_server}",
}
response = requests.get("http://myip.lunaproxy.io", proxies=proxies)
print(response.text)
require "uri"
require 'net/http'
proxy_host =
proxy_port =
proxy_user =
proxy_pass =
uri = URI.parse('http://myip.lunaproxy.io')
proxy = Net::HTTP::Proxy(proxy_host, proxy_port, proxy_user, proxy_pass)
req = Net::HTTP::Get.new(uri)
result = proxy.start(uri.host, uri.port, use_ssl: true) do |http|
http.request(req)
end
puts result.body
require 'socksify'
require 'net/http'
proxy_host =
proxy_port =
proxy_user =
proxy_pass =
TCPSocket::socks_server = proxy_host
TCPSocket::socks_port = proxy_port
TCPSocket::socks_username = proxy_user
TCPSocket::socks_password = proxy_pass
uri = URI('http://myip.lunaproxy.io')
http = Net::HTTP.new(uri.host, uri.port)
request = Net::HTTP::Get.new(uri)
response = http.request(request)
puts response.body
require "uri"
require 'net/http'
proxy_host =
proxy_port =
uri = URI.parse('http://myip.lunaproxy.io')
proxy = Net::HTTP::Proxy(proxy_host, proxy_port) # No longer use username and password
req = Net::HTTP::Get.new(uri)
result = proxy.start(uri.host, uri.port, use_ssl: true) do |http|
http.request(req)
end
puts result.body
require 'socksify'
require 'net/http'
proxy_host =
proxy_port =
TCPSocket::socks_server = proxy_host
TCPSocket::socks_port = proxy_port
uri = URI('http://myip.lunaproxy.io')
http = Net::HTTP.new(uri.host, uri.port)
request = Net::HTTP::Get.new(uri)
response = http.request(request)
puts response.body
Please Contact Customer Service by Email
We will reply you via email within 24h
For your payment security, please verify