Proxy302 Residential Proxies and the EveryInfra Data API, Measured

One Amazon page pulled 14.78 MB through a proxy; the same product from EveryInfra was 4.3 KB of JSON. When to use Proxy302 and when to call direct.

Hand-drawn illustration on yellow: an open laptop on the left sends out two paths. A long dotted route winds past a row of three small houses, the last with a lit yellow window, to a locked web page at the top right; a short thick cable goes straight into a database cylinder at the bottom right.

On 2026-11-30 we opened one Amazon product page three times through a local test proxy, between 18:17 and 18:25 Singapore time. Each empty-cache visit pushed 14.60 MB to 15.03 MB through the proxy, 14.78 MB on average. At 18:16 SGT we asked EveryInfra's amazon/profile for the same product. The response body was 4,342 bytes, with the title, the $35.98 price and the 4.5 rating. The call cost $0.001389.

The Proxy302 Budget line lists traffic at $1.50 per GB. At that price, 1,000 empty-cache visits to this page cost $22.17 in proxy traffic alone. That is about 16 times the API fee. The smallest purchase, 1 GB, covers about 67 visits. Pay for proxy traffic where an API cannot help. That means your own browser profiles and logins, exits in a given country, and sites outside every data catalog.

Proxy302 sells rotating residential proxies billed per GB. It also leases static ISP and datacenter IPs per IP, paid from a US dollar wallet. EveryInfra gives developers and AI tools one data endpoint: POST https://api.everyinfra.com/api/v1/social, with platform, action and params. Its free capability catalog listed 110 platforms and 750 capabilities at 18:14 SGT on 2026-11-30. Proxy302 changes the exit IP of your own requests. EveryInfra returns structured data for catalog platforms, with no proxy and no proxy traffic.

We do not have a Proxy302 account, and no test went through a real Proxy302 exit. Every proxy-side number here comes from a local test proxy on our own network. That covers bytes, 407 errors, URL encoding and environment variables. Proxy302 prices and product facts come only from its public website, read on 2026-11-30. The Proxy302 links in this guide are referral links with our referral code. If you sign up or buy through them, we may earn a referral commission. EveryInfra and Proxy302 are partners, and citations of Proxy302 pages use the plain address.

The pass and fail rules we wrote before testing

We wrote four rules at 18:16 SGT, before any test ran. First, a page's traffic cost is the bytes in both directions across every tunnel in the proxy log. We did not use the browser's transfer size, because a proxy bills for what it forwards.

Second, "got the data" means the target field appeared: the product title on Amazon, the follower count on TikTok and Instagram. An HTTP 200 alone does not count, because challenge pages also return 200. Third, cost is measured bytes times the Proxy302 list price, with 1 GB as 10^9 bytes. Fourth, a call went through the proxy only if the log shows a tunnel to api.everyinfra.com:443.

Those rules also set our limits. The test proxy exits from our own network in Singapore, and ipinfo.io reported SG. So the page weights describe these pages as seen from Singapore. A US residential exit may get different images and different recommendation slots. We measured each page one to three times, and we measured no success rate or latency for any proxy exit. Those numbers need real traffic against your own targets.

1. Which requests go through Proxy302 and which go straight to EveryInfra

Whether a request needs a proxy depends on who the target site must see. Your crawler may open a product page as a shopper in one country. You may stay signed in to a store dashboard in an antidetect browser. A Playwright script may fill in a form from one fixed address. In each case the target site sees your exit IP, and Proxy302 gives you a residential or fixed IP in the right country.

When you call EveryInfra, the target is api.everyinfra.com, and it only checks your API key. EveryInfra fetches, retries and parses the platform data on its own servers. You get JSON with named fields back. Your machine does not need a different exit for this step. A proxy here only adds a hop and burns traffic.

What you need to doWhat to useWhy
Open pages as a user in a given country to see local prices, delivery and ad slotsProxy302 rotating residential with a country-targeted exit, plus your browser or crawlerThe page changes with the visitor's location, so the exit has to be in that country
Stay signed in to store, social or AI subscription accounts inside an antidetect browserProxy302 static ISP, one IP per accountThe platform sees each account sign in from the same address every day
Collect sites or fields that are not in the EveryInfra catalogProxy302 plus your own crawlerAnything the API does not cover has to be collected by you
Pull public data in bulk from catalog platforms such as Amazon, TikTok and InstagramThe EveryInfra data API, directYou get structured JSON, no proxy traffic, and no charge when no data comes back
Let an AI assistant both check proxy balances and fetch platform dataProxy302's MCP server plus EveryInfra's MCP serverEach server handles its own tools; both can sit in the same client

The last row is easy to miss. Proxy302 publishes an open-source proxy302-mcp server on GitHub. Its README says v1 is read-only and never spends money.

It cannot buy, renew or top up, but it can check usage, list countries and build rotating residential connection strings. EveryInfra's remote MCP server fetches platform data. With both in one Claude or Cursor setup, the model gets an exit from the first and catalog data from the second. The two API keys never touch.

2. Proxy302 product lines and what each one is for

The table below comes from the Proxy302 pricing page, read on 2026-11-30. The page says its prices come from the 2026-10-18 price list. The page header says it was updated on 2026-11-27. The checkout page and the configuration page show the final price, so check the website before you buy.

