Proxies in Iran
Send requests through IP addresses in Iran. 1 of our proxy types can exit there: add the country code ir to your username.
| Proxy type | Username for Iran | Price | Buy |
|---|---|---|---|
| Residential Lite | USERNAME-country-ir |
$0.72 per GB | Buy |
How do I get an IP address in Iran?
Buy any plan in the table, then add country-ir to its proxy username. Every request sent with that username leaves from an IP address in Iran. The host, the port and the password stay as they are.
Which proxy type to use in Iran
- Residential LiteA cheaper residential pool for high-volume scraping. Country targeting only. $0.72 per GB.
Start with the cheapest type the site you work with accepts, and move up only if you meet blocks. How the types differ
Try it
Replace the username and password with the ones from your plan. The response is the IP address the request left from.
A new IP each time, or the same one
With only the country in the username, each new connection gets a different IP address in Iran. To keep one address, for an account or a checkout, add a session:
USERNAME-country-ir-time-600-session-a1b2c3d4curl -x http://USERNAME-country-ir:PASSWORD@lite.piratproxies.com:6969 https://api.ipify.orgimport requests
proxy = "http://USERNAME-country-ir:PASSWORD@lite.piratproxies.com:6969"
r = requests.get("https://api.ipify.org", proxies={"http": proxy, "https": proxy}, timeout=30)
print(r.text)import { ProxyAgent, fetch } from "undici";
const proxy = new ProxyAgent("http://USERNAME-country-ir:PASSWORD@lite.piratproxies.com:6969");
const res = await fetch("https://api.ipify.org", { dispatcher: proxy });
console.log(await res.text());Questions about proxies in Iran
What does a proxy in Iran cost?
Proxies with IP addresses in Iran start at $0.72 per GB with Residential Lite. The country you choose does not change the price.
Do I need a separate plan for Iran?
No. One plan reaches every country its proxy type covers. Change country-ir in the username to another code and the same login exits somewhere else.
How do I check that my IP address is in Iran?
Press the test button on your plan page, which shows the exit IP address and its country, or request a page that prints the visitor's IP address through the proxy. Location databases sometimes disagree, so check with more than one before deciding.
Can I use SOCKS5 with a proxy in Iran?
Yes. Every plan has an HTTP port and a SOCKS5 port with the same username and password, and the country is chosen the same way on both.
Other locations
Route through Iran
Buy a plan, put the country code in the username, and check the exit IP with the test button.