Trang chủ
Địa điểm
Blog
Sản phẩm
Ủy nhiệm khu dân cư Ủy quyền nhà ở không giới hạn Ủy nhiệm nhà ở tĩnh Proxy Trung tâm dữ liệu tĩnh Các đại diện được chia sẻ tĩnh
Tài nguyên
Định giá Địa điểm Blog Trung tâm Trợ giúp Câu hỏi thường gặp
Đăng ký
Xác thực người dùng/mật khẩu
Giới thiệu mật khẩu
Trích xuất API
API Demo
Trích xuất Tên người dùng/Mật khẩu
Dữ liệu còn lại
0GB
Quốc gia
Tiểu bang và Tỉnh
Thành phố
Loại buổi học
Tài khoản phụ
Bạn muốn có tài khoản tùy chỉnh?Tạo một tài khoản.
Địa chỉ ủy quyền
Máy chủ:Cổng
Tên người dùng
Mật khẩu
Lệnh kiểm tra (SOCKS5 Vui lòng đặt nó bên dưới http:// change SOCKS5://)
Tạo hàng loạt
Sao chép
Tạo
Bạn có câu hỏi nào không? Vui lòng kiểm tra hướng dẫn sử dụng
Mã lỗi
MÔ TẢ
400
Định dạng của tài khoản và mật khẩu không chính xác.
401
Không có đủ cân bằng giao thông.
402
Không đủ cân bằng giao thông
403
Không đủ hạn chế lưu lượng truy cập tài khoản phụ
405
Không thể tìm thấy nút thoát
406
Không thể tìm thấy nút thoát
407
Xác thực không thành công
408
IP chưa được thêm vào danh sách trắng
409
Chưa thiết lập yêu cầu cho khu vực
410
Không thể tìm thấy nút thoát
411
Lỗi cấu hình xuất
412
Không thể tìm thấy nút thoát
413
Lỗi cấu hình xuất
414
Không thể tìm thấy nút thoát
415
Không thể tìm thấy nút thoát
416,417,418,419
Không thể tìm thấy tài khoản phụ
420
Mật khẩu tài khoản xác thực trống
421
Mật khẩu tài khoản xác thực không chính xác
423
Sử dụng quyền truy cập mạng đại lục
424
Người dùng phụ đã bị tạm ngưng
Hướng dẫn sử dụng
Thông số
MÔ TẢ
BẮT BUỘC
zone
Khu vực, không điền vào hỗn hợp chung mặc định
st
Tiểu bang, bao gồm ở một số quốc gia, không được điền ngẫu nhiên mặc định
Không
city
Thành phố, ngẫu nhiên mặc định nếu không được điền vào
Không
sid
Số tinh khiết ngẫu nhiên 8 bit
Không
time
Thời lượng dưới 180 phút
Không
Phương pháp sử dụng
Vùng - khu vực được chỉ định

[account]_custom_zone_BR:[password]

zone_BR

zone_JP

zone_GB

zone_KR

ví dụ:

# lượt truy cập

curl -x us.proxy001.com:7878 -U "[account]_custom_zone_KR:[password]" ipinfo.io

ST - Tiểu bang được chỉ định

[account]_custom_zone_US_st_California:[password]

st_California

st_Florida

st_Oregon

st_NorthCarolina

ví dụ:

# lượt truy cập

curl -x us.proxy001.com:7878 -U "[account]_custom_zone_US_st_California:[password]" ipinfo.io

Thành phố - Thành phố được chỉ định

[account]_custom_zone_US_st_Mississippi_city_Jackson:[password]

city_Tremont

city_Jackson

ví dụ:

# lượt truy cập

curl -x us.proxy001.com:7878 -U "[account]_custom_zone_US_st_Mississippi_city_Jackson:[password]" ipinfo.io

Sid - Chỉ định ngẫu nhiên một IP thoát cố định

[account]_custom_zone_global_sid_14675113:[password]

ví dụ:

# lượt truy cập

curl -x us.proxy001.com:7878 -U "[account]_custom_zone_global_sid_14675113:[password]" ipinfo.io

Thời gian - Thời lượng tối đa cho một IP thoát cố định: 180 phút

Sử dụng với SID

[account]_custom_zone_global_sid_14675113_time_20:[password]

time_5

5 phút

time_10

10 phút

time_30

30 phút

ví dụ:

# lượt truy cập

curl -x us.proxy001.com:7878 -U "[account]_custom_zone_global_sid_14675113_time_20:[password]" ipinfo.io

Chọn ngôn ngữ
C/C++
GO
Node.js
PHP
JAVA
Python
C/C++
#include <iostream>
#include <string>
#include <curl/curl.h>

// Callback function, used to process HTTP response data
size_t WriteCallback(void* contents, size_t size, size_t nmemb, std::string* s) {
    size_t newLength = size * nmemb;
    s->append((char*)contents, newLength);
    return newLength;
}

int main() {
    CURL* curl;
    CURLcode res;
    std::string readBuffer;

    // Initialize libcurl
    curl_global_init(CURL_GLOBAL_ALL);

    // Get a CURL handle
    curl = curl_easy_init();
    if(curl) {
        // Set proxy URL and port、username and password
        const char* proxyUrl = "http://Proxy URL:port";
        const char* proxyUserpwd = "username:password";
        curl_easy_setopt(curl, CURLOPT_PROXY, proxyUrl);
        curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, proxyUserpwd);

        // Set target URL
        curl_easy_setopt(curl, CURLOPT_URL, "http://ipinfo.io");

        // Set callback function to handle HTTP response data
        curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteCallback);
        curl_easy_setopt(curl, CURLOPT_WRITEDATA, &readBuffer);

        // Execute HTTP requests
        res = curl_easy_perform(curl);

        // Check if the request was successful
        if(res != CURLE_OK) {
            std::cerr << "curl_easy_perform() failed: " << curl_easy_strerror(res) << std::endl;
        } else {
            // Print the return result
            std::cout << "Response:\n" << readBuffer << std::endl;
        }

        // clean
        curl_easy_cleanup(curl);
    }

    // clean
    curl_global_cleanup();

    return 0;
}
          
