No KYC — no ID, no selfie, no documents. Pay in crypto: BTC, USDT, USDC, ETH, SOL, LTC
Language: English
Get started

Docs · quick start · checked 13 November 2026

How do I connect to CrawlRelay proxies?

The first request takes one line. After that, this page is the reference: username parameters, session rules, the errors you may meet, limits, and where each library guide lives.

Last updated: · 8 min read

Quick answer

How do I connect to CrawlRelay proxies?

CrawlRelay proxies connect through one gateway: gw.crawlrelay.com on port 7777 for HTTP and HTTPS, or port 7778 for SOCKS5. Country, city, US state, ZIP, ASN and a sticky session of up to 30 minutes go in the username. Residential traffic starts at $1.50 for 1 GB, paid in crypto.

In brief
  • Gateway: gw.crawlrelay.com, port 7777 for HTTP and HTTPS (CONNECT), port 7778 for SOCKS5.
  • Targeting: country and city on every plan, US state and ZIP code, ASN at no extra cost, all written into the username.
  • Sessions: rotating by default, an IP per new connection; sticky from 1 to 30 minutes with session and ttl.
  • Login: the plan or sub-user username and password, or an IP allowlist of up to 10 addresses.
  • Price: $1.50 for 1 GB, $0.50/GB from 50 GB; balance topped up from $25 in crypto.

What are the connection settings?

