NEW! |One API call, clean data back. No scrapers needed.Get 10,000 Free Tokens →

Manage the IP allowlist

Allow your servers to use datacenter and ISP proxies without a password — list, add, replace and remove allowlisted IPv4 addresses and split connection limits between them.

The IP allowlist is the list of your own public IPv4 addresses that may connect to a proxy service without a login and password. This guide shows how to read and change it over REST and MCP, and how connection limits are shared between entries.

Reading needs services:read; changes need services:write.

export SERVICE_ID="00000000-0000-0000-0000-000000000000"

How the allowlist works

Every datacenter or ISP proxy IP accepts two kinds of connections:

  • Login and password on the standard ports, from anywhere.
  • No credentials on the allowlist ports, but only from IPs on the allowlist.

The ports come from endpoints[] in GET .../proxy/auth: port is the credential port and port_whitelist is the allowlist port.

Protocol (label)Credential portAllowlist port
SOCKS510801085
HTTP80808085
HTTPS (HTTP/2)84438444
SOCKS4—1087 (allowlist only)
HTTP/2 (port 993, DPI bypass)—993 (allowlist only)

Entries marked noauth_only: true in endpoints[] work only through the allowlist. The HTTPS endpoints carry a hostname_template such as net-{ip_dashed}.mcccx.com; connect by that hostname because the TLS certificate is issued for it. See Connect to datacenter proxies for connection strings.

Every new composite order requires at least one allowlist IP (whitelist_ips), so a fresh service already has one entry.

Read the allowlist

curl "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/whitelist" \
  -H "Authorization: Bearer $FINEPROXY_API_KEY"
const response = await fetch(
  `https://fineproxy.org/account_new/api/v1/customer/services/${process.env.SERVICE_ID}/proxy/whitelist`,
  { headers: { Authorization: `Bearer ${process.env.FINEPROXY_API_KEY}` } },
);
const allowlist = await response.json();
console.log(allowlist.entries, `${allowlist.used}/${allowlist.capacity} slots used`);
import os
import requests

response = requests.get(
    f"https://fineproxy.org/account_new/api/v1/customer/services/{os.environ['SERVICE_ID']}/proxy/whitelist",
    headers={"Authorization": f"Bearer {os.environ['FINEPROXY_API_KEY']}"},
    timeout=30,
)
response.raise_for_status()
allowlist = response.json()
print(allowlist["entries"], allowlist["used"], allowlist["capacity"])
{
  "service_id": "00000000-0000-0000-0000-000000000000",
  "entries": [
    { "ip_or_cidr": "203.0.113.10", "label": null, "conn_limit": 1500, "is_paid": false }
  ],
  "conn_cap": 1500,
  "capacity": 5,
  "free_quota": 5,
  "used": 1,
  "paid_slots": 0
}
FieldMeaning
entries[].ip_or_cidrThe allowlisted IPv4 address. The name is historical: only single addresses are accepted.
entries[].labelOptional label you set when adding.
entries[].conn_limitConcurrent connections this IP may open.
entries[].is_paidtrue if the entry occupies a paid slot.
conn_capTotal connection budget of the service, shared by all entries.
capacityTotal slots: free_quota + paid_slots.
free_quotaSlots included with the service (5).
usedSlots in use.
paid_slotsExtra slots bought with the extra_whitelist_ip add-on (100 cents per IP per month).

conn_cap follows the package size: in the current pricing terms, services up to 800 IPs get a flat 1500 connections (conn_cap_tiers in GET /api/v1/billing/composite/pricing-info).

Reference: Get whitelist.

Add an IP

POST .../proxy/whitelist with ip_or_cidr (required), optional label and optional conn_limit.

curl -X POST "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/whitelist" \
  -H "Authorization: Bearer $FINEPROXY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ip_or_cidr": "198.51.100.55", "label": "office"}'