Product lineBillingList priceWhen to use it
Rotating residential, Budget linePer GB, 1 GB minimum$1.50/GB; 100 GB pack $1.35/GB; 500 GB pack $1.124/GBHigh-volume collection with rotating IPs, price monitoring, search result checks; country-level targeting
Rotating residential, Premium linePer GB, 1 GB minimum$5.00/GB; 100 GB pack $4.50/GBProxy302 suggests it when a target blocks the Budget line; you can pick state, major city and carrier
Static ISP, leased per IPPer IP, per term$7.99 per IP for 30 days, $0.50 for 1 dayOne fixed IP per account: stores, social and AI tool accounts
Static ISP, per GBDeducted from the wallet per GB$3.50/GBShort jobs that only need a country and do not need to keep the same IP
Datacenter IP, leased per IPPer IP, per term$3.99 per IP for 30 days, $0.25 for 1 dayAPI testing and scripts where server IPs are allowed
Rotating datacenter (US only)Deducted from the wallet per GB$0.40/GBUS traffic that does not need residential IPs
Rotating mobile (US only)Deducted from the wallet per GB$8/GBCases that need US mobile network IPs
Screenshot of the "Price per GB and per IP" section on the Proxy302 pricing page, with a teal box around the full price table. The rows are rotating residential Budget line at 1.50 dollars per GB, with lower per-GB prices for larger packs (1.35 dollars for 100 GB and 1.124 dollars for 500 GB), Premium line at 5.00 dollars per GB, static ISP at 7.99 dollars per IP for 30 days, static ISP per GB at 3.50 dollars, datacenter IP at 3.99 dollars per IP for 30 days, and US-only rotating datacenter at 0.40 dollars per GB and rotating mobile at 8 dollars per GB. Small print under the table says the prices come from the 2026-10-18 price list.
The price table on the Proxy302 pricing page, captured on 2026-11-30. The checkout page shows the final price. Proxy302 pricing page

The pricing page has a section on which line is cheaper. Its advice is to start with Budget for collection, price monitoring and search result checks. Move to Premium only when a target site blocks Budget traffic. Premium also sells from 1 GB, so you can test it on your target. In our tests, 1 GB covered only about 67 empty-cache Amazon page visits. So block images and reuse the cache while you test, then pick a pack size.

Rotating residential can give you a new IP on every new connection. A sticky session keeps the same IP for a while instead. Sticky session length, location targeting per country and Premium carriers are on the locations page and the order page. Check there for the current options.

Static ISP and datacenter IPs are leased per IP, for 1, 3, 7, 30, 60 or 90 days. One order can hold up to 100 IPs, and every listed country has the same price. The static ISP product page says a lease of 30 days or more gives one buyer the IP for the whole term. A renewal usually keeps the same IP. Auto-renewal is on by default for static IPs, and you can switch it off for any IP at any time.

The rotating residential page says there is no limit on concurrent connections. Extra connections cost nothing, and you pay only for the GB you use. So more connections use up GB faster, and the bill still follows traffic.

You pay by topping up a wallet first and then spending the balance on traffic or IPs. 1 PTC of balance equals $1.00, and the smallest preset top-up is $5. Prepaid traffic is shown as not expiring. Methods include USDT, USDC, Alipay, WeChat Pay, PayNow and DANA, with the fee shown at checkout. The refund policy says a top-up cannot be refunded or turned back into cash.

You cannot try Proxy302 without paying. The cheapest test is 1 GB of Budget for $1.50, or one IP for one day ($0.25 datacenter, $0.50 static ISP). For dozens or hundreds of IPs, Proxy302 points teams to its enterprise channel. That channel sells static ISP in bulk by range, with monthly volume tiers and an ordering API. Proxy302 says it replies within one business day.

Your questionAnswerLine to start with
Same IP for months?Yes, target expects residential IPsStatic ISP, $7.99 per IP for 30 days
Same IP for months?Yes, server IPs are fineDatacenter, $3.99 per IP for 30 days
Rotating IPs, ordinary collectionTarget accepts Budget exitsBudget line, $1.50/GB
Rotating IPs, strict targetBudget exits get blockedPremium line, $5.00/GB
US only, datacenter IPs acceptableYesRotating datacenter, $0.40/GB

Rotating residential, static ISP and datacenter IPs all support HTTP and SOCKS5 at the same price. On rotating residential, one username and password work with both protocols. On a leased static IP, you choose one protocol when you buy. Use the host, port and protocol that the Proxy302 dashboard shows. After you generate a proxy, the dashboard shows host, port, username and password, and copies the full connection string in one click. All code samples below use placeholder variables for these values.

3. How much traffic one page visit pushes through a proxy (measured)

With a proxy billed per GB, your bill is the bytes your program moves through it, times the price. So first find out how heavy one page visit is. We wrote a small local HTTP proxy that only accepts CONNECT. When each tunnel closes, it logs the target host and the bytes in each direction. We started the chrome-headless-shell build that ships with Playwright and pointed it at the proxy with --proxy-server. For each page, we waited for three seconds of network idle and then read the target field.

HTTPS traffic in the tunnel is encrypted, so the proxy cannot see the URL or the content. But it counts every byte, and a proxy provider bills on exactly that count (RFC 9110 on CONNECT).

Time (SGT, 2026-11-30)PageModeTunnelsResponses seen by the browserBytes through the proxyTarget field read
18:17Amazon product B0CYJDVT31Empty cache7831614,598,986Product title
18:18SameEmpty cache8731614,719,855Product title
18:24SameEmpty cache7833415,027,883Product title
18:20SameImages, fonts and video blocked692087,258,451Product title
18:25SameSecond visit, same browser392621,387,554Product title
18:23TikTok @nike profileEmpty cache3139511,005,9069.5M followers
18:23SameImages, fonts and video blocked3038210,612,8719.5M followers
18:21Instagram @nike profileEmpty cache16723,867,021290M followers, 1,680 posts
18:22SameImages, fonts and video blocked5573,355,667Same
Horizontal bar chart in MB. Amazon product page with an empty cache, mean of three runs, 14.78 MB (highlighted); with images, fonts and video blocked 7.26 MB; second visit in the same browser 1.39 MB. TikTok profile page with an empty cache 11.01 MB, blocked 10.61 MB. Instagram profile page with an empty cache 3.87 MB, blocked 3.36 MB. The subtitle says every row read the target field, and that blocking saved 51 percent on Amazon, 13 percent on Instagram and only 4 percent on TikTok.

