Developers

API & integration documentation

Two ways to integrate SocksNode: connect directly to the proxy gateway over HTTP(S) or SOCKS5, or manage bandwidth, usage and proxies programmatically through the REST API.

On this page

Static IPs & IP Vault

Overview

Buy, list and renew static datacenter and residential ISP IPs, and buy, list and manage IP Vault addresses and bandwidth — the same operations as the dashboard, from your code.

Calls that spend money (buying and renewing) need an API key with the purchase scope and are paid from your wallet balance only — top up first. A short wallet answers 402 and nothing is ordered. Static orders are delivered in the background: poll the order until delivery is done.

https://socksnode.com/api/v1

Authentication

Base URL https://socksnode.com/api/v1. Create a key under Dashboard → API access and send it as a Bearer token. Keys are scoped — request only what you need.

ScopeGrants
read:usageBalance & usage analytics
read:proxiesList saved proxy credentials
write:proxiesGenerate new proxy credentials
purchaseBuy GB for rotating residential, datacenter and mobile proxies, buy and renew static and ISP IPs, rent and renew 4G/5G ports, turn on auto-renew, buy 24-hour IPs and IP Vault addresses and bandwidth — charged to your wallet.

Rate limit: 120 requests per minute per key (proxy generation is throttled further). Keep your key secret and server-side.

GET /api/v1/account HTTP/1.1
Host: socksnode.com
Authorization: Bearer sk_YOUR_API_KEY

Errors

Errors return a JSON body { "error": { "code", "message" } } with the matching HTTP status:

StatusMeaning
400Invalid request body or parameters
401Missing, invalid or revoked API key
402Insufficient bandwidth balance to generate proxies
403API key is missing the required scope
404Not found, or not yours.
409The port's state does not allow this right now, e.g. it has expired.
429Rate limit exceeded — see Retry-After header
503The product is under maintenance. Try again shortly.
HTTP/1.1 402 Payment Required
Content-Type: application/json

{
  "error": {
    "code": "no_bandwidth",
    "message": "…"
  }
}

Static Datacenter & ISP IPs

Static IP catalogue

GET/static/catalog

Scope: read:proxies

Query parameters

  • typestringRequired

    dedicated_ipv4, shared_ipv4 and ipv6 are datacenter IPs; isp is a residential ISP IP.

    dedicated_ipv4shared_ipv4ipv6isp

curl "https://socksnode.com/api/v1/static/catalog?type=dedicated_ipv4" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
Response200
{
  "type": "dedicated_ipv4",
  "periodsDays": [5, 10, 20, 30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330, 360],
  "maxQuantity": 100,
  "countries": [
    { "code": "us", "name": "United States", "available": 1000, "cities": [{ "id": 3, "name": "New York", "available": 120 }] }
  ]
}

Price a static order

GET/static/quote

Scope: read:proxies

Query parameters

  • typestringRequired

    dedicated_ipv4, shared_ipv4 and ipv6 are datacenter IPs; isp is a residential ISP IP.

    dedicated_ipv4shared_ipv4ipv6isp

  • countrystringRequired

    Two-letter country code from the catalogue.

  • quantityintegerRequired

    How many IPs (1–100).

  • periodDaysintegerRequired

    Rental length in days — one of the periods the catalogue lists for this type.

curl "https://socksnode.com/api/v1/static/quote?type=isp&country=us&quantity=5&periodDays=30" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
Response200
{
  "type": "isp",
  "country": "us",
  "quantity": 5,
  "periodDays": 30,
  "unitPriceUsd": 3.4,
  "totalUsd": 17
}

Buy static IPs

POST/static/orders

Scope: purchase

Body parameters

  • typestringRequired

    dedicated_ipv4, shared_ipv4 and ipv6 are datacenter IPs; isp is a residential ISP IP.

    dedicated_ipv4shared_ipv4ipv6isp

  • countrystringRequired

    Two-letter country code from the catalogue.

  • cityIdintegerOptional

    A city id from the catalogue (datacenter types only). Leave out for any city.

  • quantityintegerRequired

    How many IPs (1–100).

  • periodDaysintegerRequired

    Rental length in days — one of the periods the catalogue lists for this type.

  • couponCodestringOptional

    A discount code, if you have one.

curl -X POST "https://socksnode.com/api/v1/static/orders" \
  -H "Authorization: Bearer sk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "dedicated_ipv4",
    "country": "us",
    "quantity": 2,
    "periodDays": 30
  }'
Response201
{
  "id": "clx…",
  "orderNumber": "SN-…",
  "status": "paid",
  "type": "dedicated_ipv4",
  "country": "us",
  "quantity": 2,
  "periodDays": 30,
  "amountUsd": 4.6,
  "delivery": "pending"
}

Static order status

GET/static/orders/{id}

Scope: read:proxies

Path parameters

  • idstringRequired

    The id returned when the order was placed.

curl "https://socksnode.com/api/v1/static/orders/ORDER_ID" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
Response200
{
  "id": "clx…",
  "status": "paid",
  "delivery": "done",
  "delivered": 2,
  "quantity": 2,
  "refundedUsd": 0,
  "ips": [ … ]
}