What are the connection settings?
Gateway hostgw.crawlrelay.com
HTTP / HTTPS port7777 (HTTPS sites through CONNECT)
SOCKS5 port7778 (use socks5h:// so DNS resolves at the exit)
AuthenticationUsername and password of your plan or of a sub-user, or an IP allowlist (up to 10 IPs)
Username formatUSERNAME-country-{cc}-state-{state}-city-{city}-zip-{zip}-asn-{asn}-session-{id}-ttl-{minutes}
Session lengthup to 30 minutes; the IP can change earlier
Test URLhttps://api.ipify.org returns the exit IP as plain text
Management APIhttps://crawlrelay.com/api/v1, API keys you can revoke at any time (API docs)

How do I send my first request?

Run one command with the username and password from the dashboard: it prints the exit IP that websites see. Each example below asks api.ipify.org for that address. Run it twice and the IP usually changes, because each run opens a new connection to the gateway and a new connection gets an IP from the pool. If the command fails, the status line tells you whether the gateway or the target answered.

curl
curl -x http://USERNAME-country-us:[email protected]:7777 https://api.ipify.org
Python (requests)
import requests

proxy = "http://USERNAME-country-us:[email protected]:7777"
r = requests.get("https://api.ipify.org", proxies={"http": proxy, "https": proxy}, timeout=(10, 30))
print(r.text)
Node.js 22+ (undici)
import { ProxyAgent, fetch } from "undici";

const dispatcher = new ProxyAgent("http://USERNAME-country-us:[email protected]:7777");
const res = await fetch("https://api.ipify.org", { dispatcher });
console.log(await res.text());

How do I build the username?

Append targeting to the dashboard username with hyphens, in the documented order; every part is optional. Values are lowercase, and city names use underscores (new_york, sao_paulo). City availability varies by country.

The proxy generator in the client area writes the same usernames for you: choose a country, state, city, ZIP code or provider, pick rotating or sticky with a duration from 1 to 30 minutes, and download up to 1,000 lines as host:port:user:pass, a proxy URL, curl commands or Python requests code.

Seven username patterns for common targeting goals
GoalUsername
Any country, rotating per connectionUSERNAME
GermanyUSERNAME-country-de
ParisUSERNAME-country-fr-city-paris
TexasUSERNAME-country-us-state-tx
One ZIP codeUSERNAME-country-us-zip-10001
One internet providerUSERNAME-country-us-asn-7922
Same IP for up to 30 minutesUSERNAME-country-gb-session-abc123-ttl-30

If your password contains @, : or /, URL-encode it before you put it in a proxy URL. The 407 error page shows how.

How do rotating and sticky sessions behave?

Without a session ID the exit can change on every new connection; with one, it stays for the ttl you set, up to 30 minutes. A username without session- gets an IP from the pool on each new TCP connection, usually a different one. A username with session-<id>-ttl-<minutes> keeps the same exit IP for that ID until the TTL ends or the residential device goes offline.

  • Rotation happens per connection, not per request: keep-alive reuses the same exit.
  • Use a fresh session ID per job, per browser context or per account flow.
  • Two scrapers that send the same session ID share one exit IP.

The sessions guide covers connection reuse in each library.

Which errors will I see, and who sends them?

First find out who answered: the gateway, the browser, your own client or the website. CrawlRelay counted 15 proxy errors in its error reference; the six below are the usual suspects during a first setup.

Six common proxy errors: who sends them, the usual cause and the fix
You seeSent byUsual causeWhat to do
407GatewayWrong or unencoded credentialsFix the username or password; never retry blindly
ERR_TUNNEL_CONNECTION_FAILEDBrowserCONNECT refused (often a hidden 407)Pass credentials as fields, not in the server URL
502 / 504Gateway or CDNExit dropped, target slow or downRetry on a new connection, with a cap
403WebsiteWrong country, headers, rate, or a refusalCheck in a browser; slow down or respect the refusal
429WebsiteRate limitHonour Retry-After; lower per-host concurrency
SSL: WRONG_VERSION_NUMBERYour clienthttps:// in front of the proxy URLUse http:// for the proxy URL

All 15 entries are in the error reference.

What are the limits?

CrawlRelay refuses banking, government and payment-portal sites and SMTP ports, and bills traffic per GB rather than per thread.

  • Blocked destinations: Banking, government and payment-portal sites, plus SMTP (email-sending) ports 25, 465 and 587. Requests to them are refused.
  • Use: public data only, under the Acceptable Use Policy. No account takeover, fraud, spam or attempts to defeat a site's deliberate blocks.
  • Traffic: billed per GB. Usage counts all data sent and received through the proxy (upload and download, headers included). 1 GB = 1,000,000,000 bytes. Connection attempts that fail before reaching the target are not counted. Requests stop when a plan's traffic runs out.
  • Sessions: up to 30 minutes; the IP can change earlier, for example if its residential device goes offline.
  • Protocols: HTTP, HTTPS (CONNECT) and SOCKS5.
  • Concurrency: not billed. Your limit is what each target accepts; see the concurrency guide.

How do I manage credentials and usage?

Manage logins, the IP allowlist and usage in the dashboard, or through the REST API with an API key you can revoke. The API lives at https://crawlrelay.com/api/v1. The main tasks:

  • Sub-users: one set of credentials per scraper or client project, each with an optional traffic limit in GB. A disabled sub-user stops at once. See residential API.
  • IP allowlist: up to 10 public IPs that can connect without a password.
  • Usage: the Statistics tab shows traffic per day, request counts and the top 10 countries of the IPs used, with a CSV export.
  • Catalog: the countries, cities, states and ASNs you can target, so your code can validate a username before using it.
  • Orders: buy more traffic from your balance without opening the dashboard. See orders API.

Which plan should I buy to test the setup?

Start with the 1 GB plan at $1.50, then buy 50 GB or more at $0.50/GB once the scraper runs cleanly. One gigabyte is enough for thousands of curl tests or a trial crawl of HTML pages, and unused traffic never expires, so nothing is lost if the project pauses.

Payment works in two steps. First top up the balance with BTC, USDT, USDC, ETH, SOL, LTC, from $25. Then buy any plan from that balance; the login appears in the dashboard once the purchase goes through. CrawlRelay has no free trial. When a purchase costs less than the minimum top-up, the part added only to reach the minimum can be refunded on request within 30 days, in USDT or USDC, if it is unspent. Full price list: CrawlRelay pricing.

Which guide fits my library?

Quick-start questions

Which libraries do the CrawlRelay docs cover?

CrawlRelay publishes guides for Python (requests, httpx, aiohttp), Scrapy, Playwright, Puppeteer, Selenium, Node.js and curl, plus a reference of 15 proxy errors and a REST API reference. Every example uses the real gateway host and ports.

Do I need to allowlist my server IP to use CrawlRelay?

No. CrawlRelay accepts username and password logins from any machine, so the same scraper runs on a laptop, a server or a CI runner. An allowlist of up to 10 IPs is optional; keep credentials in environment variables, never in a repository.

Why do I keep getting the same exit IP on CrawlRelay?

Either the username carries a session ID, which keeps one IP on purpose, or the client reuses one kept-alive connection. CrawlRelay rotates per new connection, so remove the session part or open a new connection per request.

Should I use the HTTP port or the SOCKS5 port?

Use the HTTP port 7777 for scraping: every library and browser supports it with a password, and HTTPS sites pass through CONNECT tunnels. Use CrawlRelay SOCKS5 on port 7778 for tools that only speak SOCKS, with socks5h so DNS resolves at the exit.

Is there a rate limit on the CrawlRelay gateway?

CrawlRelay bills per GB, not per request, and the limits a crawl meets first are those of each target. Pace each site separately and back off on 429 and 503; before a very large crawl, write to [email protected].

Verdict
  • Start here if the scraper is new: one curl command against gw.crawlrelay.com:7777 proves credentials and targeting in under a minute.
  • Go to a library guide once the IP echo works; go to the error reference when a status code appears that this page does not explain.
Sources (2)
  1. curl man page: --proxy, --proxy-user and --socks5-hostname — curl project (read 2026-11-13)
  2. RFC 9110, HTTP Semantics: CONNECT method and 407 status — IETF (read 2026-11-13)

Send the first request through a residential IP

$1.50 for 1 GB to test, $0.50/GB from 50 GB, traffic that never expires.

From $0.50/GB · no KYC

Get started