빠른 시작
단일 HTTP(S) 요청을 Shifter 게이트웨이를 통해 라우팅하여 플랜이 활성화되어 있는지 확인하고 실제로 작동하는 레지덴셜 IP를 확인하세요.
-
로그인하여 자격 증명 받기
shifter.io/panel에 로그인하여 Residential Proxies 섹션을 여세요. 사용자 이름과 비밀번호를 복사하고, 게이트웨이 주소가
p.shifter.io:443인지 확인하세요. -
게이트웨이를 통해 요청 라우팅하기
USERNAME과PASSWORD를 교체한 다음 사용할 언어를 선택하세요.Terminal window curl -x customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600:PASSWORD@p.shifter.io:443 \https://ipinfo.io/jsonimport requestsproxies = {"http": "customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600:PASSWORD@p.shifter.io:443","https": "customer-USERNAME-country-us-sid-9f3a2b7c-ttl-600:PASSWORD@p.shifter.io:443",}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()); -
응답 확인하기
미국 레지덴셜 IP 주소가 표시되어야 합니다. 사용자 이름의
sid-9f3a2b7c는 기본 120초 TTL 동안 해당 IP를 고정하며,ttl-600은 이를 600초로 연장합니다.sid플래그를 제거하면(즉customer-USERNAME-country-us만 사용) 요청마다 새로운 IP로 로테이션됩니다. -
세션 고정 또는 더 정밀한 타겟팅 추가하기
사용자 이름에
sid-abc를 추가하여 동일한 IP를 유지하세요(기본 수명 120초).sid와 함께ttl-600을 추가하면 10분으로 연장됩니다.city-los_angeles로 도시를,region-california로 지역을,asn-7922로 네트워크를 타겟팅할 수 있습니다. 자세한 내용은 세션과 지역 타겟팅을 참고하세요.