Three things stand out. First, most of the Amazon page weight is images. We blocked jpg, png, webp, svg, font and video files with the DevTools method Network.setBlockedURLs. The page fell from 14.78 MB to 7.26 MB, 51 percent less, and the title still loaded. TikTok saved only 4 percent, because that profile page is almost all scripts and data requests. Instagram saved 13 percent, so measure each new platform before you rely on image blocking.

Second, the cache matters more than blocking. A second visit with the same browser profile moved only 1.39 MB, 90.6 percent less. Scripts, styles and images came from the disk cache (MDN on HTTP caching). To get this, you must reuse one profile, and that clashes with rotating IPs. The same cache and cookies on changing addresses look like one visitor who keeps moving. A fixed static ISP exit with one profile per account is where the cache savings fit.

Third, downstream traffic dominates. In the first Amazon run, 13,964,382 of the 14,598,986 bytes went downstream, 95.7 percent, against 634,604 upstream. The Proxy302 pages we read do not say whether traffic counts one way or both. They also do not say whether 1 GB is 10^9 or 2^30 bytes. Counting only downstream lowers our costs by about 4 percent, and the 2^30 reading by about 7 percent more. Neither changes the order of magnitude.

Horizontal bar chart on a log scale, in bytes. Amazon product page in a browser with an empty cache 14.78 MB, amazon/profile JSON 4.3 KB (highlighted). TikTok profile page 11.01 MB, tiktok/profile JSON 1.5 KB (highlighted). Instagram profile page 3.87 MB, instagram/profile JSON 78.2 KB (highlighted). The subtitle says the JSON sizes are real EveryInfra response bodies, sent direct, not through a proxy.

On one log scale, the page and the EveryInfra JSON differ by several orders of magnitude. For the same Amazon product, the page was 14.78 MB and the amazon/profile body was 4,342 bytes, a ratio of about 3,404. The TikTok @nike page was 11.01 MB against 1,515 bytes from tiktok/profile, about 7,265 times. The Instagram @nike page was 3.87 MB against 78,153 bytes from instagram/profile, about 49 times. That JSON is larger because it includes recent posts.

These API calls went straight to api.everyinfra.com and never entered a proxy tunnel. Their proxy traffic was zero. The chart shows their size only to make the gap visible. On one side are the fields you want, and on the other is everything a browser downloads to show them.

Hand-drawn diagram on grid paper: a balance scale. The left pan hangs low, piled with two cardboard boxes, a black video frame with a yellow play button and a small box with yellow tape on top. The right pan rises high, holding only a small sheet of paper with one yellow highlighter stroke.
Diagram: the images, scripts and video a browser downloads to show one product page outweigh the few fields you need by several orders of magnitude.

4. The cost at Proxy302 list prices

Once you know the page weight, traffic cost is multiplication. The chart below uses the mean empty-cache Amazon weight, 14.78 MB per visit. It multiplies that weight by each Proxy302 list price for 1,000 visits. The EveryInfra row is 1,000 amazon/profile calls at the catalog price of $0.001389. That price matches the billing.charged_usd of our live call at 18:16 SGT.

Horizontal bar chart in US dollars per 1,000 visits, using 14.78 MB per empty-cache Amazon product page times Proxy302 list prices per GB. Premium line at 5.00 dollars per GB is 73.91 dollars; static ISP per GB at 3.50 dollars is 51.74 dollars; Budget line at 1.50 dollars per GB is 22.17 dollars; Budget line 500 GB pack at 1.124 dollars per GB is 16.62 dollars; Budget line with images blocked 10.89 dollars; US-only rotating datacenter at 0.40 dollars per GB is 5.91 dollars. EveryInfra amazon/profile, which uses no proxy, is 1.39 dollars per 1,000 calls (highlighted).
Per 1,000Amazon product page (14.78 MB per visit)TikTok profile page (11.01 MB per visit)Instagram profile page (3.87 MB per visit)
Proxy302 Budget line, $1.50/GB$22.17$16.51$5.80
Proxy302 Premium line, $5.00/GB$73.91$55.03$19.34
Matching EveryInfra capability (direct)amazon/profile $1.389tiktok/profile $0.556instagram/profile $0.556
Proxy traffic cost divided by API fee (Budget line)About 16xAbout 30xAbout 10x

This table counts proxy traffic only. It leaves out the other costs of collecting data yourself. Those include retries, challenge pages, parser updates after each redesign, and the machines that run headless browsers. All nine page visits from our Singapore network read their target field. That says nothing about success rates on residential exits, which only Proxy302 traffic on your targets can show. When some visits fail, divide the traffic cost per record by the success rate.

On the EveryInfra side, requests that return no data are not charged; see the pricing page. A request with a wrong parameter gets a 422 before any work starts, with no charge. Section 8 shows a live example.

Looked at the other way, a proxy is still the right choice in several cases. In those cases the API fee is not part of the comparison. You may need content that changes with location, such as a local price, delivery time or ad slot. You may need data that only appears after you sign in. Or the site may not be in the EveryInfra catalog. A sensible plan sends catalog platforms to the API and spends the saved traffic budget on the rest, with images blocked and the cache reused.

5. Multi-account setups: lease per IP or pay per GB

When you run several store, social or AI subscription accounts in an antidetect browser, the usual setup is one fixed IP per account. Proxy302 sells static ISP in two forms. A lease costs $7.99 per IP for 30 days and keeps the same IP for the whole term. The per-GB form costs $3.50/GB, picks only the country and does not keep one IP for long. Which is cheaper depends on each account's monthly traffic.

