Panduan
Mulai pakai dalam 2 menit
Satu endpoint melayani HTTP dan SOCKS5. Kredensial ada di dashboard setelah order aktif.
Host
proxy.x1code.fun
Port
7000
Protokol
HTTP / SOCKS5
Auth
user:pass
Contoh kode
curl -x http://USER:PASS@proxy.x1code.fun:7000 https://api.ipify.org
curl --socks5-hostname USER:PASS@proxy.x1code.fun:7000 https://api.ipify.orgimport requests
proxy = "http://USER:PASS@proxy.x1code.fun:7000"
r = requests.get("https://api.ipify.org", proxies={"http": proxy, "https": proxy}, timeout=30)
print(r.text)import { ProxyAgent, fetch } from "undici";
const agent = new ProxyAgent("http://USER:PASS@proxy.x1code.fun:7000");
const res = await fetch("https://api.ipify.org", { dispatcher: agent });
console.log(await res.text());const browser = await puppeteer.launch({ args: ["--proxy-server=http://proxy.x1code.fun:7000"] });
const page = await browser.newPage();
await page.authenticate({ username: "USER", password: "PASS" });
await page.goto("https://api.ipify.org");Sticky session & rotasi
Untuk paket Rotating dan Per-GB, tambahkan akhiran -session-<id> pada username. Selama id sama, koneksi memakai IP yang sama (sampai interval rotasi paket habis). Ganti id untuk langsung mendapat IP lain.
# IP tetap untuk sesi a1
curl -x http://USER-session-a1:PASS@proxy.x1code.fun:7000 https://api.ipify.org
# IP lain untuk sesi b2
curl -x http://USER-session-b2:PASS@proxy.x1code.fun:7000 https://api.ipify.orgPaket Dedicated memiliki satu lane eksklusif. Klik Rotasi IP di dashboard untuk meminta IP baru; prosesnya sekitar 10–20 detik dan koneksi aktif akan terputus sebentar.
Kode error
| HTTP | Arti |
|---|---|
| 407 | Username/password salah |
| 402 | Kuota habis |
| 429 | Batas koneksi paralel tercapai |
| 502/503 | Lane sedang rotasi atau offline — coba lagi beberapa detik |