GO
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

var proxy_server = "http://Proxy URL:port"
var username = "username"
var password = "password"

func main() {
	// Set proxy URL
	proxyURL, err := url.Parse(proxy_server)
	if err != nil {
		fmt.Printf("Failed to parse proxy URL: %v\n", err)
		return
	}

	//
	proxyURL.User = url.UserPassword(username, password)

	// Create Transport
	transport := &http.Transport{
		Proxy: http.ProxyURL(proxyURL),
	}

	// Create client
	client := &http.Client{
		Transport: transport,
	}

	// Send request
	resp, err := client.Get("http://ipinfo.io")
	if err != nil {
		fmt.Printf("request failure: %v\n", err)
		return
	}
	defer resp.Body.Close()

	// Read response
	body, err := io.ReadAll(resp.Body)
	if err != nil {
		fmt.Printf("Read response fail: %v\n", err)
		return
	}

	// Output result
	fmt.Printf("status: %d\n", resp.StatusCode)
	fmt.Printf("Response content:\n%s\n", string(body))
}
          
Node.js
#!/usr/bin/env node
require('request-promise')({
    url: 'https://ipinfo.io',
    proxy: 'http://???-zone-custom:????@us.proxy001.com:7878',
    })
.then(function(data){ console.log(data); },
    function(err){ console.error(err); });		       
PHP
// Target URL
$url = "http://ipinfo.io";

// Proxy server information
$proxy = "us.proxy001.com:7878"; // Replace with your proxy address and port
$proxyAuth = "username:password"; //  Replace with agent username and password

// Initialize cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_PROXY, $proxy );
curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxyAuth);
curl_setopt($ch, CURLOPT_PROXYTYPE,CURLPROXY_HTTP);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
$result = curl_exec($ch);
curl_close($ch);
echo $result;
          
JAVA
import org.apache.http.HttpHost;
import org.apache.http.HttpResponse;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.BasicCredentialsProvider;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;