Line chart, monthly traffic from 0 to 8 GB on the x axis, US dollars per month on the y axis. Static ISP leased per IP is a flat line at 7.99 dollars (highlighted). Static ISP per GB at 3.50 dollars per GB is a sloped line that crosses it at 2.28 GB; the Budget line at 1.50 dollars per GB, dashed, crosses at 5.33 GB; the Premium line at 5.00 dollars per GB, dotted, crosses at about 1.6 GB. The subtitle says that at 14.78 MB per empty-cache Amazon page, 2.28 GB and 5.33 GB are about 154 and 360 pages a month.

The lease price is flat, and the per-GB price is a straight line through zero. The break-even point is where they cross. That is $7.99 / $3.50 ≈ 2.28 GB, $7.99 / $1.50 ≈ 5.33 GB and $7.99 / $5.00 ≈ 1.60 GB. With the page weights from section 3, the lease beats static ISP per GB above about 154 empty-cache Amazon pages a month. Above about 360 pages, it also beats the Budget line.

In practice, each account reuses its browser profile for months. With a warm cache a page costs about 1.39 MB, so 2.28 GB covers about 1,600 pages. Work out the break-even from your own accounts' real traffic. The simplest way is to lease one IP for one day ($0.50) and read that day's traffic in the dashboard.

Apart from traffic, a lease gives you something per-GB billing cannot: the same address. A platform's risk checks are more likely to flag an account that moves from city to country. Static ISP per GB fixes only the country and does not keep one IP for long. So the default for multi-account work is one leased IP per account. Traffic volume only decides whether you add a per-GB line for collection jobs.

Proxy302 has setup pages for common antidetect browsers. The AdsPower setup page is built around one profile per IP. The Dolphin Anty setup page follows the same one-IP-per-profile idea. Both explain how to paste one connection string into each profile. After that, every request in that browser leaves through that exit. If collection scripts run on the same machine, write their EveryInfra calls as direct calls; section 7 explains why.

6. Both steps in one script

The script below is the one we publish in the Use with Proxy302 proxies section of our docs. Step 1 calls ipinfo.io through the Proxy302 exit and prints the exit country. Step 2 calls EveryInfra directly for one Amazon product. Before you run it, set EVERYINFRA_API_KEY to your API key. Set PROXY302_PROXY to the connection string from the Proxy302 dashboard, in the form http://username:password@host:port. Use the host and port the dashboard gives you, and install requests with pip install requests.

python
import os

import requests

EVERYINFRA_API_KEY = os.environ["EVERYINFRA_API_KEY"]
PROXY302_PROXY = os.environ["PROXY302_PROXY"]  # http://username:password@host:port
PROXIES = {"http": PROXY302_PROXY, "https": PROXY302_PROXY}

# 1. Your own request goes out through the Proxy302 exit IP.
exit_ip = requests.get("https://ipinfo.io/json", proxies=PROXIES, timeout=30).json()
print("Exit IP country:", exit_ip.get("country"))

# 2. The EveryInfra call goes direct. It does not need a proxy.
direct = requests.Session()
direct.trust_env = False  # ignore HTTP(S)_PROXY, so this call uses no proxy traffic
resp = direct.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {EVERYINFRA_API_KEY}"},
    json={
        "platform": "amazon",
        "action": "profile",
        "params": {"url": "https://www.amazon.com/dp/B0CYJDVT31"},
    },
    timeout=120,
)
resp.raise_for_status()
body = resp.json()
item = body["results"]
print(item["title"][:60], item["currency"], item["price"], item["rating"])
print("Charged USD:", body["billing"]["charged_usd"])

At 18:32 SGT on 2026-11-30 we ran the Chinese, English and Spanish versions of this script. We used requests 2.34.2 on Python 3.13.16. PROXY302_PROXY pointed at the local test proxy, which required a username and password. We also set HTTPS_PROXY on purpose, like a developer machine with a system-wide proxy. All three runs printed exit country SG, because the test proxy sits on our network in Singapore. They also printed the title "bella Fits-anywhere™ Slim 4qt Air Fryer…", price $35.98, rating 4.5 and a charge of $0.001389.

The test proxy logged only three tunnels, all to ipinfo.io:443, each 8,580 to 8,605 bytes. None went to api.everyinfra.com. So trust_env = False kept step 2 off the proxy, even with a global proxy set. At 18:33 SGT we ran it again with a wrong password. requests raised ProxyError in step 1: "Tunnel connection failed: 407 Proxy Authentication Required". The script exited with code 1, step 2 never ran, and EveryInfra charged nothing.

Screenshot of the "Use with Proxy302 proxies" section of the EveryInfra docs, with a teal box around the heading, two paragraphs, a three-row task table (open pages that change by country or sign in to your own accounts: a Proxy302 proxy plus your crawler or browser; collect sites not in the catalog: a Proxy302 proxy plus your crawler; get catalog platform data in bulk: the EveryInfra data API, direct, with no proxy) and the first lines of the proxy_plus_data_api.py code.
The Proxy302 section of the EveryInfra docs, captured on 2026-11-30. EveryInfra docs
Screenshot of a real request and response. At the top, POST https://api.everyinfra.com/api/v1/social with platform amazon, action profile and the product URL in params. Below, a teal box around the response: HTTP 200, 9.09 seconds, 4342 bytes, with results showing asin B0CYJDVT31, the title bella Fits-anywhere Slim 4qt Air Fryer, brand bella, price 35.98, list price 59.99, rating 4.5, rating count 4087, in stock and the category path, and billing showing charged true, charged_usd 0.001389 and 1.388889 dollars per 1,000.
The raw response of a live amazon/profile call at 18:16 SGT on 2026-11-30 (some fields trimmed, key hidden). EveryInfra API response

The field names match the catalog entry for amazon/profile: title, brand, price, list_price, currency, rating, rating_count, in_stock, category, image_url, description and more. The title matched, word for word, the #productTitle text our browser read through the test proxy. The billing block gives the cost of this call in charged_usd. It gives the price per 1,000 calls in amount.per_1k. Read those two fields to reconcile your bill, and change action to get reviews, sellers or rankings. Each capability is described on the Amazon data API page, the Amazon reviews API and the Amazon product details API.