List your static IPs

GET/static

Scope: read:proxies

Query parameters

  • typestringOptional

    Which static IPs to list.

    alldatacenterispDefault: all

curl "https://socksnode.com/api/v1/static" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
Response200
{
  "data": [
    {
      "id": "clx…",
      "ip": "203.0.113.25",
      "host": "203.0.113.25",
      "portHttp": 50100,
      "portSocks5": 50101,
      "username": "u3k2…",
      "password": "…",
      "type": "dedicated_ipv4",
      "countryCode": "us",
      "status": "active",
      "expiresAt": "2026-11-03T10:00:00.000Z",
      "daysLeft": 30,
      "autoRenew": false
    }
  ]
}

Renew static IPs

POST/static/renew

Scope: purchase

Body parameters

  • idsstring[]Required

    Ids of the static IPs to renew — datacenter and ISP IPs in separate calls.

  • periodDaysintegerRequired

    Rental length in days — one of the periods the catalogue lists for this type.

curl -X POST "https://socksnode.com/api/v1/static/renew" \
  -H "Authorization: Bearer sk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ids": [
      "STATIC_ID"
    ],
    "periodDays": 30
  }'
Response201
{
  "jobId": "clx…",
  "renewed": 1,
  "chargedUsd": 2.3,
  "delivery": "pending"
}

Update a static IP

PATCH/static/{id}

Scope: write:proxies

Path parameters

  • idstringRequired

    The static IP's id.

Body parameters

  • autoRenewbooleanOptional

    Renew automatically from the wallet before it expires.

  • namestringOptional

    A label for the IP.

  • notestringOptional

    A private note.

curl -X PATCH "https://socksnode.com/api/v1/static/STATIC_ID" \
  -H "Authorization: Bearer sk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "autoRenew": true
  }'
Response200
{
  "id": "clx…",
  "autoRenew": true,
  …
}

24-hour Dedicated Residential IPs

24-hour residential IPs (/day-ip): list what is on sale for a country, state, city or ISP, buy exact addresses by their ref or any matching ones by count, then list, note, star, fraud-check and speed-test what you hold. Each address works for up to 24 hours with no GB limit; one that does not work within 10 minutes of purchase can be refunded.

24-hour IPs: countries and price

GET/day-ip/countries

Scope: read:proxies

Query parameters

  • poolstringOptional

    Which network's catalogue: a (default) or b. The two cover different countries, so each answers its own list.

    abDefault: a

curl "https://socksnode.com/api/v1/day-ip/countries" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
Response200
{
  "priceUsd": 0.09,
  "count": 219,
  "data": [{ "code": "US", "name": "United States" }]
}

24-hour IPs: states, cities and ISPs

GET/day-ip/places

Scope: read:proxies

Query parameters

  • levelstringRequired

    What to list: state, city or asn (the ISP networks); on network b, isp instead of asn.

    statecityasnisp

  • countrystringRequired

    Two-letter country code, e.g. US.

  • statestringOptional

    A state or region, as /day-ip/places lists it.

  • poolstringOptional

    Which network's catalogue: a (default) or b. The two cover different countries, so each answers its own list.

    abDefault: a

curl "https://socksnode.com/api/v1/day-ip/places?level=city&country=US&state=Texas" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
Response200
{
  "level": "city",
  "country": "US",
  "data": [{ "value": "Dallas", "label": "Dallas" }]
}

24-hour IPs: addresses on sale

GET/day-ip/shop

Scope: read:proxies

Query parameters

  • countrystringRequired

    Two-letter country code, e.g. US.

  • statestringOptional

    A state or region, as /day-ip/places lists it.

  • citystringOptional

    A city, as /day-ip/places lists it; no state needed.

  • asnintegerOptional

    An ISP network number, e.g. 7922.

  • freshbooleanOptional

    true lists again instead of the copy from the last 90 seconds.

  • morebooleanOptional

    true adds a fresh batch to the list (up to 500). Each listing returns at most 100 addresses and the shop cannot search by IP range, so grow the list to find one.

  • ispstringOptional

    A network by name, exactly as /day-ip/places lists it (network b).

  • zipstringOptional

    A ZIP code, exact match (network b).

  • poolstringOptional

    Which network: a (default) or b. Network b needs a country, filters by isp and zip instead of asn, and every address carries a ping; fresh and more do not apply to it.

    abDefault: a

curl "https://socksnode.com/api/v1/day-ip/shop?country=US&state=Texas" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
Response200
{
  "priceUsd": 0.09,
  "walletUsd": 12.4,
  "count": 98,
  "data": [
    { "ref": "DO7fs76WkECuwM", "ip": "73.12.148.*", "cc": "US", "state": "Texas", "city": "Dallas", "isp": "Comcast Cable Communications, LLC", "asn": 7922 }
  ]
}

24-hour IPs: buy

POST/day-ip/ips

Scope: purchase

