PiratProxies

Automation and testing

Sending Postman traffic through a proxy

Postman is the common desktop tool for trying out APIs. Its settings can send every request through a proxy you choose, which is a quick way to see what an API returns in another country.

The right proxy type for Postman

Any plan with the country you need. Residential Lite is the cheapest way to see an API as a visitor from another country would.

The values to enter in Postman

Every PiratProxies plan comes down to four values: host, port, username and password. Here they are for Residential; your own username and password are on your plan page.

Hostresi.piratproxies.com
HTTP port8080
SOCKS5 port1080
UsernameUSERNAME
Passwordshown on your plan page

There is no separate country or session field: both are part of the username. Your plan page has a generator that writes it, and Targeting and sessions describes each piece.

Setting it up in Postman

  1. Open Settings, then Proxy.
  2. Switch on the custom proxy configuration and tick both HTTP and HTTPS.
  3. Enter the proxy server resi.piratproxies.com and the port 8080.
  4. Switch on proxy authentication and enter your username and password.
  5. Send a GET request to https://api.ipify.org to check the address.

Menus move around between Postman versions, but the four values you enter never change.

Should Postman rotate IPs or keep one?

When Postman plays one visitor across several steps, a sticky session keeps the IP address unchanged from start to finish. When every run stands alone, drop the session and each run begins from a new address.

Here is what a sticky username looks like:

USERNAME-country-us-time-600-session-a1b2c3d4

When Postman will not connect

  • The setting applies to the whole app. Switch it off again when you are done, or every request keeps using your plan.
  • Error 407 means the login was refused. Copy the username and password from your plan page once more, and make sure no space crept in and the username was not cut short.
  • An IP in the wrong country nearly always comes from the username, since the country code lives there. Other fixes.

Postman and proxies: questions

Which PiratProxies plan suits Postman best?

Any plan with the country you need. Residential Lite is the cheapest way to see an API as a visitor from another country would.

Words used in this guide: headless browser, rotating proxy, sticky session, proxy authentication.

Postman belongs to its own developers, and PiratProxies has no connection with them; we name it only to say what this guide covers. Follow the rules of the sites you visit and our acceptable use policy.