7. Three traps in proxy connection strings: 407, special characters and environment variables (measured)

Most proxy problems in scripts come from three places. The first is a wrong username or password. The second is a password with characters like @, : or #. The third is a global proxy variable that drags the wrong requests into the proxy.

At 18:27 SGT we tested all three against one test proxy. It required the username user1 and the password p@ss:w#rd, with three special characters on purpose. The target was EveryInfra's free catalog endpoint, a GET that is never charged.

How it was writtenResultWhat the test proxy saw
requests, password pasted raw into http://user1:p@ss:w#rd@…InvalidURL raised locally: ss:w was read as the host and portNo connection
requests, password passed through quote(..., safe="") first200One tunnel, authenticated
httpx 0.29.0, password pasted rawInvalidURL: Invalid port: 'w' raised locallyNo connection
httpx 0.29.0, password encoded200One tunnel, authenticated
curl 8.7.1, raw password inside -xExit code 5 (could not resolve the proxy)No connection
curl, address only in -x, credentials in -U user1:p@ss:w#rd200One tunnel, authenticated
curl, encoded p%40ss%3Aw%23rd inside -x200One tunnel, authenticated
requests, wrong passwordProxyError, reason 407One tunnel refused, tried once
curl, wrong password in -UExit code 56One tunnel refused

The cause is URL syntax. RFC 3986 section 3.2.1 puts the user information before the host, followed by @. The first : splits the username from the password. Reserved characters such as @, : and # in a password need percent-encoding, as in section 2.1. Without it, the parser cuts the string in the wrong place.

In Python, use urllib.parse.quote from the standard library with safe set to an empty string. In curl, pass the credentials with -U (--proxy-user), which skips URL parsing. In the libcurl error codes, 5 means the proxy could not be resolved. 56 means a failure when receiving data. If you see either code, check the connection string first. Your Proxy302 password may or may not contain these characters, and the pattern below is safe either way:

python
import os
from urllib.parse import quote

import requests

# Copy host, port, username and password from the Proxy302 dashboard into separate variables
user = quote(os.environ["P302_USER"], safe="")
password = quote(os.environ["P302_PASS"], safe="")
proxy = f"http://{user}:{password}@{os.environ['P302_HOST']}:{os.environ['P302_PORT']}"

r = requests.get("https://ipinfo.io/json", proxies={"https": proxy}, timeout=30)
r.raise_for_status()  # a 407 surfaces here as ProxyError, so later steps never run
print(r.json().get("country"))

A 407 is the proxy asking for credentials. Under RFC 9110, the proxy sends a Proxy-Authenticate header. The client answers in Proxy-Authorization, usually with the Basic scheme from RFC 7617. That value is the Base64 of "username:password". Our test proxy decoded the username on each 407, and both times it was user1, so only the password was wrong.

An HTTPS request sends CONNECT first (MDN on CONNECT). The 407 arrives before the tunnel exists. That is why requests raises ProxyError and returns no status code. Put step 1 in a try block. Then bad credentials stop the script before it calls anything else.

With `HTTPS_PROXY` setDid the EveryInfra call go through the proxy?
requests, defaultYes
requests, Session.trust_env = FalseNo
requests, with NO_PROXY=api.everyinfra.comNo
httpx 0.29.0, defaultYes
httpx, trust_env=FalseNo
Python standard library urllib, defaultYes
curl, defaultYes
curl, --noproxy api.everyinfra.comNo
Node.js 26.11.1 fetch, defaultNo
Node.js fetch with NODE_USE_ENV_PROXY=1Yes

The third trap throws no error; it just costs money. Four of the ten setups sent the api.everyinfra.com call into the test proxy by default. requests, httpx, urllib and curl all read HTTPS_PROXY (requests docs, httpx docs, urllib getproxies). Node.js fetch reads it only with NODE_USE_ENV_PROXY=1 (Node.js docs). Antidetect browsers and system proxy tools often set these variables. A script on the same machine then sends API calls over residential traffic without telling you.

To stop it, set trust_env to False. You can also add api.everyinfra.com to NO_PROXY, or use curl's --noproxy. One amazon/profile response is only 4,342 bytes. But hundreds of thousands of calls, each with an extra tunnel, add up for no reason.

8. On the EveryInfra side: live results and charges

On the same day we called EveryInfra directly at three points in time. The key lived only in an environment variable, and no request went through any proxy.

Time (SGT)CapabilityResultTime takenResponse bodyCharge
18:16amazon/profile200, title, price $35.98, rating 4.5, 4,087 ratings9.09 s4,342 bytes$0.001389
18:16amazon/reviews200, 10 reviews for the same product6.09 s13,491 bytes$0.001389
18:28instagram/profile (nike)200, 289,637,602 followers, 1,680 posts3.02 s78,153 bytes$0.000556
18:28tiktok/profile (nike)200, 9,460,725 followers, 1,132 videos1.92 s1,515 bytes$0.000556
18:28amazon/profile with asin instead of url422 missing_param, with a working example0.12 s449 bytes$0
18:32–18:33amazon/profile (once per script language)200Not timed separatelySame as above$0.001389 each
Horizontal bar chart in seconds, labeled with HTTP status and charge. 18:16 amazon/profile 9.09 seconds, 200, 0.001389 dollars; 18:16 amazon/reviews with 10 reviews 6.09 seconds, 200, 0.001389 dollars; 18:28 instagram/profile 3.02 seconds, 200, 0.000556 dollars; 18:28 tiktok/profile 1.92 seconds, 200, 0.000556 dollars; 18:28 wrong parameter (asin instead of url) 0.12 seconds, 422, 0 dollars (highlighted).