const response = await fetch(
  `https://fineproxy.org/account_new/api/v1/customer/services/${process.env.SERVICE_ID}/proxy/whitelist`,
  {
    method: 'POST',
    headers: {
      Authorization: `Bearer ${process.env.FINEPROXY_API_KEY}`,
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({ ip_or_cidr: '198.51.100.55', label: 'office' }),
  },
);
if (!response.ok) throw new Error(`Allowlist add failed ${response.status}: ${await response.text()}`);
console.log((await response.json()).entries);
response = requests.post(
    f"https://fineproxy.org/account_new/api/v1/customer/services/{os.environ['SERVICE_ID']}/proxy/whitelist",
    headers={"Authorization": f"Bearer {os.environ['FINEPROXY_API_KEY']}"},
    json={"ip_or_cidr": "198.51.100.55", "label": "office"},
    timeout=30,
)
response.raise_for_status()
print(response.json()["entries"])

The response is the whole updated allowlist. Notice that the connection budget was split between the two entries:

{
  "service_id": "00000000-0000-0000-0000-000000000000",
  "entries": [
    { "ip_or_cidr": "203.0.113.10", "label": null, "conn_limit": 750, "is_paid": false },
    { "ip_or_cidr": "198.51.100.55", "label": "office", "conn_limit": 750, "is_paid": false }
  ],
  "conn_cap": 1500,
  "capacity": 5,
  "free_quota": 5,
  "used": 2,
  "paid_slots": 0
}

Validation errors are 422 with a plain detail string:

InputResponse
"not-an-ip"{"detail":"Invalid IP address: 'not-an-ip'"}
"198.51.100.0/24"{"detail":"Only single IPv4 addresses are supported: '198.51.100.0/24'. CIDR subnets are not allowed."}

An explicit /32 is accepted as a single address. When all slots are taken, buy an extra_whitelist_ip add-on (see Manage services) or replace an existing entry.

Reference: Add whitelist entry.

Replace an IP

When your server’s address changes, swap it atomically. The old IP leaves and the new one appears in one step, with no moment without an allowlisted IP, and no free slot is needed.

curl -X POST "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/whitelist/replace" \
  -H "Authorization: Bearer $FINEPROXY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"old_ip_or_cidr": "198.51.100.55", "new_ip_or_cidr": "198.51.100.56"}'

The response is the updated allowlist; the new entry keeps the old entry’s conn_limit (750 in the example above). Only new_ip_or_cidr is validated as a single IPv4 address; old_ip_or_cidr must match an existing entry.

Reference: Replace whitelist entry.

Remove an IP

DELETE .../proxy/whitelist takes the address as the ip_or_cidr query parameter (not a JSON body).

curl -X DELETE "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/whitelist?ip_or_cidr=198.51.100.56" \
  -H "Authorization: Bearer $FINEPROXY_API_KEY"

After removal, the remaining entry got the full budget back (conn_limit: 1500, used: 1).

Note: The last allowlisted IP of a datacenter, ISP or personal proxy service cannot be removed. Use replace instead.

Reference: Remove whitelist entry.

Set connection limits per IP

By default conn_cap is divided evenly between entries. To give one server more connections than another, use the MCP tool update_whitelist_limits. It takes limits as an {ip_or_cidr: conn_limit} map. Each value must be at least 1 and the limits must add up to the service’s conn_cap; any other shape is rejected. Read conn_cap and the current entries with get_whitelist first.

{
  "name": "update_whitelist_limits",
  "arguments": {
    "service_id": "00000000-0000-0000-0000-000000000000",
    "limits": { "203.0.113.10": 1000, "198.51.100.56": 500 }
  }
}

That object is the params of a JSON-RPC tools/call request to the MCP server. When you add an entry with REST, you can also pass conn_limit directly.

Find your current egress IP

The allowlist needs the public IP your traffic leaves from, not a LAN address. The MCP tool get_my_ip returns the address of the machine that called it:

{ "ip": "203.0.113.10", "family": "ipv4" }

Warning: When an AI agent calls get_my_ip, you get the IP of the machine running the agent. That is not necessarily the server that will use the proxies. Confirm the address before adding it.

MCP equivalents

TaskMCP toolREST
Readget_whitelistGET .../proxy/whitelist
Addadd_whitelist_ip (ip, label)POST .../proxy/whitelist
Replacereplace_whitelist_ip (old_ip, new_ip)POST .../proxy/whitelist/replace
Removeremove_whitelist_ip (ip)DELETE .../proxy/whitelist?ip_or_cidr=
Per-IP connection limitsupdate_whitelist_limitsconn_limit when adding
Your egress IPget_my_ip—

Note the argument names: MCP tools use ip, old_ip and new_ip, while REST uses ip_or_cidr, old_ip_or_cidr and new_ip_or_cidr.

Common pitfalls

  • Sending ip instead of ip_or_cidr to the REST endpoint. Bodies reject unknown fields.
  • Using a CIDR range. Only single IPv4 addresses are accepted; add each address separately.
  • Removing then adding to change an address. With all slots used, the add can fail and leave you without access; use replace.
  • Connecting to a credential port from an allowlisted IP without a password. No-credential access works only on the allowlist ports (1085, 8085, 8444, 1087, 993).