Skip to content
1 GB of residential proxies, free. $0 today, card required.

Proxy configuration generator.
Pick a route, copy working code.

Choose a network, a country and a rotating or sticky session, then copy a ready-to-run setup for cURL, Python, Node.js, Playwright, Selenium or Scrapy. It is free, runs in your browser and never asks for your proxy password.

No proxy credentials yet? Try 1 GB free

Generate a proxy configuration

Network
Location
Premium Residential

Optional and Premium Residential only. A city or ASN replaces the country; one selector per request. Checked October 25, 2026.

Session

Ready to run. The response shows the exit IP and country your target site will see.

Runs in your browser. Your proxy password never enters this page: every snippet reads it from DATABAY_PROXY_PASS.

Username

USERNAME-zone-residential-countryCode-us

Replace USERNAME with the proxy user from your dashboard.

Gateway
gw.databay.co:8888
Password
Read from DATABAY_PROXY_PASS

Highlighted: values you supply

exit-check.shcURL
: "${DATABAY_PROXY_PASS:?Load DATABAY_PROXY_PASS from your secret store}"
# cURL URL-decodes --proxy-user once; %25 preserves literal % in routing values.
DATABAY_PROXY_USER='USERNAME-zone-residential-countryCode-us'

curl --disable --silent --show-error --fail-with-body \
  --proxy 'http://gw.databay.co:8888' \
  --proxy-basic \
  --proxy-user "${DATABAY_PROXY_USER}:${DATABAY_PROXY_PASS}" \
  --connect-timeout 10 \
  --max-time 30 \
  'https://databay.com/what-is-my-ip/json'

Prints the exit IP address and its location as JSON.

Tested against a cURL 8.21.0 local mock trace.

Full cURL guide
How the password travels
cURL receives proxy credentials through --proxy-user and URL-decodes them once.
Before you run it
DATABAY_PROXY_PASS is injected by the current process or secret manager; command arguments can be visible to local process inspection.

Username format

One gateway. The username picks the route.

Host, port and password stay the same for every configuration. The generator changes only the username: a network word, then an optional location and an optional session.

Gateway
gw.databay.co:8888
Protocols
HTTP, HTTPS through CONNECT and SOCKS5 on the same port
Password
The same proxy password for every network and session
Every part in use: Premium Residential, United States, a 10-minute sticky session
USERNAME-zone-residential-countryCode-us-sessionId-job%2D01-sessionLength-10
zoneRequired
residential, residential_FLEX, mobile or datacenter
Picks the network. Change this one word to switch networks; the gateway and the password stay the same.
countryCodeOptional
Two-letter ISO code in lowercase, such as us, de or jp
Routes to an exit in that country where we have exits.
cityName · asNumberOptional, Premium Residential
A checked city (GB_ENGLAND_LONDON) or an ASN number (7922)
Narrows the route to one city or one network operator. It replaces countryCode: one location selector per request.
sessionIdOptional
3 to 32 letters, digits or hyphens
Asks for the same exit across connections while the session lasts. A hyphen inside the ID is sent as %2D, so it never reads as a new part.
sessionLengthOptional, with sessionId
Whole minutes, up to 1440 on residential networks where available, or 120 on Datacenter and Mobile
Requests an exit continuity window. The gateway also accepts sessionMaxDuration as an alias. The IP can change before the window ends.

Networks

Four networks behind one password.

Pick from what the job needs. Switching later is the one-word change shown above.

  • Premium Residential

    Home broadband IPs

    zone-residential

    Pick it when: The site expects a home connection, or you need a state, city, ZIP or ASN.

    Location
    Country, state, city, ZIP, coordinates or ASN
    Sticky up to
    1440 minutes
  • Residential Eco

    Home IPs by country

    zone-residential_FLEX

    Pick it when: Country-level home IPs are enough and volume matters: the lowest residential rate.

    Location
    Country or continent
    Sticky up to
    1440 minutes
  • Mobile

    4G and 5G carrier IPs

    zone-mobile

    Pick it when: You need traffic from a 4G or 5G carrier network, such as for mobile-first sites.

    Location
    Country or continent
    Sticky up to
    120 minutes
  • Datacenter

    Server IPs

    zone-datacenter

    Pick it when: Speed and cost matter more than a home or carrier origin.

    Location
    Country or continent
    Sticky up to
    120 minutes

Sessions

Rotating or sticky: what decides the exit.

The session part of the username is the only difference. Everything else your client keeps (cookies, tokens, cache and retries) stays in your code.

Rotating

No session in the username.

USERNAME-zone-residential

A new connection selects an exit from the shared pool; a reused keep-alive connection keeps its exit. Open a new connection when the next request needs a different IP.

Good for Independent requests: crawling, price checks, search results.

Sticky

A session ID, and optionally a length.

USERNAME-zone-residential-sessionId-job%2D01-sessionLength-30

Reuse the same ID, duration and targeting to request continuity across connections. Available durations depend on the route, and the IP can change before the requested window ends. Use a different ID to start a separate session.

Good for Multi-step flows: sign-ins, carts, forms.

Rotating and sticky sessions in depth

Clients

Same route, six clients. Where each takes the proxy.

The username never changes between clients. What changes is where each one accepts the proxy and how the password reaches it.