amazon/profile took 9.09 seconds because platform-side fetching, retrying and parsing happen inside that one request. In the script, the API call has a 120-second timeout and the proxy step has 30 seconds. So a slow exit cannot hold up the API call. For bulk jobs, raise concurrency and keep the timeout. Failed requests are not charged, so let the error code decide whether to retry.

The browser and the API agree. The Instagram page said 290M followers and 1,680 posts, and the API returned 289,637,602 and 1,680. The TikTok page showed 9.5M followers, and the API returned 9,460,725. The call with the wrong parameter got a 422 in 0.12 seconds. Its message named the missing parameter url, and next_steps said asin is not a parameter here. It pointed to a ready-to-run example and confirmed that nothing was charged.

Error text like this is written for AI assistants. A model can read it, fix the call and try again. Across the whole test we made 8 calls, 7 of them charged, $0.008057 in total, plus several free catalog reads.

The catalog's price_usd is the price of record for each capability. When we read it, amazon/profile and amazon/reviews cost $0.001389 per call. instagram/profile, tiktok/profile and tiktok/shop_search cost $0.000556 per call.

Each platform page lists the parameters and fields of its capabilities. See the TikTok data API, the TikTok profile API and TikTok Shop product search. See also the Instagram data API and the Instagram profile API. The quickstart in the docs gets a first call working in about five minutes.

9. SOCKS5, browsers and AI tools

SOCKS5 is a different proxy protocol. RFC 1928 defines its handshake, and RFC 1929 defines its username and password login. Proxy302's SOCKS5 page says its SOCKS5 always requires a username and password. Tools that cannot send a SOCKS5 login, such as Chrome's built-in proxy settings, should use HTTP. With a socks5h:// address, the proxy resolves domain names, so DNS lookups also leave from the proxy's location.

To use SOCKS5 in requests, install PySocks with pip install "requests[socks]". Then change http:// in the connection string to socks5:// or socks5h://. The requests SOCKS notes recommend socks5h when the proxy should resolve names. The trust_env = False line in step 2 works the same way with SOCKS5.

In browser automation, the --proxy-server flag takes only an address, with no credentials (Chromium network settings). So let the framework handle the login. Playwright's proxy settings accept server, username and password. They support HTTP(S) and SOCKSv5 and can list hosts that skip the proxy. Playwright 1.65.0, released on 2026-11-05, sends proxy credentials only to the proxy, never to websites. Site login belongs in httpCredentials.

Puppeteer uses page.authenticate. Selenium's proxy options take only the address. Scrapy's HttpProxyMiddleware reads meta["proxy"] or the environment variables. So the issue from section 7 applies to Scrapy too.

For AI tools, you can install both MCP servers at once. Proxy302's MCP server has a hosted version and a local version. The hosted version uses an OAuth sign-in or a key in a request header. Its README says it never spends money. The commit history shows that rotate_ip arrived on 2026-11-10, with sticky and rotating sessions. rotate_ip changes the exit IP and keeps the account.

Version 0.3.0 arrived on 2026-11-28. With it, fetch_url fetches a page through an exit in a chosen country in one call. If you have no rotating proxy yet, it creates one on the Budget line. EveryInfra's MCP server turns catalog capabilities into tools, so the model gets platform data with no proxy. The integrations page lists the AI tools that work with EveryInfra. For Claude, see our hands-on test of Claude custom connectors.

10. Three common setups, costed

In a real project you budget by the month. Each amount below is a page weight from section 3 times a Proxy302 list price. Or it is an EveryInfra catalog price times the number of calls. None include machines, labor or retries, so treat them as lower bounds.

The first setup checks 1,000 US Amazon products a day, 30,000 checks a month. Direct amazon/profile calls cost $41.67. Your own visits through the Budget line, at 14.78 MB each, come to about 443 GB, or $665.20 at $1.50/GB. A 500 GB pack ($562) covers that, and blocked images bring it to about 218 GB, or $326.63. Rotating exits start with an empty cache every time, so the 1.39 MB warm figure does not apply. Here proxy traffic costs an order of magnitude more than the API.

SetupMonthly volumeEveryInfra, directYour own collection through Proxy302 (traffic only)
Monitor US Amazon products30,000 checksamazon/profile $41.67Budget line, empty cache, $665.20; images blocked $326.63; 500 GB pack $562
20 store accounts signed in long term20 accountsNot applicable (needs your own sign-ins)Static ISP leased per IP, 20 × $7.99 = $159.80 per 30 days
AI assistant looks up TikTok accounts10,000 lookupstiktok/profile $5.56Budget line, empty cache, about $165

The second setup is 20 store or social accounts, signed in long term in an antidetect browser. EveryInfra does not fit here, because the platform must see your own account sign in from a fixed address. One static ISP IP per account at $7.99 for 30 days is $159.80 a month. Auto-renewal is on by default for static IPs, and you can switch it off per IP at any time. When you retire an account, its IP then stops renewing. Lease one IP for a day ($0.50) first, and compare its traffic with the break-even points in section 5.

The third setup has an AI assistant look up TikTok accounts 10,000 times a month. Through tiktok/profile, that costs $5.56. Through a proxy, each profile page is 11.01 MB, about 110 GB in total, or about $165 on Budget. The model must then find the follower count in a page full of scripts, not in a follower_count field. Keep the proxy for sites outside the catalog, where the local Proxy302 MCP server offers fetch_url.

For reconciliation, each side keeps its own books. Every EveryInfra response has charged_usd and amount.per_1k in its billing block. Log them with each request, and the monthly sum per capability is your API bill. Requests with no data and 422 errors are not charged, so nothing extra appears in the total.

On the Proxy302 side, the developer API docs list usage checks, proxy lists and lease renewals. You can also cap the traffic of one proxy, so it works like a sub-account. Give each crawler or person separate credentials with a separate cap. A runaway script then uses up only its own share. You can also bind up to five source IPs to each connection, so only your servers can use it.

