Black Friday
More data + extra crypto balance
Back to all articles
Features

ZIP Code Proxies: How Postcode Targeting Works And When To Use It

ZIP code proxies route traffic through residential IPs in one postal code. How postcode targeting works on Rainproxy Premium Residential, with setup and limits.

6 min read
Share
ZIP Code Proxies: How Postcode Targeting Works And When To Use It

Country targeting tells a site which nation you are in. City targeting narrows it to a metro area. ZIP code targeting goes one step further and puts your exit inside a single postal code. This guide covers what postcode targeting is, who needs it, how to set it up on Rainproxy and what to watch out for.

What ZIP code targeting is

A ZIP code proxy is a residential proxy filtered by postal code. Instead of any IP in a country, you ask for exits that geolocate inside one postcode. The rest of the proxy works the same way: you send requests, they leave through real consumer connections, and the target sees an address in the area you picked.

On Rainproxy you can target any postal code in more than 120 countries.

When postcode precision matters

Most projects are fine with country or city targeting. Postcode targeting earns its place when the answer you get depends on the exact neighbourhood:

  • Local availability and delivery areas. Some stores show different stock, delivery options or service coverage depending on the postcode.
  • Local search results. Results for "near me" style queries can change from one district to the next.
  • Regional content checks. Verifying that a page, offer or notice appears correctly for a specific area.
  • Ad checks for tightly scoped campaigns. Confirming what visitors in one area actually see.

If your results do not change between postcodes in the same city, city targeting is simpler and leaves you a larger pool.

How to set it up at Rainproxy

ZIP targeting uses one token in the proxy username: -zip-<code>. Postcode targeting runs on port 3333, so point your client at that port.

A US example for postcode 10001:

user-country-US-zip-10001

You can also build the username in the dashboard Generator and copy it from there, which avoids typos in the format.

Using ZIP targeting with sticky sessions

ZIP targeting combines with sticky sessions. Add a session ID and a sticky time to keep the same exit inside that postcode for a multi-step flow, such as checking a cart or stepping through a store locator:

user-country-US-zip-10001-session-abc123-time-10

Without a session, each request can get a new IP within the same postcode. For more on sessions, see our guide to sticky session proxies.

Which product has it

ZIP code targeting is available on Premium Residential only. It is a Pro feature. Exclusive Residential, Residential Smart and the other products do not include postcode targeting.

Useful links:

A worked example

Imagine you want to check whether a store shows different delivery options in two parts of the same city. Set up two usernames, each with its own postcode and its own session:

  • user-country-US-zip-10001-session-a1-time-10
  • user-country-US-zip-11201-session-b1-time-10

Run the same steps through both: open the product, add it to the cart, look at the delivery options. Because each session keeps one IP inside its postcode for ten minutes, each flow stays in its area from start to finish, and any difference you see can be traced to location.

Common setup mistakes

  • Wrong port. ZIP targeting runs on port 3333. A client still pointed at another port is the most common reason postcode targeting appears not to work.
  • Wrong product. The ZIP token only applies on Premium Residential.
  • Postcode format. Use the postal code as it is written in that country. Copying the username from the Generator avoids format problems.
  • Expecting city-sized rotation. A single postcode has far fewer IPs than a city. If you need many different IPs, widen to city targeting.

How to check it is working

Send a few requests to an IP information page and confirm that the reported location sits in or next to the postcode you asked for. Remember that geolocation databases differ, so a neighbouring postcode in one database does not always mean the targeting failed. Test on your own target with a small sample before scaling up.

Honest limits

  • Smaller areas have fewer IPs. A single postcode holds far fewer residential connections than a whole city. Rotation inside a small or rural postcode is more limited than inside a large one.
  • Geolocation is an estimate. Postcode location comes from IP geolocation data, and different databases can place the same IP slightly differently. Check with the tool or database your target is likely to use.
  • Port 3333 is required. Using a different port means the ZIP token is not applied the way you expect.
  • No promise about any specific site. We do not promise results on any named website or app.

Getting started

The free trial includes 250 MB in total — 125 MB of Premium Residential and 125 MB of Exclusive Residential — claimed through live chat, so you can test postcode targeting on Premium before buying. Plans are listed on the pricing page.

Try it yourself

Spin up your first session in 60 seconds.

250 MB on us, activated by our team in live chat. No credit card. Real residential and mobile IPs across 195+ countries.

Talk to sales