빠른 시작
1분 이내에 첫 번째 프록시 요청을 보내보세요.
-
계정을 생성하고 요금제를 선택하세요
shifter.io/order에서 가입하고 요금제를 선택하세요.
-
인증 정보를 확인하세요
클라이언트 대시보드를 열고 프록시 사용자 이름과 비밀번호(Scraping/SERP API의 경우 API 키)를 복사하세요. 형식은 다음과 같습니다:
Username: customer-USERNAMEPassword: 5f8a9c2b1d3e4f6g7h8iGateway: p.shifter.io:443 -
첫 번째 요청을 보내세요
게이트웨이를 통해 모든 HTTP 호출을 라우팅하세요. 사용자 이름에 타겟팅 정보가 인코딩되어 있습니다:
Terminal window curl -x customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600:PASSWORD@p.shifter.io:443 \https://ipinfo.io/jsonimport requestsproxy = "customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600:PASSWORD@p.shifter.io:443"proxies = {"http": proxy, "https": proxy}r = requests.get("https://ipinfo.io/json", proxies=proxies)print(r.text)import fetch from 'node-fetch';import { HttpsProxyAgent } from 'https-proxy-agent';const agent = new HttpsProxyAgent('customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600:PASSWORD@p.shifter.io:443');const res = await fetch('https://ipinfo.io/json', { agent });console.log(await res.text());import axios from 'axios';import { HttpsProxyAgent } from 'https-proxy-agent';const agent = new HttpsProxyAgent('customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600:PASSWORD@p.shifter.io:443');const { data } = await axios.get<string>('https://ipinfo.io/json', {httpAgent: agent,httpsAgent: agent,});console.log(data);const fetch = require('node-fetch');const { HttpsProxyAgent } = require('https-proxy-agent');const agent = new HttpsProxyAgent('customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600:PASSWORD@p.shifter.io:443');fetch('https://ipinfo.io/json', { agent }).then((r) => r.text()).then(console.log);package mainimport ("fmt""io""net/http""net/url")func main() {proxyURL, _ := url.Parse("customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600:PASSWORD@p.shifter.io:443")client := &http.Client{Transport: &http.Transport{Proxy: http.ProxyURL(proxyURL)},}resp, _ := client.Get("https://ipinfo.io/json")defer resp.Body.Close()body, _ := io.ReadAll(resp.Body)fmt.Println(string(body))}use reqwest::blocking::Client;use reqwest::Proxy;fn main() -> Result<(), Box<dyn std::error::Error>> {let proxy = Proxy::all("http://p.shifter.io:443")?.basic_auth("customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600", "PASSWORD");let client = Client::builder().proxy(proxy).build()?;let body = client.get("https://ipinfo.io/json").send()?.text()?;println!("{body}");Ok(())}import java.net.*;import java.net.http.*;public class Main {public static void main(String[] args) throws Exception {HttpClient client = HttpClient.newBuilder().proxy(ProxySelector.of(new InetSocketAddress("p.shifter.io", 443))).authenticator(new Authenticator() {protected PasswordAuthentication getPasswordAuthentication() {return new PasswordAuthentication("customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600","PASSWORD".toCharArray());}}).build();HttpRequest req = HttpRequest.newBuilder(URI.create("https://ipinfo.io/json")).build();HttpResponse<String> res = client.send(req, HttpResponse.BodyHandlers.ofString());System.out.println(res.body());}}using System.Net;using System.Net.Http;var handler = new HttpClientHandler{Proxy = new WebProxy("http://p.shifter.io:443"){Credentials = new NetworkCredential("customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600","PASSWORD")},UseProxy = true};using var client = new HttpClient(handler);var ip = await client.GetStringAsync("https://ipinfo.io/json");Console.WriteLine(ip);<?phprequire 'vendor/autoload.php';$client = new GuzzleHttp\Client(['proxy' => 'customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600:PASSWORD@p.shifter.io:443',]);$res = $client->get('https://ipinfo.io/json');echo $res->getBody(); -
국가, 세션 또는 ISP를 타겟팅하세요
매개변수를 사용하여 지역, 세션, 라우팅을 제어하세요:
매개변수 예시 효과 country-XXcustomer-USERNAME-country-de독일을 경유하여 라우팅 region-NAMEcustomer-USERNAME-region-california특정 지역/주를 타겟팅 city-NAMEcustomer-USERNAME-city-new_york특정 도시를 타겟팅 asn-NUMBERcustomer-USERNAME-asn-7922특정 ASN을 타겟팅 sid-IDcustomer-USERNAME-sid-abc고정 세션(기본 TTL 120초 동안 동일한 IP 유지) ttl-SECONDScustomer-USERNAME-sid-abc-ttl-600고정 세션의 사용자 지정 TTL(초 단위, sid필요)strict-truecustomer-USERNAME-country-us-strict-true더 넓은 풀로 대체하지 않고 502로 실패