海外住宅代理

稳定、高品质、覆盖全球190个地区,9000多万的辣椒HTTP住宅代理IP,使用过程中不会受到CAPTCHA 或阻止的干扰。

辣椒HTTP 支持轮转和粘性会话

辣椒HTTP 免费支持城市级定位

辣椒HTTP 99.99%成功率

辣椒HTTP 响应时长<0.5s

辣椒HTTP HTTP/HTTPS/SOCKS5 协议

辣椒HTTP 7*24H技术

辣椒HTTP

为何选择辣椒海外代理

高质量IP

提供专用高质量IP池,稳定运行,代理成功率99%

轮换/粘性会话

提供多种会话类型,满足不同业务需求。

优惠价格

辣椒HTTP代理覆盖全球190+国家或地区资源,价格实惠,性价比高。

优质服务

庞大的技术团队,7*24H 在线,确保服务好每位用户。

开始使用

自由访问全球

遍布全球超过190个地区9000万的IP,超高质量的真实住宅代理IP

实现最佳响应时间、稳定性和可靠性。

获得流量

市场领先的 9000 万以上代理池,全球190+地区精准定位,畅享全球网络资源。

套餐特点

  • 辣椒HTTP99.99%网络正常运行时间
  • 辣椒HTTP自由选择城市级定位
  • 辣椒HTTP高并发会话支持
  • 辣椒HTTP充足IP数量
  • 辣椒HTTPHTTP/HTTPS/SOCKS5 协议
  • 辣椒HTTP轮换和粘性会话
  • 辣椒HTTP平均响应时长<0.5s
  • 辣椒HTTP7*24H技术支持
辣椒HTTP
辣椒HTTP

入门

首购优惠

2GB

实到2GB

¥24.00

¥100.00

12/GB

有效期60天

立即购买
辣椒HTTP

初级

10GB

实到10GB

¥160.00

¥500.00

16/GB

有效期60天

立即购买
辣椒HTTP

中级

最受欢迎的

40GB

实到40GB

¥396.00

¥2000.00

9.9/GB

有效期60天

立即购买
辣椒HTTP

高级

100GB

实到100GB

¥760.00

¥5000.00

7.6/GB

有效期60天

立即购买
辣椒HTTP

专业

200GB

实到200GB

¥1000.00

¥10000.00

5/GB

有效期60天

立即购买
辣椒HTTP

定制

辣椒HTTP

超灵活的随用随付套餐,可根据自身需求随时购买使用。

联系客服

专属客户经理

扫一扫添加您的专属客户经理

轻松将辣椒HTTP代理集成到您的项目中

兼容各种热门程序语言和三方集成软件,通过设置基础设施的代码示例和指导快速抓取相关网页数据。

  • 辣椒HTTP 代码示例
  • 辣椒HTTP 兼容第三方集成软件
  • 辣椒HTTP 创建并管理子用户
开始使用 辣椒HTTP

