Docs · v1

Connect in one line.

SakuraProxies works with any tool that supports HTTP or SOCKS5 proxies. There's no SDK to install: everything, including targeting and sessions, is controlled through your proxy username.

Quick start

1. Create an account and buy a plan. 2. Open the plan to copy its username and password. 3. Send a request:

curl -x "http://sakura_ab12cd34-cc-US:Pa55word@gate.sakuraproxi.com:9999" https://ipinfo.io/json

You'll see a US residential IP in the response. Remove -cc-US to get a random country.

Endpoint & authentication

Hostgate.sakuraproxi.com
Port9999 (HTTP, HTTPS & SOCKS5)
Usernameyour plan username + optional flags
Passwordyour plan password

Credentials are per plan. Rotate a password any time from the plan page; old credentials stop working immediately.

Geo targeting

Append flags to your username in this order. All flags are optional and can be combined.

{username}[-cc-{COUNTRY}][-st-{state}][-ct-{city}][-asn-{asn}][-sid-{session}[-ttl-{seconds}]]
-cc-Country (ISO 3166 alpha-2)-cc-GB
-st-State / region (lowercase, no spaces)-st-california
-ct-City (lowercase, no spaces)-ct-losangeles
-asn-ISP / carrier network number-asn-7922
-sid-Sticky session ID (any string)-sid-job42
-ttl-Session lifetime in seconds (with -sid)-ttl-1800

Valid states, cities and ASNs per country are listed on each location page and in the dashboard generator.

sakura_ab12cd34-cc-US-st-california-ct-losangeles:Pa55word@gate.sakuraproxi.com:9999

Sticky sessions

Without -sid, every request gets a new IP (rotating). Add a session ID to keep the same IP; use a new ID whenever you want a fresh one. -ttl sets how long the IP is held (1 minute to 24 hours).

sakura_ab12cd34-cc-DE-sid-checkout7-ttl-600:Pa55word@gate.sakuraproxi.com:9999

Protocols & formats

The same host and port accept HTTP, HTTPS (CONNECT) and SOCKS5. The generator can export in any of these formats:

user:pass@host:port
host:port:user:pass
user:pass
http://user:pass@host:port      socks5://user:pass@host:port

Code examples

python
import requests

proxy = "http://sakura_ab12cd34-cc-US:Pa55word@gate.sakuraproxi.com:9999"
r = requests.get(
    "https://ipinfo.io/json",
    proxies={"http": proxy, "https": proxy},
    timeout=30,
)
print(r.text)
Node.js (undici)
import { ProxyAgent, fetch } from "undici";

const agent = new ProxyAgent("http://sakura_ab12cd34-cc-US:Pa55word@gate.sakuraproxi.com:9999");
const res = await fetch("https://ipinfo.io/json", { dispatcher: agent });
console.log(await res.text());
go
proxyURL, _ := url.Parse("http://sakura_ab12cd34-cc-US:Pa55word@gate.sakuraproxi.com:9999")
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))
php
$ch = curl_init("https://ipinfo.io/json");
curl_setopt($ch, CURLOPT_PROXY, "http://sakura_ab12cd34-cc-US:Pa55word@gate.sakuraproxi.com:9999");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);
Puppeteer
const browser = await puppeteer.launch({ args: ["--proxy-server=gate.sakuraproxi.com:9999"] });
const page = await browser.newPage();
await page.authenticate({ username: "sakura_ab12cd34-cc-US", password: "Pa55word" });
await page.goto("https://ipinfo.io/json");
Playwright
const browser = await chromium.launch({
  proxy: { server: "http://gate.sakuraproxi.com:9999", username: "sakura_ab12cd34-cc-US", password: "Pa55word" },
});

Troubleshooting

407 Proxy Authentication Required
Wrong username/password, or the plan is expired or out of traffic.
Connection timeouts
Rare locations have fewer peers. Widen targeting (drop city or ASN) or retry.
IP changes during a session
Add -sid and raise -ttl. Residential peers can still go offline, so design for retries.
Slow throughput
Pick a higher speed tier, or use an unlimited plan for sustained bandwidth.

Still stuck? Open a ticket from your dashboard and include an example username (never your password).