Node.js
Terminal
npm install iploop

v1.0.4 · npm →

Python
Terminal
pip install iploop-sdk

v1.7.3 · PyPI →

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
MethodDescription
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
OptionTypeExampleDescription
countrystring'US'ISO 2-letter country code
citystring'miami'Target city name
asnnumber12345Target ASN/ISP
sessionstring'abc123'Custom session ID
sessionTypestring'sticky'sticky | rotating
lifetimenumber30Session 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