ProxyHive

Docs

Proxy API and integration docs

Connect any HTTP or SOCKS5 client with one host and one login per network, choose locations and sessions with keys in the user name, and manage plans with the REST API.

Hosts and ports

Each network has one host. HTTP and HTTPS share the first port, SOCKS5 uses the second. The user name and password come from the plan in your dashboard and are the same for both protocols.

NetworkHostHTTP(S)SOCKS5
Residential proxiesres.proxyhive.cc70007001
Mobile proxiesmob.proxyhive.cc71007101
Static ISP proxiesisp.proxyhive.cc80008001
Datacenter proxiesdc.proxyhive.cc72007201

Static ISP plans list every address with its own port instead of a shared host: connect to ip:port with the plan's user name and password.

User name keys

Keys are appended to your user name with hyphens and can be combined in any order. Without keys a rotating plan returns a random address in any country.

KeyWhat it doesNetworks
country-usTwo letter ISO country code.Residential, mobile, datacenter
state-texasA US state or first level region.Residential
city-new_yorkA city, lowercase, spaces as underscores.Residential, mobile
carrier-tmobileOne mobile carrier, lowercase, no spaces.Mobile
session-a1b2c3Keeps one IP for the session, 6 to 10 letters or digits.Residential, mobile, datacenter
ttl-30Minutes a session holds its IP, 1 to 1,440. Default 10.Residential, mobile, datacenter
USER-country-de-city-berlin-session-k7p2x9-ttl-60:PASS@res.proxyhive.cc:7000

Code samples

Replace USER and PASS with the login of your plan. The samples send one request through the gateway and print the answer.

curl -x res.proxyhive.cc:7000 -U "USER-country-us:PASS" \
  https://example.com
Select product

REST API

Base address https://proxyhive.cc/api/v1. Answers are JSON and always carry ok. Public endpoints need no key; account endpoints need the header Authorization: Bearer with the API key from your account page.

MethodPathWhat it doesKey
GET/plansEvery plan with id, product, size, rate and price.No
GET/locationsCountries with pool sizes, cities and carriers.No
GET/balanceYour credit in USD.Yes
POST/ordersBuy a plan: plan id and country (or any).Yes
GET/ordersYour plans with logins, traffic left and expiry.Yes
GET/orders/{id}One plan by its code.Yes
curl -X POST https://proxyhive.cc/api/v1/orders \
  -H "Authorization: Bearer phk_..." \
  -H "Content-Type: application/json" \
  -d '{"plan": "res-100", "country": "any"}'
{
  "ok": true,
  "order": {
    "id": "HO-7K2M9QXR4T",
    "product": "resi",
    "plan": "res-100",
    "quantity": 100,
    "unit": "GB",
    "status": "active",
    "gateway": { "host": "res.proxyhive.cc", "http_port": 7000, "socks5_port": 7001, "username": "...", "password": "..." }
  }
}

Errors and limits

Failed calls answer ok: false with an error code and a message: unauthorized (401), bad_plan or bad_country (400), funds (402, with the amount still needed), network (503, nothing was charged) and rate_limited (429). Each API key may send 300 requests per minute.

Get started with ProxyHive

Create an account in seconds, add credit with crypto and copy your first proxy login. Every plan starts at $30.