A proxy is a server that sends your request on your behalf, so the site sees its IP address instead of yours. A rotating proxy switches between many addresses, so a large job looks like many separate visitors.
01What a proxy is
Normally your program connects straight to a website, and the site sees your IP address. With a proxy, your program connects to the proxy, the proxy connects to the site, and the answer comes back the same way. The site sees the proxy’s address.
Companies use proxies to filter their own traffic, developers use them to see how a site looks from another country, and data collectors use them because many sites limit or block visitors by IP address.
02Datacenter vs residential
Datacenter proxies run on servers at hosting and cloud companies. They are fast, cheap and stable. Their addresses are also easy to recognise, because the ranges are publicly registered to those companies and ordinary visitors do not browse from a server. Many sites treat them with suspicion or block them outright.
Residential proxies use addresses that internet providers give to homes. To a site, the traffic looks like ordinary visitors. They are slower, less predictable and cost more, often billed by the amount of data rather than per address.
Mobile proxies use addresses from mobile networks. Carriers often share one address among many phones, so sites are wary of blocking them. They are usually the most expensive kind.
03How rotation works
A rotating proxy gives you one gateway address. Behind it is a pool of IPs, and the provider picks a different exit address for each request, or for each session.
In code, the gateway is a single setting. Each request below may leave from a different address:
import requests # One gateway address; the provider picks the exit IP proxy = "http://USER:PASS@gateway.example.com:8000" r = requests.get( "https://example.com", proxies={"http": proxy, "https": proxy}, timeout=30, ) print(r.status_code)
Per-request rotation suits independent pages, such as one product per call. Multi-step work, like paging through results or staying logged in, needs a sticky session: the same address for a few minutes. An IP that changes halfway through a session can look more suspicious than one that stays put.
Rotation spreads requests across addresses. It changes nothing else about them, so headers, fingerprints and JavaScript challenges still count.
04When you need one
Start without one. If a site offers an official API, or you only read a few pages, a proxy adds cost and little else.
A proxy starts to make sense when a site limits requests per IP address, shows different content by country or blocks datacenter addresses. Try datacenter IPs first, and move to residential ones only when those get blocked.
With Zapi you do not run a proxy pool yourself. When a source has to go through a proxy, the call costs 2 Zap instead of the standard 1.
05Using proxies fairly
Rotating IPs hides how much traffic comes from you, but the site still carries all of it. Keep your total request rate reasonable, cache what you can and run large jobs outside the site’s busy hours.
Residential and mobile IPs belong to real people’s connections. Choose providers that say clearly how they get consent from the people whose connections they route through.
Use proxies to read public pages at a polite pace, not to get around a ban, a login or a paywall. Respect each site’s terms.