Datacenter Proxies

Datacenter proxies are hosted on dedicated servers inside tier-1 data centres, giving you static IP addresses with consistently low latency and unlimited egress bandwidth. Unlike residential IPs, datacenter IPs are not tied to an ISP consumer account — they are purpose-built for high-throughput workloads where speed and predictability matter more than IP diversity.

Typical use cases include price monitoring, internal API testing, ad-verification at scale, and SEO rank tracking where the target site does not employ residential-only IP filters. Because the IPs are dedicated to your account, you have full control over their reputation and rotation schedule.

Finding Your Endpoint

Datacenter endpoints are unique per account and allocated at plan activation. To find yours:

  1. Log in to the portal dashboard.
  2. Navigate to Proxies → Datacenter.
  3. Copy the host, port, and your assigned IP list from the credentials panel.

Your datacenter endpoint will look like dc.ninjasproxy.com:<port> or a dedicated numeric host such as 198.51.100.12:3128 — exact values are shown in the portal.

Shared vs dedicated subnets: Starter plans share a subnet with other customers. Business and Enterprise plans receive dedicated /24 or /22 allocations for full reputation isolation. Contact support if you need a dedicated subnet upgrade.

Authentication

NinjasProxy datacenter proxies support two authentication methods:

Username + API key (recommended)

Pass your credentials in the proxy URL. This works from any network and is required when you connect from dynamic IPs (cloud functions, CI runners, developer laptops):

http://USERNAME:API_KEY@dc.ninjasproxy.com:PORT

IP whitelist

Whitelist up to 10 egress IPs per account in the portal under Settings → IP Whitelist. Once whitelisted, requests from those IPs require no credentials at all — just point your client at the endpoint:

http://dc.ninjasproxy.com:PORT

Whitelist authentication is ideal for fixed-IP servers and on-prem deployments where embedding credentials in application config is undesirable. Changes take effect within 60 seconds.

Code Examples

curl

# Credential auth
curl --proxy "http://USERNAME:API_KEY@dc.ninjasproxy.com:PORT" \
     "https://api.ipify.org?format=json"

# IP-whitelist auth (no credentials needed)
curl --proxy "http://dc.ninjasproxy.com:PORT" \
     "https://api.ipify.org?format=json"

# HTTPS target with credential auth
curl --proxytunnel \
     --proxy "http://USERNAME:API_KEY@dc.ninjasproxy.com:PORT" \
     "https://httpbin.org/headers"

Python (requests)

import requests

DC_HOST = "dc.ninjasproxy.com"
DC_PORT = 3128          # replace with your port from the portal
USERNAME = "your_username"
API_KEY  = "your_api_key"

# ── Username + key auth ────────────────────────────────────────
proxies = {
    "http":  f"http://{USERNAME}:{API_KEY}@{DC_HOST}:{DC_PORT}",
    "https": f"http://{USERNAME}:{API_KEY}@{DC_HOST}:{DC_PORT}",
}

session = requests.Session()
session.proxies.update(proxies)
session.headers.update({"User-Agent": "Mozilla/5.0"})

r = session.get("https://api.ipify.org?format=json", timeout=15)
print("Datacenter IP:", r.json()["ip"])

# ── IP-whitelist auth (no credentials) ─────────────────────────
proxies_wl = {
    "http":  f"http://{DC_HOST}:{DC_PORT}",
    "https": f"http://{DC_HOST}:{DC_PORT}",
}
r2 = requests.get("https://api.ipify.org?format=json", proxies=proxies_wl, timeout=15)
print("Whitelisted IP:", r2.json()["ip"])

Node.js (axios + https-proxy-agent)

import axios from 'axios'
import { HttpsProxyAgent } from 'https-proxy-agent'

const proxyUrl = 'http://USERNAME:API_KEY@dc.ninjasproxy.com:PORT'
const agent    = new HttpsProxyAgent(proxyUrl)

const { data } = await axios.get('https://api.ipify.org?format=json', {
  httpsAgent: agent,
  timeout: 15_000,
})
console.log('Datacenter IP:', data.ip)

Bandwidth & Limits

Next Steps