Residential proxy SDK — one-liner web fetching through millions of real IPs.
npm install iploopconst { IPLoop } = require('iploop');
const ip = new IPLoop('YOUR_API_KEY');
// One-liner fetch through US residential IP
const result = await ip.fetch('https://example.com', { country: 'US' });
console.log(result.status, result.body);
// Sticky session (same IP across requests)
const session = ip.session({ country: 'US', city: 'newyork' });
const page1 = await session.fetch('https://site.com/page1');
const page2 = await session.fetch('https://site.com/page2');
// Check usage
const usage = await ip.usage();
// Ask support
const answer = await ip.ask('how to handle captcha?');- Zero dependencies — uses Node.js built-in
http/httpsmodules - Auto-retry with IP rotation (3 attempts by default)
- Smart headers per country (28 countries, 12 Chrome UA versions)
- Sticky sessions for multi-page scraping
- Support API — usage, status, ask
- Debug mode —
new IPLoop('KEY', { debug: true })
apiKey— your API key from https://iploop.iooptions.country— default country codeoptions.city— default cityoptions.debug— enable debug logging
Returns { status, headers, body }
country,city— geo targetingsession— session ID for sticky IPheaders— custom headers (merged with smart defaults)retries— retry count (default: 3)timeout— seconds (default: 30)
Returns a StickySession with .fetch() that reuses the same IP.
Support API endpoints.
MIT — https://iploop.io