Proxy SDK LIVE
Integrate residential proxies into your app with a few lines of code
Quick Start
Node.js
const IPLoop = require('iploop'); const ip = new IPLoop('your-api-key'); // Fetch through residential proxy const res = await ip.get('https://httpbin.org/ip'); console.log(res.body); // Target a specific country const de = await ip.get('https://example.com', { country: 'DE' });
Python
from iploop import IPLoop ip = IPLoop('your-api-key') # Fetch through residential proxy res = ip.get('https://httpbin.org/ip') print(res.text) # Target a specific country de = ip.get('https://example.com', country='DE' )
Sticky Sessions
Keep the same IP across multiple requests — perfect for multi-page flows, login sessions, and checkouts.
Node.js
const session = ip.session({ country: 'US', city: 'newyork' }); // Same IP for all requests const page1 = await session.get('https://site.com/page1'); const page2 = await session.get('https://site.com/page2');
Python
session = ip.session( country='US', city='newyork' ) # Same IP for all requests page1 = session.get('https://site.com/page1') page2 = session.get('https://site.com/page2')
SDK Features
Geo-Targeting
Target by country, city, or ASN. 195+ countries available.
Sticky Sessions
Keep the same IP across multiple requests with configurable lifetime.
Auto-Rotation
Automatic IP rotation per-request, per-time, or manual control.
HTTP & SOCKS5
Both protocols supported. HTTP on port 8880, SOCKS5 on port 1080.
Built-in Auth
Authenticate with your API key. No complex proxy credentials needed.
Usage Tracking
Real-time bandwidth monitoring and per-request logging in your dashboard.
Methods
| Method | Description |
|---|---|
| ip.get(url, options?) | GET request through residential proxy |
| ip.post(url, options?) | POST request through residential proxy |
| ip.put(url, options?) | PUT request |
| ip.delete(url, options?) | DELETE request |
| ip.fetch(url, options?) | Custom request with full control |
| ip.session(options?) | Create sticky session (same IP) |
| ip.countries() | List all available countries |
Targeting Options
| Option | Type | Example | Description |
|---|---|---|---|
| country | string | 'US' | ISO 2-letter country code |
| city | string | 'miami' | Target city name |
| asn | number | 12345 | Target ASN/ISP |
| session | string | 'abc123' | Custom session ID |
| sessionType | string | 'sticky' | sticky | rotating |
| lifetime | number | 30 | Session lifetime in minutes |
Direct Proxy Access
Don't want to use the SDK? Connect directly via standard proxy protocols.
cURL
# HTTP proxy curl -x http://:[email protected]:8880 https://httpbin.org/ip # With country targeting curl -x http://:[email protected]:8880 https://httpbin.org/ip # SOCKS5 proxy curl --socks5 :[email protected]:1080 https://httpbin.org/ip