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/v1Authentication
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.
| Scope | Grants |
|---|---|
| read:usage | Balance & usage analytics |
| read:proxies | List saved proxy credentials |
| write:proxies | Generate new proxy credentials |
| purchase | Buy 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_KEYErrors
Errors return a JSON body { "error": { "code", "message" } } with the matching HTTP status:
| Status | Meaning |
|---|---|
| 400 | Invalid request body or parameters |
| 401 | Missing, invalid or revoked API key |
| 402 | Insufficient bandwidth balance to generate proxies |
| 403 | API key is missing the required scope |
| 404 | Not found, or not yours. |
| 409 | The port's state does not allow this right now, e.g. it has expired. |
| 429 | Rate limit exceeded — see Retry-After header |
| 503 | The 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
typestringRequireddedicated_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"{
"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
typestringRequireddedicated_ipv4, shared_ipv4 and ipv6 are datacenter IPs; isp is a residential ISP IP.
dedicated_ipv4shared_ipv4ipv6ispcountrystringRequiredTwo-letter country code from the catalogue.
quantityintegerRequiredHow many IPs (1–100).
periodDaysintegerRequiredRental 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"{
"type": "isp",
"country": "us",
"quantity": 5,
"periodDays": 30,
"unitPriceUsd": 3.4,
"totalUsd": 17
}Buy static IPs
POST/static/orders
Scope: purchase
Body parameters
typestringRequireddedicated_ipv4, shared_ipv4 and ipv6 are datacenter IPs; isp is a residential ISP IP.
dedicated_ipv4shared_ipv4ipv6ispcountrystringRequiredTwo-letter country code from the catalogue.
cityIdintegerOptionalA city id from the catalogue (datacenter types only). Leave out for any city.
quantityintegerRequiredHow many IPs (1–100).
periodDaysintegerRequiredRental length in days — one of the periods the catalogue lists for this type.
couponCodestringOptionalA 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
}'{
"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
idstringRequiredThe id returned when the order was placed.
curl "https://socksnode.com/api/v1/static/orders/ORDER_ID" \
-H "Authorization: Bearer sk_YOUR_API_KEY"{
"id": "clx…",
"status": "paid",
"delivery": "done",
"delivered": 2,
"quantity": 2,
"refundedUsd": 0,
"ips": [ … ]
}List your static IPs
GET/static
Scope: read:proxies
Query parameters
typestringOptionalWhich static IPs to list.
alldatacenterispDefault:all
curl "https://socksnode.com/api/v1/static" \
-H "Authorization: Bearer sk_YOUR_API_KEY"{
"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[]RequiredIds of the static IPs to renew — datacenter and ISP IPs in separate calls.
periodDaysintegerRequiredRental 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
}'{
"jobId": "clx…",
"renewed": 1,
"chargedUsd": 2.3,
"delivery": "pending"
}Update a static IP
PATCH/static/{id}
Scope: write:proxies
Path parameters
idstringRequiredThe static IP's id.
Body parameters
autoRenewbooleanOptionalRenew automatically from the wallet before it expires.
namestringOptionalA label for the IP.
notestringOptionalA 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
}'{
"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
poolstringOptionalWhich 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"{
"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
levelstringRequiredWhat to list: state, city or asn (the ISP networks); on network b, isp instead of asn.
statecityasnispcountrystringRequiredTwo-letter country code, e.g. US.
statestringOptionalA state or region, as /day-ip/places lists it.
poolstringOptionalWhich 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"{
"level": "city",
"country": "US",
"data": [{ "value": "Dallas", "label": "Dallas" }]
}24-hour IPs: addresses on sale
GET/day-ip/shop
Scope: read:proxies
Query parameters
countrystringRequiredTwo-letter country code, e.g. US.
statestringOptionalA state or region, as /day-ip/places lists it.
citystringOptionalA city, as /day-ip/places lists it; no state needed.
asnintegerOptionalAn ISP network number, e.g. 7922.
freshbooleanOptionaltrue lists again instead of the copy from the last 90 seconds.
morebooleanOptionaltrue 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.
ispstringOptionalA network by name, exactly as /day-ip/places lists it (network b).
zipstringOptionalA ZIP code, exact match (network b).
poolstringOptionalWhich 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"{
"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[]OptionalExact addresses to buy: the ref of each, from /day-ip/shop. A ref stays buyable for about 5 minutes. Up to 50.
countrystringOptionalInstead of refs: buy any matching addresses in this country (with state, city or asn to narrow it).
statestringOptionalA state or region, as /day-ip/places lists it.
citystringOptionalA city, as /day-ip/places lists it; no state needed.
asnintegerOptionalAn ISP network number, e.g. 7922.
countintegerOptionalWith country: how many addresses, 1–50.
ispstringOptionalA network by name, exactly as /day-ip/places lists it (network b).
poolstringOptionalWhich 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"
]
}'{
"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
viewstringOptionalactive: 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"{
"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
idstringRequiredThe id of one of your 24-hour IPs.
Body parameters
notestringOptionalYour note on the address, up to 200 characters.
favoritebooleanOptionalStar 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
}'{
"id": "cmv…",
"ok": true
}24-hour IPs: refund a dead IP
POST/day-ip/ips/{id}/refund
Scope: write:proxies
Path parameters
idstringRequiredThe 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"{
"id": "cmv…",
"result": "refunded",
"windowMinutes": 10
}24-hour IPs: refund several dead IPs
POST/day-ip/ips/refund
Scope: write:proxies
Body parameters
idsstring[]RequiredIds 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"
]
}'{
"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[]RequiredIds 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"
]
}'{
"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[]RequiredIds 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"
]
}'{
"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.