Body parameters

  • refsstring[]Optional

    Exact addresses to buy: the ref of each, from /day-ip/shop. A ref stays buyable for about 5 minutes. Up to 50.

  • countrystringOptional

    Instead of refs: buy any matching addresses in this country (with state, city or asn to narrow it).

  • statestringOptional

    A state or region, as /day-ip/places lists it.

  • citystringOptional

    A city, as /day-ip/places lists it; no state needed.

  • asnintegerOptional

    An ISP network number, e.g. 7922.

  • countintegerOptional

    With country: how many addresses, 1–50.

  • ispstringOptional

    A network by name, exactly as /day-ip/places lists it (network b).

  • poolstringOptional

    Which network: a (default) or b. Network b sells exact addresses only — send refs together with the country, never count.

    abDefault: a

curl -X POST "https://socksnode.com/api/v1/day-ip/ips" \
  -H "Authorization: Bearer sk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "refs": [
      "SHOP_REF_1",
      "SHOP_REF_2"
    ]
  }'
Response201
{
  "bought": [
    { "id": "cmv…", "proxy": "vault.socksnode.com:27311:user-ip:pass", "ip": "73.12.148.20", "country": "US", "city": "Dallas", "isp": "Comcast Cable Communications, LLC", "asn": 7922, "expiresAt": "2026-10-12T15:36:40Z" }
  ],
  "chargedUsd": 0.18,
  "refundedUsd": 0
}

24-hour IPs: list yours

GET/day-ip/ips

Scope: read:proxies

Query parameters

  • viewstringOptional

    active: addresses inside their 24 hours; all: the last 7 days too.

    activeallDefault: active

curl "https://socksnode.com/api/v1/day-ip/ips" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
Response200
{
  "view": "active",
  "count": 1,
  "data": [
    { "id": "cmv…", "proxy": "vault.socksnode.com:27311:user-ip:pass", "ip": "73.12.148.20", "country": "US", "status": "active", "expiresAt": "2026-10-12T15:36:40Z", "fraud": { "score": 12, "risk": "low", "listed": false }, "speedMs": 1840, "note": "shop #3", "favorite": true }
  ]
}

24-hour IPs: note and favorite

PATCH/day-ip/ips/{id}

Scope: write:proxies

Path parameters

  • idstringRequired

    The id of one of your 24-hour IPs.

Body parameters

  • notestringOptional

    Your note on the address, up to 200 characters.

  • favoritebooleanOptional

    Star or unstar the address.

curl -X PATCH "https://socksnode.com/api/v1/day-ip/ips/DAY_IP_ID" \
  -H "Authorization: Bearer sk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "note": "shop #3",
    "favorite": true
  }'
Response200
{
  "id": "cmv…",
  "ok": true
}

24-hour IPs: refund a dead IP

POST/day-ip/ips/{id}/refund

Scope: write:proxies

Path parameters

  • idstringRequired

    The id of one of your 24-hour IPs.

curl -X POST "https://socksnode.com/api/v1/day-ip/ips/DAY_IP_ID/refund" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
Response200
{
  "id": "cmv…",
  "result": "refunded",
  "windowMinutes": 10
}

24-hour IPs: refund several dead IPs

POST/day-ip/ips/refund

Scope: write:proxies

Body parameters

  • idsstring[]Required

    Ids of your 24-hour IPs to refund, up to 50. Each is dialled again first, and the answer says what became of every one: refunded, still_online or expired.

curl -X POST "https://socksnode.com/api/v1/day-ip/ips/refund" \
  -H "Authorization: Bearer sk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ids": [
      "DAY_IP_ID_1",
      "DAY_IP_ID_2"
    ]
  }'
Response200
{
  "refunded": 1,
  "stillOnline": 1,
  "expired": 0,
  "windowMinutes": 10,
  "data": [
    { "id": "cmv…", "result": "refunded", "why": "dead", "usd": 0.09 },
    { "id": "cmw…", "result": "still_online", "usd": 0 }
  ]
}

24-hour IPs: fraud check

POST/day-ip/ips/fraud

Scope: purchase

Body parameters

  • idsstring[]Required

    Ids of your 24-hour IPs, up to 50. $0.003 each from the wallet.

curl -X POST "https://socksnode.com/api/v1/day-ip/ips/fraud" \
  -H "Authorization: Bearer sk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ids": [
      "DAY_IP_ID"
    ]
  }'
Response200
{
  "checked": 1,
  "failed": 0,
  "chargedUsd": 0.003,
  "data": [{ "id": "cmv…", "ip": "73.12.148.20", "fraud": { "score": 12, "risk": "low", "listed": false } }]
}

24-hour IPs: live check (online / offline)

POST/day-ip/ips/speed

Scope: read:proxies

Body parameters

  • idsstring[]Required

    Ids of your 24-hour IPs, up to 20.

curl -X POST "https://socksnode.com/api/v1/day-ip/ips/speed" \
  -H "Authorization: Bearer sk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ids": [
      "DAY_IP_ID"
    ]
  }'
Response200
{
  "data": [{ "id": "cmv…", "ip": "73.12.148.20", "online": true, "speedMs": 1840 }]
}

Ready to build?

Generate credentials in the dashboard or create an API key to automate it.