Python CURL Node.js PHP Go C# JAVA


    #include 
    #include 
    #include 
    #include 
    #include "curl/curl.h"
    #pragma comment(lib, "libcurl.lib")
    using namespace std;
    static size_t write_buff_data(char* buffer, size_t size, size_t nitems, void* outstream)
    {
        memcpy(outstream, buffer, nitems * size);
        return nitems * size;
    }

    // http protocol
    int GetHTTPFunc(char* url, char* buff)
    {
        CURL* curl;
        CURLcode res;
        curl = curl_easy_init();
        if (curl)
        {
            curl_easy_setopt(curl, CURLOPT_PROXY, "http://hostname:port");     // hostname:port = us.lajiaohttp.net:2000
            curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, "username:password"); // sub-account and password
            curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void*)buff);
            curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_buff_data);
            curl_easy_setopt(curl, CURLOPT_URL, url);
            curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 10L);
            curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 50L);
            curl_easy_setopt(curl, CURLOPT_MAX_RECV_SPEED_LARGE, 2000000L);
            res = curl_easy_perform(curl);
            curl_easy_cleanup(curl);
            if (res == CURLE_OK) {
                return res;
            }
            else {
                printf("http status code:%d", res);
                MessageBox(NULL, TEXT("Get IP Error"), TEXT("assistant"), MB_ICONINFORMATION | MB_YESNO);
            }
        }
        return res;
    }

      // Socks5 protocol
    int GetSocks5Func(char* url, char* buff)
    {
        CURL* curl;
        CURLcode res;
        curl = curl_easy_init();
        if (curl)
        {
        curl_easy_setopt(curl, CURLOPT_PROXY, "socks5://hostname:port");    // hostname:port = us.lajiaohttp.net:2000
        curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, "username:password");  //sub-account and password
        curl_easy_setopt(curl, CURLOPT_SOCKS5_AUTH, CURLAUTH_SOCKS5_USERPWD);
        curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void*)buff);
        curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_buff_data);     // Callback
        curl_easy_setopt(curl, CURLOPT_URL, url);
        curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 10L);
        curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 50L);
        curl_easy_setopt(curl, CURLOPT_MAX_RECV_SPEED_LARGE, 2000000L);
        res = curl_easy_perform(curl);
        curl_easy_cleanup(curl);

        if (res == CURLE_OK) {
            return res;
        }
        else {
            printf("status code:%d", res);
            MessageBox(NULL, TEXT("Get IP Error"), TEXT("assistant"), MB_ICONINFORMATION | MB_YESNO);
        }
        }
        return res;
    }

    int func()
    {
        string strUrl = "ipinfo.io";
        char* buff = (char*)malloc(1024 * 1024);
        memset(buff, 0, 1024 * 1024);

        //HTTP proxies
        memset(buff, 0, 1024 * 1024);
        GetHTTPFunc((char*)strUrl.c_str(), buff);
        printf("Http results:%s", buff);

        //Socks5 proxies
        memset(buff, 0, 1024 * 1024);
        GetSocks5Func((char*)strUrl.c_str(), buff);
        printf("Socks5 result:%s", buff);
        free(buff);
        return 0;
    }

    int main()
    {
        return func();
    }
            

    package main
    import (
        "context"
        "fmt"
        "golang.org/x/net/proxy"
        "io/ioutil"
        "net"
        "net/http"
        "net/url"
        "strings"
        "time"
    )

    var ipInfoUrl = "https://ipinfo.io"

    func main() {
        var hostnamePort = "us.lajiaohttp.net:2000"
        var username = "xxxx-region-US-sid-xrwfyi678-t-10"  // xxxx = your sub-account
        var password = ""    // sub-account password
        HttpProxy(proxyIP, username, password)
        time.Sleep(time.Second * 1)
        Socks5Proxy(proxyIP, username, password)

    }
    func HttpProxy(hostnamePort, username, password string) {
        defer func() {
            if err := recover(); err != nil {
                fmt.Println(err)
            }
        }()
        urli := url.URL{}
        proxyUrl = fmt.Sprintf("http://%s", hostnamePort)


        urlProxy, _ := urli.Parse(proxyUrl)
        if username != "" && password != "" {
            urlProxy.User = url.UserPassword(username, password)
        }

        client := &http.Client{
            Transport: &http.Transport{
                Proxy: http.ProxyURL(urlProxy),
            },
        }
        req, err := http.NewRequest("GET", ipInfoUrl, nil)
        if err != nil {
            panic(err)
            return
        }
        response, err := client.Do(req)
        if err != nil {
            panic(err)
            return
        }
        defer response.Body.Close()
        body, _ := ioutil.ReadAll(response.Body)
        fmt.Println("http status = ", response.Status)
        fmt.Println("content = ", string(body))
        return
    }

    func Socks5Proxy(hostnamePort, username, password string) {

        defer func() {
            if err := recover(); err != nil {
                fmt.Println(err)
            }
        }()

        var userAuth proxy.Auth
        if username != "" && password != "" {
            userAuth.User = username
            userAuth.Password = password
        }
        dialer, err := proxy.SOCKS5("tcp", proxyUrl, &userAuth, proxy.Direct)
        if err != nil {
            panic(err)
            return
        }
        httpClient := &http.Client{
            Transport: &http.Transport{
                DialContext: func(ctx context.Context, network, addr string) (conn net.Conn, err error) {
                    return dialer.Dial(network, addr)
                },
            },
            Timeout: time.Second * 10,
        }

        resp, err := httpClient.Get(ipInfoUrl)

        if err != nil {
            panic(err)
            return
        }
        defer resp.Body.Close()
        body, _ := ioutil.ReadAll(resp.Body)
        fmt.Println("content = ",string(body))
        return
    }
            

    const SocksProxyAgent = require('socks-proxy-agent');
    const net = require('net');

    const proxyConfig = {
      host: 'us.lajiaohttp.io',
      port: 2000,
      username: 'your sub-account username',
      password: 'your sub-account password'
    };

    const agent = new SocksProxyAgent({
    ...proxyConfig,
    });

    const socket = net.connect({
      host: 'ipinfo.io',
      port: 80,
      agent
    });

    socket.on('connect', () => {
      console.log('Connect socks5 proxy.');
    });

    socket.on('error', err => {
      console.log('error = ', err);
    });
            
              
                
    $targetUrl = "https://ipinfo.io/";
    $proxyServer = "http://us.lajiaohttp.net:2000";
    $proxyUserPwd = "username:password";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $targetUrl);
    curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, false);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_PROXYTYPE, 0); //http protocol;  sock5 protocolis is curl_setopt($ch, CURLOPT_PROXYTYPE, 5);
    curl_setopt($ch, CURLOPT_PROXY, $proxyServer);
    curl_setopt($ch, CURLOPT_PROXYAUTH, CURLAUTH_BASIC);
    curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36");
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3);
    curl_setopt($ch, CURLOPT_TIMEOUT, 5);
    curl_setopt($ch, CURLOPT_HEADER, true);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxyUserPwd);
    $result = curl_exec($ch);
    $err = curl_error($ch);
    curl_close($ch);
    var_dump($err);
    var_dump($result);
              
            
              
    package demo;
    import okhttp3.Credentials;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import java.io.IOException;
    import java.net.InetSocketAddress;
    import java.net.PasswordAuthentication;
    import java.net.Proxy;

    class AutProxyJava {
    public static void main(String[] args) throws IOException {
        testWithOkHttp();
        testSocks5WithOkHttp();
    }

    public static void testWithOkHttp() throws IOException {
        String url = "https://ipinfo.io";
        Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("us.lajiaohttp.io", 2000));
        OkHttpClient client = new OkHttpClient().newBuilder().proxy(proxy).proxyAuthenticator((route, response) -> {
            String credential = Credentials.basic("subAccount-region-US", password); // update your sub-account and password
                return response.request().newBuilder()
            .header("Proxy-Authorization", credential).build();
        }).build();


        Request request = new Request.Builder().url(url).build();
        okhttp3.Response response = client.newCall(request).execute();
        String responseString = response.body().string();
        System.out.println(responseString);
    }

    public static void testSocks5WithOkHttp() throws IOException {
        String url = "https://ipinfo.io";
        Proxy proxy = new Proxy(Proxy.Type.SOCKS, new InetSocketAddress("us.lajiaohttp.io", 2000));
        java.net.Authenticator.setDefault(new java.net.Authenticator() {
            private PasswordAuthentication authentication =
            new PasswordAuthentication("sub account username", "sub account password".toCharArray()); // sub-account and password

            @Override
            protected PasswordAuthentication getPasswordAuthentication() {
                return authentication;
            }
        });
        OkHttpClient client = new OkHttpClient().newBuilder().proxy(proxy).build();

        Request request = new Request.Builder().url(url).build();
        okhttp3.Response response = client.newCall(request).execute();
        String responseString = response.body().string();
        System.out.println(responseString);
    }
}
              
            
              
    import urllib
    import socks
    import http.client
    from urllib.error import URLError
    import ssl
    from urllib.request import build_opener, HTTPHandler, HTTPSHandler

    def merge_dict(a, b):
    d = a.copy()
    d.update(b)
    return d

    class SocksiPyConnection(http.client.HTTPConnection):
    def __init__(self, proxytype, proxyaddr, proxyport=None, rdns=True, username=None, password=None, *args, **kwargs):
        self.proxyargs = (proxytype, proxyaddr, proxyport, rdns, username, password)
        http.client.HTTPConnection.__init__(self, *args, **kwargs)

    def connect(self):
        self.sock = socks.socksocket()
        self.sock.setproxy(*self.proxyargs)
        if type(self.timeout) in (int, float):
            self.sock.settimeout(self.timeout)
        self.sock.connect((self.host, self.port))

    class SocksiPyConnectionS(http.client.HTTPSConnection):
    def __init__(self, proxytype, proxyaddr, proxyport=None, rdns=True, username=None, password=None, *args, **kwargs):
        self.proxyargs = (proxytype, proxyaddr, proxyport, rdns, username, password)
        http.client.HTTPSConnection.__init__(self, *args, **kwargs)

    def connect(self):
        sock = socks.socksocket()
        sock.setproxy(*self.proxyargs)
        if type(self.timeout) in (int, float):
            sock.settimeout(self.timeout)
        sock.connect((self.host, self.port))
        self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)

    class SocksiPyHandler(HTTPHandler, HTTPSHandler):
    def __init__(self, *args, **kwargs):
        self.args = args
        self.kw = kwargs
        HTTPHandler.__init__(self)

    def http_open(self, req):
        def build(host, port=None, timeout=0, **kwargs):
            kw = merge_dict(self.kw, kwargs)
            conn = SocksiPyConnection(*self.args, host=host, port=port, timeout=timeout, **kw)
            return conn

        return self.do_open(build, req)

    def https_open(self, req):
        def build(host, port=None, timeout=0, **kwargs):
            kw = merge_dict(self.kw, kwargs)
            conn = SocksiPyConnectionS(*self.args, host=host, port=port, timeout=timeout, **kw)
            return conn

        return self.do_open(build, req)

    username = "your sub-account username"
    password = "your sub-account password"
    ip = "us.lajiaohttp.io"
    port = 2000
    proxy = "socks5://{username}:{password}@{ip}:{port}".format(username=username, password=password, ip=ip, port=port)
    # socks.set_default_proxy(socks.SOCKS5, ip, port,username=username,password=password)
    # socket.socket = socks.socksocket

    url = 'https://ipinfo.io/'

    try:
        req = urllib.request.Request(url=url, headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36'})
        opener = build_opener(SocksiPyHandler(socks.SOCKS5, ip, port, username=username, password=password))
        response = opener.open(req)
        print(response.read().decode('utf-8'))
    except URLError as e:
        print(e)
              
            

复制

集成

与热门工具进行原生集成

辣椒HTTP能帮您解决什么

全方面、多领域整合数据,为企业定制代理解决方案,破解发展难题,驱动持续增长。

电子商务

全方面、多领域整合数据,为企业定制代理解决方案,破解发展难题,驱动持续增长。

市场调研

全方面、多领域整合数据,为企业定制代理解决方案,破解发展难题,驱动持续增长。

网络环境

全方面、多领域整合数据,为企业定制代理解决方案,破解发展难题,驱动持续增长。

辣椒HTTP

深受客户们的信赖

来自全球各行各业超过20000精英的支持。

辣椒HTTP

广告数据分析师 -苏晴-

评估广告投放效果,跨网域追踪是工作中的难题。自从用了代理后,可以精准模拟各地受众,实时追踪广告反馈,优化策略有的放矢,客户投放回报率显著提高,是我工作中必不可少的存在!
辣椒HTTP

软件测试工程师 -Lucas Müller-

工作中需要测试软件在不同地区和网络环境下的兼容性及用户体验。使用辣椒HTTP后,可以稳定模拟多个网络环境,帮助提升测试效果,保障项目按时交付,提升整体质量与团队效率,是开发过程中非常实用的辅助工具。
辣椒HTTP

金融数据分析师 -张勇杨-

分析金融市场趋势,需要整合全球数据。过去受限较多,使用辣椒HTTP后,可以顺畅访问各国网络,获取大量一手金融数据,提升模型预测能力,为投资决策提供有力支持。

常见问题

海外住宅代理套餐是家庭住宅 IP 么?

基于真实家庭住宅IP网络,采用TLS加密传输与动态IP轮换技术,降低数据关联风险。禁止用于数据窃取、网络攻击等行为,用户需自行承担业务合规责任。

海外住宅代理套餐的会话时长是多久?

我们支持2种会话模式,一种是轮转模式,即每次请求都会更换IP;一种是粘性模式,您可以自定义1-120分钟的会话时长。

海外住宅代理套餐代理 IP 能否指定城市?

是的,我们支持精准到城市级别定位,您可以根据实际需求选择代理 IP 的位置。

clsoe

确认订单

请在30分钟内完成支付,否则订单会被自动取消

订单信息

套餐名称

数量

原价

实际支付金额

套餐名称

国家

有效期

数量

支付金额

充值金额(¥)

赠送金额(¥)

到账金额(¥)

选择支付方式

辣椒HTTP

支付宝支付

辣椒HTTP

微信支付

余额支付

当前余额:¥-

去充值

请使用支付宝扫码

辣椒HTTP

确认支付

注意事项

需实名认证才能进行使用

如遇支付异常,请联系客服

clsoe
辣椒HTTP

支付成功!

返回首页 去使用
在线客服

专属客户经理

专属客户经理

扫一扫添加您的专属客户经理

置顶