public class auth_demo {
    public static void main(String[] args) {
        String proxyHost = "Proxy ip";
        int proxyPort = 7878;
        String proxyUsername = "username";
        String proxyPassword = "password";
        String targetUrl = "http://ipinfo.io";

        //
        CredentialsProvider credsProvider = new BasicCredentialsProvider();
        credsProvider.setCredentials(
                new AuthScope(proxyHost, proxyPort),
                new UsernamePasswordCredentials(proxyUsername, proxyPassword));

        //
        try (CloseableHttpClient httpClient = HttpClients.custom()
                .setDefaultCredentialsProvider(credsProvider)
                .setProxy(new HttpHost(proxyHost, proxyPort))
                .build()) {

            //
            HttpGet httpGet = new HttpGet(targetUrl);

            //
            HttpResponse response = httpClient.execute(httpGet);

            //
            int statusCode = response.getStatusLine().getStatusCode();
            if (statusCode == 200) {
                //
                String responseBody = EntityUtils.toString(response.getEntity());
                System.out.println("response:\n" + responseBody);
            } else {
                System.out.println("request failed, status code: " + statusCode);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
          
Python
import requests

        # Target URL
        url = "http://ipinfo.io"

        proxyserver = "http://Proxy ip:port"#如us.proxy001.com:7878
        username = "username"
        password = "password"

        # Proxy settings
        proxies = {
        }

        try:
            # Send GET request
            response = requests.get(url, proxies=proxies)

            # Check the response status
            response.raise_for_status()

            # Print the return result
            print(response.text)
        except requests.exceptions.RequestException as e:
            # Handling request exceptions
            print(f"request failure: {e}")
          
Trích xuất API
Dữ liệu còn lại
0GB
LỰA CHỌN KHU VỰC*
SỐ LƯỢNG TRÍCH XUẤT
GIAO THỨC
ĐỊNH DẠNG DỮ LIỆU
DẤU PHÂN CÁCH
Tạo
Mở liên kết >
API danh sách trắng
Giao diện
Mô tả
https://proxy001.com/api/user/white_ip_list?api_key=xxx
API truy vấn danh sách trắng
https://proxy001.com/api/user/add_white_ip?api_key=xxx&ips=xxx
Giao diện Thêm Danh sách trắng (IPS được phân tách bằng dấu phẩy trong tiếng Anh)
https://proxy001.com/api/user/del_white_ip?api_key=xxx&ips=xxx
Giao diện xóa danh sách trắng (IPS được phân tách bằng dấu phẩy trong tiếng Anh)
Hướng dẫn
Thông số
Mô tả
Loại
Bắt buộc
num
Số lượng IP
int
regions
Quốc gia
string
protocol
(http:HTTP/https SOCKS5: socks5)
string
Không
return_type
txt json
string
Không
lb
Dấu phân cách(1:\r\n 2:/br 3: \r 4:\n 5:\t 6 :tùy chỉnh)
int
sb
Dấu phân cách tùy chỉnh
string
Không
Chú thích kết quả
Tên
Loại
Mô tả
IP
int
Địa chỉ IP
PORT
string
Cổng proxy
Ví dụ về kết quả trả về
{"code": 0, "success": true, "msg": "success", "request_ip": "127.0.0.1", "data": [ {"ip" :"1.1.2.2","port" :14566}, {"ip" :"1.1.2.2","port" :14577}, ] }
Chọn ngôn ngữ
C/C++
GO
Node.js
PHP
JAVA
Python
C/C++
#include <iostream>
#include <string>
#include <curl/curl.h>

// Callback function, used to process HTTP response data
size_t WriteCallback(void* contents, size_t size, size_t nmemb, std::string* s) {
    size_t newLength = size * nmemb;
    s->append((char*)contents, newLength);
    return newLength;
}

int main() {
    CURL* curl;
    CURLcode res;
    std::string readBuffer;

    // Initialize libcurl
    curl_global_init(CURL_GLOBAL_ALL);

    // Get a CURL handle
    curl = curl_easy_init();
    if(curl) {
        // Set proxy URL and port
        const char* proxyUrl = "http://Proxy URL:port";
        curl_easy_setopt(curl, CURLOPT_PROXY, proxyUrl);

        // Set target URL
        curl_easy_setopt(curl, CURLOPT_URL, "http://ipinfo.io");

        // Set callback function to handle HTTP response data
        curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteCallback);
        curl_easy_setopt(curl, CURLOPT_WRITEDATA, &readBuffer);

        // Execute HTTP requests
        res = curl_easy_perform(curl);

        // Check if the request was successful
        if(res != CURLE_OK) {
            std::cerr << "curl_easy_perform() failed: " << curl_easy_strerror(res) << std::endl;
        } else {
            // Print the return result
            std::cout << "Response:\n" << readBuffer << std::endl;
        }

        // clean
        curl_easy_cleanup(curl);
    }

    // clean
    curl_global_cleanup();

    return 0;
}
          
GO
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

var proxy_server = "http://Proxy ip:port"

func main() {
	// Set proxy URL
	proxyURL, err := url.Parse(proxy_server)
	if err != nil {
		fmt.Printf("Failed to parse proxy URL: %v\n", err)
		return
	}

	// Create Transport
	transport := &http.Transport{
		Proxy: http.ProxyURL(proxyURL),
	}

	// Create client
	client := &http.Client{
		Transport: transport,
	}

	// Send request
	resp, err := client.Get("http://ipinfo.io")
	if err != nil {
		fmt.Printf("request failure: %v\n", err)
		return
	}
	defer resp.Body.Close()

	// Read response
	body, err := io.ReadAll(resp.Body)
	if err != nil {
		fmt.Printf("Read response fail: %v\n", err)
		return
	}

	// Output result
	fmt.Printf("status: %d\n", resp.StatusCode)
	fmt.Printf("Response content:\n%s\n", string(body))
}

          
Node.js
#!/usr/bin/env node
require('request-promise')({
    url: 'https://ipinfo.io',
    proxy: 'http://ip:port',
    })
.then(function(data){ console.log(data); },
    function(err){ console.error(err); }); 
PHP

// Target URL
$url = "http://ipinfo.io";

// Proxy server information
$proxy = "198.19.11.12:123"; // Proxy address and port

// Initialize cURL
$ch = curl_init();

// Set cURL options
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_PROXY, $proxy); // proxies
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // Return the result instead of directly outputting it

// Execute request and obtain response
$response = curl_exec($ch);

// Check for errors
if (curl_errno($ch)) {
    echo "cURL error:" . curl_error($ch);
} else {
    echo $response;
}

// close cURL
curl_close($ch);


          
JAVA
import org.apache.http.HttpHost;
import org.apache.http.HttpResponse;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.BasicCredentialsProvider;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;

public class api_demo {
    public static void main(String[] args) {
        String proxyHost = "Proxy ip";
        int proxyPort = 7878;
        String targetUrl = "http://ipinfo.io";

        //
        CredentialsProvider credsProvider = new BasicCredentialsProvider();
        credsProvider.setCredentials(
                new AuthScope(proxyHost, proxyPort));

        //
        try (CloseableHttpClient httpClient = HttpClients.custom()
                .setDefaultCredentialsProvider(credsProvider)
                .setProxy(new HttpHost(proxyHost, proxyPort))
                .build()) {

            //
            HttpGet httpGet = new HttpGet(targetUrl);

            //
            HttpResponse response = httpClient.execute(httpGet);

            //
            int statusCode = response.getStatusLine().getStatusCode();
            if (statusCode == 200) {
                //
                String responseBody = EntityUtils.toString(response.getEntity());
                System.out.println("response:\n" + responseBody);
            } else {
                System.out.println("request failed, status code: " + statusCode);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

          
Python
import requests

# Target URL
url = "http://ipinfo.io"

# Proxy settings
proxies = {
    'http': 'http://Proxy ip:port',
    'https': 'http://Proxy ip:port'  # Even if HTTPS is not used, it is recommended to set up an HTTPS proxy at the same time
}

try:
    # Send GET request
    response = requests.get(url, proxies=proxies)

    # Check the response status
    response.raise_for_status()

    # Print the return result
    print(response.text)
except requests.exceptions.RequestException as e:
    # Handling request exceptions
    print(f"request failure: {e}")
          
Bắt đầu dịch vụ proxy toàn cầu an toàn và ổn định
của bạn
Bắt đầu chỉ trong vài phút và giải phóng hoàn toàn tiềm năng của proxy.
Bắt đầu