11. When you do not need to set up a proxy yourself

Some data is already in the EveryInfra catalog. Examples are Amazon product details and reviews, TikTok accounts and TikTok Shop products, and Instagram accounts and posts. For that part, call the API directly and skip proxy traffic, parsers and retries. We have written up cases: three ways to scrape Instagram posts and comments in Python and the TikTok Shop data API with Gemini. Another one is why Amazon price tracking raises false alerts. Our partner page sums up Proxy302's lines and prices, and the Proxy302 section of the docs has the code.

Some cases do need your own proxy. You may need to see a page as a user in one country. You may need to sign in to your own accounts. Or the site may not be in the catalog. Pick a Proxy302 line from the table in section 2, and start with 1 GB or one IP for one day. Measure page weight and success rate on your target, and size the purchase with sections 4 and 5. Keep the API call direct in shared scripts.

12. A pre-launch checklist, in order

StepWhat to doDone when
1. Check the catalogRead the free capability catalog and match the data you need item by itemEverything in the catalog is an API call; only the rest needs a proxy
2. Keep API calls directSet HTTPS_PROXY on a test machine, run the script, watch the proxy log or Proxy302 usageAPI calls add no proxy traffic; the pattern is in your script template
3. Test the exitBuy 1 GB of Budget ($1.50) or one static ISP IP for a day ($0.50), run step 1 of the scriptipinfo.io reports the country you ordered; success rate measured on your own target by reading the target field
4. Weigh your own pagesOpen each target page three times per mode: empty cache, images blocked, reused profileYou have a cost per 1,000 visits to compare with section 4
5. Cap, then scaleOne set of proxy credentials with a traffic cap per crawler or person; log billing.charged_usd dailyA broken script can burn at most one budget, and the daily total shows it

We did not run step 3, and we could not. Only numbers from your own account and your own target pages are worth relying on. Rotating residential has no limit on concurrent connections, and more concurrency burns traffic faster. So set the caps in step 5 before you raise concurrency.

What changed in November 2026

  • 2026-11-05: Playwright 1.65.0 was released. Credentials in proxy now answer only the proxy's authentication challenge and are no longer sent to websites (release notes). What it means for you: after upgrading, use httpCredentials for website authentication; nothing changes on the proxy side.
  • 2026-11-11: Node.js 26.13.1 shipped a security fix. An invalid proxy URL could put the proxy credentials into the error message (CVE-2026-123871, release notes). What it means for you: if you put passwords in proxy URLs in Node, upgrade so plain-text passwords stop appearing in logs.
  • 2026-11-26: httpx 0.29.0 was released, raising the minimum supported Python version to 3.10 (release notes). We tested with this version; trust_env and the proxy parameters work as before.
  • 2026-11-27 and 2026-11-28: the Proxy302 pricing page and static ISP page show updates on these two days (the rotating residential page was updated on 2026-11-21), and proxy302-mcp released 0.3.0 on 2026-11-28. What it means for you: prices and product details change often, so check the website again before you order.
  • 2026-11-30: the public EveryInfra catalog listed 110 platforms and 750 capabilities, all available.

What we did not test

None of our traffic went through a real Proxy302 exit. So this guide reports no Proxy302 success rates, latency, exit countries or IP type checks. After a 1 GB or one-IP purchase, step 1 of the script and your own target give you those numbers.

Page weight covers one Amazon, one TikTok and one Instagram page, one to three runs per mode. We counted both directions and 10^9 bytes per GB, and section 3 shows the effect of the other readings. The code ran on Python 3.13.16, requests 2.34.2, httpx 0.29.0, curl 8.7.1 and Node.js 26.11.1. The section 10 amounts leave out retries, machines, maintenance and enterprise pricing.

FAQ

What is Proxy302?

Proxy302 is a proxy IP provider. It sells rotating residential billed per GB, from $1.50/GB on Budget and $5.00/GB on Premium. It leases static ISP IPs at $7.99 and datacenter IPs at $3.99, each for 30 days. It also sells US-only rotating datacenter and mobile proxies. You pay from a dollar wallet, with no subscription; prices are from its pricing page, read on 2026-11-30. (The question comes from a search suggestion asking what Proxy302 is.)

How do I fix "407 Proxy Authentication Required" in Python requests?

A 407 means the proxy wants credentials. Check the username and password against the dashboard. If the password contains @, : or #, encode it with urllib.parse.quote(password, safe=""), or pass it with -U in curl. In our test a wrong password raised ProxyError with reason 407 at the tunnel step. (The question comes from the search suggestion "python requests 407 proxy authentication required".)

Should I use a residential proxy or a scraping API?

It depends on two things: whether the data is in the API's catalog, and whether you need a local or signed-in view. For public catalog data, an API is cheaper. One Amazon page was 14.78 MB, and the API response was 4.3 KB at $0.001389. For local content, your own accounts or sites outside the catalog, use a residential proxy. (The question comes from the search suggestion "residential proxy vs scraping api".)

Can I try Proxy302 without paying?

No. The cheapest test is 1 GB on the Budget line for $1.50, or one IP for one day ($0.25 datacenter, $0.50 static ISP). 1 GB covered about 67 empty-cache Amazon page visits in our test; blocking images roughly doubles that. (The question comes from the FAQ on the Proxy302 pricing page.)

How many concurrent connections can rotating residential handle?

No limit, according to Proxy302's rotating residential page; extra connections cost nothing and you pay per GB used. More concurrency burns traffic faster, so measure bytes per request first. (The question comes from the FAQ on the Proxy302 rotating residential page.)

