Skip to content

Tools

All tools work on the proxy user that owns the API key. None of them change your account or spend money. Your AI app picks the right tool from your question, so you rarely need to name one.

Networks are named RESI (residential), DCH (datacenter) and MOB (mobile). Amounts are given in bytes and in GB (1 GB = 1024³ bytes).

get_balance

How much data is left on each network.

Parameters: none.

Example result
{
  "proxy_user_id": "64f1c2a9b8e7d6c5a4b3f2e1",
  "balances": {
    "RESI": { "bytes": 10737418240, "gb": 10 },
    "DCH": { "bytes": 0, "gb": 0 },
    "MOB": { "bytes": 0, "gb": 0 }
  }
}

get_usage

Data used per day and network, oldest day first.

Parameter Type Default Description
days integer, 1–24 7 How many days back, including today.
Example result (shortened)
{
  "days": 2,
  "series": [
    { "date": "2026-12-02", "RESI": { "bytes": 52428800, "gb": 0.049 }, "DCH": { "bytes": 0, "gb": 0 }, "MOB": { "bytes": 0, "gb": 0 } },
    { "date": "2026-12-03", "RESI": { "bytes": 1073741824, "gb": 1 }, "DCH": { "bytes": 0, "gb": 0 }, "MOB": { "bytes": 0, "gb": 0 } }
  ]
}

get_recent_sessions

The most recent proxy sessions, newest first.

Parameter Type Default Description
limit integer, 1–100 20 How many sessions to return.

get_active_sessions

Sticky sessions that still hold their IP. ttl is the number of seconds left; -1 means it doesn't expire.

Parameters: none.

get_prices

The current price per GB for each network, in US dollars.

Parameters: none.

list_countries

Two-letter country codes (ISO 3166-1 alpha-2) you can target with build_proxies.

Parameters: none.

build_proxies

Ready-to-use proxy strings. The strings include the proxy user's password, so treat them like a password.

Parameter Type Default Description
networks list of RESI, DCH ["RESI"] Networks whose balance the proxies use.
protocol http or socks5 http Proxy protocol.
country two-letter code any location Exit country, such as US or DE.
sticky { duration, unit } rotate Keep the same IP for a while. duration is 1–10000; unit is seconds, minutes, hours or weeks. Leave it out to get a new IP on every request.
count integer, 1–100 1 How many proxies. Each sticky proxy gets its own IP.
format see below uri Output format.
format Looks like
uri http://user:pass@host:port
host:port:user:pass host:port:user:pass
user:pass@host:port user:pass@host:port
Example: 2 sticky US proxies for 10 minutes, host:port:user:pass
{
  "protocol": "http",
  "host": "us-west.proxybase.org",
  "port": 6500,
  "networks": ["RESI"],
  "country": "US",
  "sticky": { "duration": 10, "unit": "minutes" },
  "proxies": [
    "us-west.proxybase.org:6500:64f1c2a9b8e7d6c5a4b3f2e1-sticky=Qk7vT2mXa9-time=10m-type=residential-country=US:<password>",
    "us-west.proxybase.org:6500:64f1c2a9b8e7d6c5a4b3f2e1-sticky=Hb3nW8pLc4-time=10m-type=residential-country=US:<password>"
  ]
}

Ports are 6500 for HTTP and 6421 for SOCKS5. Without a country, proxies use connect.proxybase.org. Mobile proxies are coming soon.

Same format as the dashboard

The usernames match the ones Proxy setup on the dashboard creates, so proxies from either place work the same way.