Mobile IPs
The ScrapeOps Residential Proxy Aggregator enables you to use mobile IP addresses for requests using the mobile=true
query parameter.
Mobile IPs are the best choice if you’re encountering Captchas or blockages:
- Highest level of stealth.
- Slower than Residential, but some may be using 4G or 5G.
- However, they are less stable, so expect some interruptions.
Usage
You can see it in action with the curl request below if you make requests to `https://httpbin.org/ip.
To use mobile IPs, simply add mobile=true
to your proxy authentication string:
curl -k -x "http://scrapeops.mobile=true:YOUR_API_KEY@residential-proxy.scrapeops.io:8181" "https://httpbin.org/ip"
Code Examples
Python
YOUR_API_KEY = 'YOUR_API_KEY'
proxies = {
'http': f'http://scrapeops.mobile=true:{YOUR_API_KEY}@residential-proxy.scrapeops.io:8181',
'https': f'http://scrapeops.mobile=true:{YOUR_API_KEY}@residential-proxy.scrapeops.io:8181'
}
requests.get('https://httpbin.org/ip', proxies=proxies, verify=False)
Node.js
const YOUR_API_KEY = 'YOUR_API_KEY';
const proxyUrl = `http://scrapeops.mobile=true:${YOUR_API_KEY}@residential-proxy.scrapeops.io:8181`;
axios.get('https://httpbin.org/ip', {
proxy: {
host: 'residential-proxy.scrapeops.io',
port: 8181,
auth: {
username: 'scrapeops.mobile=true',
password: YOUR_API_KEY
}
}
});