References

  1. Proxy302 pricing page (price list 2026-10-18, page updated 2026-11-27), read 2026-11-30, https://proxy302.com/pricing
  2. Proxy302 locations page, read 2026-11-30, https://proxy302.com/locations
  3. Proxy302 rotating residential page (updated 2026-11-21), read 2026-11-30, https://proxy302.com/proxies/rotating-residential
  4. Proxy302 static ISP page (updated 2026-11-28), read 2026-11-30, https://proxy302.com/proxies/static-residential
  5. Proxy302 developer API docs, read 2026-11-30, https://proxy302.com/developer-docs
  6. Proxy302 refund policy, read 2026-11-30, https://proxy302.com/docs/proxy302-refund-policy
  7. Proxy302 help docs, read 2026-11-30, https://proxy302.com/docs
  8. Proxy302 enterprise channel, read 2026-11-30, https://proxy302.com/product/enterprise
  9. Proxy302 integrations page, read 2026-11-30, https://proxy302.com/integrations
  10. Proxy302 AdsPower setup page, read 2026-11-30, https://proxy302.com/integrations/adspower
  11. Proxy302 Dolphin Anty setup page, read 2026-11-30, https://proxy302.com/integrations/dolphin-anty
  12. Proxy302 SOCKS5 page, read 2026-11-30, https://proxy302.com/proxies/socks5
  13. proxy302-mcp README (GitHub), read 2026-11-30, https://github.com/proxy302/proxy302-mcp
  14. proxy302-mcp commit history (2026-11-10 to 2026-11-28), read 2026-11-30, https://github.com/proxy302/proxy302-mcp/commits/main
  15. RFC 9110 HTTP Semantics, CONNECT method, https://www.rfc-editor.org/rfc/rfc9110.html#name-connect
  16. RFC 9110, 407 Proxy Authentication Required, https://www.rfc-editor.org/rfc/rfc9110.html#name-407-proxy-authentication-re
  17. RFC 9110, Proxy-Authorization header, https://www.rfc-editor.org/rfc/rfc9110.html#name-proxy-authorization
  18. RFC 9112 HTTP/1.1, authority-form request target, https://www.rfc-editor.org/rfc/rfc9112.html#name-authority-form
  19. RFC 7617 The Basic HTTP Authentication Scheme, https://www.rfc-editor.org/rfc/rfc7617.html
  20. RFC 3986 section 3.2.1, User Information, https://www.rfc-editor.org/rfc/rfc3986.html#section-3.2.1
  21. RFC 3986 section 2.1, Percent-Encoding, https://www.rfc-editor.org/rfc/rfc3986.html#section-2.1
  22. RFC 1928 SOCKS Protocol Version 5, https://www.rfc-editor.org/rfc/rfc1928.html
  23. RFC 1929 Username/Password Authentication for SOCKS V5, https://www.rfc-editor.org/rfc/rfc1929.html
  24. requests docs: Proxies, https://requests.readthedocs.io/en/latest/user/advanced/#proxies
  25. requests docs: SOCKS, https://requests.readthedocs.io/en/latest/user/advanced/#socks
  26. requests API: Session.trust_env, https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env
  27. requests on PyPI, https://pypi.org/project/requests/
  28. PySocks on PyPI, https://pypi.org/project/PySocks/
  29. Python docs: urllib.request.getproxies, https://docs.python.org/3/library/urllib.request.html#urllib.request.getproxies
  30. Python docs: urllib.parse.quote, https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote
  31. httpx docs: Environment Variables, https://www.python-httpx.org/environment_variables/
  32. httpx docs: Proxies, https://www.python-httpx.org/advanced/proxies/
  33. httpx 0.29.0 release notes (2026-11-26), https://github.com/encode/httpx/releases/tag/0.29.0
  34. curl manual: -x, --proxy, https://curl.se/docs/manpage.html#-x
  35. curl manual: --noproxy, https://curl.se/docs/manpage.html#--noproxy
  36. curl manual: -U, --proxy-user, https://curl.se/docs/manpage.html#-U
  37. libcurl error codes, https://curl.se/libcurl/c/libcurl-errors.html
  38. curl 8.23.0 release notes (2026-10-14), https://github.com/curl/curl/releases/tag/curl-8_23_0
  39. Node.js docs: Built-in Proxy Support, https://nodejs.org/docs/latest/api/http.html#built-in-proxy-support
  40. Node.js 26.13.1 release notes (2026-11-11), https://github.com/nodejs/node/releases/tag/v26.13.1
  41. Playwright docs: HTTP Proxy, https://playwright.dev/docs/network#http-proxy
  42. Playwright 1.65.0 release notes (2026-11-05), https://github.com/microsoft/playwright/releases/tag/v1.65.0
  43. Chrome docs: Headless mode, https://developer.chrome.com/docs/chromium/headless
  44. Chromium: Network settings and proxy command-line flags, https://www.chromium.org/developers/design-documents/network-settings/
  45. Chrome DevTools Protocol: Network.setBlockedURLs, https://chromedevtools.github.io/devtools-protocol/tot/Network/#method-setBlockedURLs
  46. MDN: CONNECT method, https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Methods/CONNECT
  47. MDN: 407 status code, https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/407
  48. MDN: Proxy-Authorization header, https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Proxy-Authorization
  49. MDN: HTTP caching, https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Caching
  50. Scrapy docs: HttpProxyMiddleware, https://docs.scrapy.org/en/latest/topics/downloader-middleware.html#module-scrapy.downloadermiddlewares.httpproxy
  51. Selenium docs: Proxy in browser options, https://www.selenium.dev/documentation/webdriver/drivers/options/#proxy
  52. Puppeteer docs: page.authenticate, https://pptr.dev/api/puppeteer.page.authenticate
  53. EveryInfra social data catalog (compact), read 2026-11-30 18:14 SGT, https://api.everyinfra.com/api/v1/social/catalog?compact=1
  54. ipinfo developer docs, https://ipinfo.io/developers
  55. Model Context Protocol specification 2025-06-18, https://modelcontextprotocol.io/specification/2025-06-18

Reference BL-241

Google Analytics needs consent. Privacy