cURL
Proxy setting--proxy --proxy-user
PasswordPassed with --proxy-user, separate from the proxy URL.
Watch forCommand arguments can be visible to other local processes; load the password from a protected source.
Python
Proxy settingproxies={"http": …, "https": …}
PasswordPercent-encoded into the proxy URL at run time.
Watch forThe keys name the destination scheme. HTTP_PROXY and similar environment variables can take precedence.
Node.js
Proxy settingnew ProxyAgent({ uri, token })
PasswordA Basic token built in memory; the proxy URL holds no credential.
Watch forImport fetch and ProxyAgent from the same pinned undici package.
Playwright
Proxy settinglaunch({ proxy: { server, username, password } })
PasswordDedicated username and password fields answer the proxy challenge.
Watch forThe proxy belongs to the browser or context; cookies, storage and locale do not change with it.
Selenium
Proxy settingoptions.proxy = Proxy({...})
PasswordNot supported: WebDriver passes host and port only.
Watch forAllowlist the IP of the machine that runs the browser in your dashboard.
Scrapy
Proxy settingmeta={'proxy': proxy_url}
PasswordHttpProxyMiddleware reads it from the percent-encoded proxy URL.
Watch forKeep HttpProxyMiddleware enabled; connection reuse can keep one exit across requests.

Sources and test evidence

Client settings follow each project’s documentation, reviewed August 29, 2026. The cURL, Requests and Undici snippets also run against a local mock gateway with the commands listed: that checks request shape, proxy authentication and timeouts, not live availability.

Local mock checks

Troubleshooting

When the first request fails.

Run the snippet once before the real job. The response names the exit; these are the answers people meet first.

407 Proxy Authentication Required
What it meansThe gateway did not accept the username and password.
What to doReplace USERNAME with your proxy user, make sure DATABAY_PROXY_PASS is set in the process that runs the code, and check that the zone word names a network on your account.
A timeout or “connection refused”
What it meansThe request never reached the gateway.
What to doAllow outbound connections to gw.databay.co:8888 from this machine, container or CI runner.
The same IP on every rotating request
What it meansYour client reuses one keep-alive connection, and a connection keeps its exit.
What to doOpen a new connection for each request that needs a different IP, or close the session between requests.
A sticky IP changed before the session ended
What it meansThe exit left the pool. A session can end earlier than its length.
What to doRetry the step. If the flow needs one IP from start to finish, restart it with a new session ID.
An exit in a different country
What it meansIP location databases disagree on some addresses, and the target site may use another one.
What to doRead the country in the exit check response. If it is wrong there too, open a new connection.
Selenium shows a proxy sign-in prompt
What it meansStandard WebDriver cannot answer a proxy password challenge.
What to doAllowlist the IP of the machine that runs the browser in your dashboard and use the Selenium snippet as generated.
403, 429 or a CAPTCHA from the site
What it meansThe website answered, not the proxy.
What to doSlow down and follow the site’s terms. Do not switch networks or sessions to get past a block.

Every snippet calls databay.com/what-is-my-ip/json, so the first response already tells you the exit IP and country. See it in your browser

FAQ

Generator questions

Short answers to what people ask before they paste the code.

Does the generator need my proxy password?

No. It never asks for one. Every snippet reads the password from the DATABAY_PROXY_PASS environment variable when it runs. The page records which client you pick and when you copy, never the configuration itself.

What is the Databay proxy username format?

USERNAME-zone-{network}, then optionally one location selector (countryCode, cityName or asNumber) and a session (sessionId, then sessionLength in minutes). For example: USERNAME-zone-residential-countryCode-us.

How do I get a new IP for each request?

Leave the session out (rotating) and open a new connection for each request. A reused keep-alive connection keeps its exit. Change the session ID to start a separate session.

How long can a sticky session last?

Choose an available duration in the generator or use sessionLength in whole minutes. With a session ID, omitting the duration requests 360 minutes on Premium Residential and Residential Eco. An invalid value or a value above 1440 requests 1440 minutes on those networks. On Datacenter and Mobile, omission or an invalid value requests 45 minutes, and values above 120 use 120. The requested duration still depends on route availability. The IP can change before the window ends.

Why does my session ID show %2D instead of a hyphen?

Hyphens separate the parts of the username, so a hyphen inside a session ID is sent as %2D. The cURL snippet writes %252D because cURL decodes the username once before sending it.

Why does the Selenium example have no password?

Standard WebDriver gives the browser a proxy host and port but cannot answer a proxy password challenge. Allowlist the IP of the machine that runs the browser in your dashboard, and the gateway accepts its connections without a password.

Does the configuration work with SOCKS5?

Yes. The gateway accepts HTTP, HTTPS through CONNECT and SOCKS5 on the same port with the same username. The snippets use HTTP proxying, which also carries HTTPS sites; in a client that supports SOCKS5, use a socks5:// proxy URL instead.

Get credentials

Your configuration is ready.
Add the credentials.

Your proxy user and password appear in the dashboard as soon as the trial starts or payment clears. Replace USERNAME, set DATABAY_PROXY_PASS and run the snippet to see your exit.

Free trial

$0

1 GB free for 7 days. Card required. From day 7, automatic top-ups of 25 GB for $13.75 unless you turn them off.

Pick Residential Eco above to generate its code

One trial per customer.

By the GB

$13.75

5 GB of Premium Residential

$2.75/GB · valid 186 days

Buy once, or top up automatically.

See all plans