개발자

API 및 연동 문서

SocksNode를 연동하는 두 가지 방법: HTTP(S) 또는 SOCKS5로 프록시 게이트웨이에 직접 연결하거나, REST API를 통해 대역폭, 사용량, 프록시를 프로그래밍 방식으로 관리하세요.

이 페이지에서

고정 IP와 IP Vault

개요

고정 데이터센터 IP와 레지덴셜 ISP IP를 구매·조회·연장하고, IP Vault 주소와 대역폭을 구매·관리합니다 — 대시보드와 같은 작업을 코드에서 실행합니다.

돈을 쓰는 호출(구매·연장)은 purchase 권한이 있는 API 키가 필요하며 지갑 잔액으로만 결제됩니다 — 먼저 충전하세요. 잔액이 부족하면 402를 반환하고 주문하지 않습니다. 고정 IP 주문은 백그라운드에서 지급되므로 지급이 끝날 때까지 주문을 조회하세요.

https://socksnode.com/api/v1

인증

기본 URL https://socksnode.com/api/v1. Dashboard → API access에서 키를 생성하고 Bearer 토큰으로 전송하세요. 키는 범위가 지정되어 있으므로 필요한 것만 요청하세요.

범위권한
read:usage잔액 및 사용량 분석
read:proxies저장된 프록시 자격 증명 목록
write:proxies새 프록시 자격 증명 생성
purchase로테이팅 주거용·데이터센터·모바일 프록시용 GB 구매, 고정 IP와 ISP IP 구매 및 연장, 4G/5G 포트 대여 및 연장, 자동 연장 설정, 24시간 IP와 IP Vault 주소 및 대역폭 구매 — 잔액에서 결제됩니다.

속도 제한: 키당 분당 120개 요청 (프록시 생성은 추가로 제한됩니다). 키는 비밀로 유지하고 서버 측에 보관하세요.

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

오류

오류는 해당 HTTP 상태와 함께 JSON 본문 { "error": { "code", "message" } }을 반환합니다:

상태의미
400잘못된 요청 본문 또는 매개변수
401누락되거나 잘못되었거나 취소된 API 키
402프록시를 생성하기에 대역폭 잔액이 부족함
403API 키에 필요한 범위가 없음
404찾을 수 없거나 본인 소유가 아닙니다.
409포트 상태상 지금은 불가합니다(예: 만료됨).
429속도 제한 초과 — Retry-After 헤더 참조
503제품 점검 중입니다. 잠시 후 다시 시도하세요.
HTTP/1.1 402 Payment Required
Content-Type: application/json

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

고정 데이터센터 IP · ISP IP

고정 IP 카탈로그

GET/static/catalog

범위: read:proxies

쿼리 파라미터

  • typestring필수

    dedicated_ipv4, shared_ipv4, ipv6은 데이터센터 IP이고 isp는 레지덴셜 ISP IP입니다.

    dedicated_ipv4shared_ipv4ipv6isp

curl "https://socksnode.com/api/v1/static/catalog?type=dedicated_ipv4" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
응답200
{
  "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 }] }
  ]
}

고정 IP 주문 견적

GET/static/quote

범위: read:proxies

쿼리 파라미터

  • typestring필수

    dedicated_ipv4, shared_ipv4, ipv6은 데이터센터 IP이고 isp는 레지덴셜 ISP IP입니다.

    dedicated_ipv4shared_ipv4ipv6isp

  • countrystring필수

    카탈로그의 2자리 국가 코드.

  • quantityinteger필수

    IP 개수 (1–100).

  • periodDaysinteger필수

    임대 일수 — 이 유형에 대해 카탈로그가 제시하는 기간 중 하나.

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

고정 IP 구매

POST/static/orders

범위: purchase

본문 파라미터

  • typestring필수

    dedicated_ipv4, shared_ipv4, ipv6은 데이터센터 IP이고 isp는 레지덴셜 ISP IP입니다.

    dedicated_ipv4shared_ipv4ipv6isp

  • countrystring필수

    카탈로그의 2자리 국가 코드.

  • cityIdinteger선택 사항

    카탈로그의 도시 id (데이터센터만). 생략하면 아무 도시.

  • quantityinteger필수

    IP 개수 (1–100).

  • periodDaysinteger필수

    임대 일수 — 이 유형에 대해 카탈로그가 제시하는 기간 중 하나.

  • couponCodestring선택 사항

    할인 코드 (있는 경우).

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
  }'
응답201
{
  "id": "clx…",
  "orderNumber": "SN-…",
  "status": "paid",
  "type": "dedicated_ipv4",
  "country": "us",
  "quantity": 2,
  "periodDays": 30,
  "amountUsd": 4.6,
  "delivery": "pending"
}

고정 IP 주문 상태

GET/static/orders/{id}

범위: read:proxies

경로 파라미터

  • idstring필수

    주문 시 반환된 id.

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

내 고정 IP 목록

GET/static

범위: read:proxies

쿼리 파라미터

  • typestring선택 사항

    나열할 고정 IP 종류.

    alldatacenterisp기본값: all

curl "https://socksnode.com/api/v1/static" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
응답200
{
  "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
    }
  ]
}

고정 IP 연장

POST/static/renew

범위: purchase

본문 파라미터

  • idsstring[]필수

    연장할 고정 IP id — 데이터센터와 ISP는 따로 호출.

  • periodDaysinteger필수

    임대 일수 — 이 유형에 대해 카탈로그가 제시하는 기간 중 하나.

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
  }'
응답201
{
  "jobId": "clx…",
  "renewed": 1,
  "chargedUsd": 2.3,
  "delivery": "pending"
}

고정 IP 수정

PATCH/static/{id}

범위: write:proxies

경로 파라미터

  • idstring필수

    고정 IP의 id.

본문 파라미터

  • autoRenewboolean선택 사항

    만료 전에 지갑 잔액으로 자동 연장.

  • namestring선택 사항

    IP 이름.

  • notestring선택 사항

    비공개 메모.

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
  }'
응답200
{
  "id": "clx…",
  "autoRenew": true,
  …
}

24시간 전용 주거용 IP

24시간 주거용 IP(/day-ip): 국가, 주, 도시 또는 ISP별로 판매 중인 주소를 보고, ref로 정확한 주소를 사거나 수량으로 조건에 맞는 주소를 산 뒤, 보유한 주소를 조회·메모·즐겨찾기·사기 점검·속도 측정할 수 있습니다. 각 주소는 최대 24시간, GB 제한 없이 작동하며, 구매 후 10분 안에 작동하지 않는 주소는 환불됩니다.

24시간 IP: 국가와 가격

GET/day-ip/countries

범위: read:proxies

쿼리 파라미터

  • poolstring선택 사항

    어느 네트워크의 목록인지: a(기본) 또는 b. 두 네트워크는 지원 국가가 달라 각각 자신의 목록을 돌립니다.

    ab기본값: a

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

24시간 IP: 주, 도시, ISP

GET/day-ip/places

범위: read:proxies

쿼리 파라미터

  • levelstring필수

    나열할 항목: state(주), city(도시), asn(ISP 네트워크); 네트워크 b에서는 asn 대신 isp.

    statecityasnisp

  • countrystring필수

    두 글자 국가 코드, 예: US.

  • statestring선택 사항

    /day-ip/places가 반환하는 주 또는 지역.

  • poolstring선택 사항

    어느 네트워크의 목록인지: a(기본) 또는 b. 두 네트워크는 지원 국가가 달라 각각 자신의 목록을 돌립니다.

    ab기본값: a

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

24시간 IP: 판매 중인 주소

GET/day-ip/shop

범위: read:proxies

쿼리 파라미터

  • countrystring필수

    두 글자 국가 코드, 예: US.

  • statestring선택 사항

    /day-ip/places가 반환하는 주 또는 지역.

  • citystring선택 사항

    /day-ip/places가 반환하는 도시. 주를 정하지 않아도 됩니다.

  • asninteger선택 사항

    ISP 네트워크 번호, 예: 7922.

  • freshboolean선택 사항

    true면 최근 90초 사본 대신 목록을 다시 가져옵니다.

  • moreboolean선택 사항

    true면 새 묶음을 목록에 추가합니다(최대 500). 한 번에 최대 100개만 나오고 IP 대역으로 검색할 수 없으니 목록을 늘려서 찾으세요.

  • ispstring선택 사항

    네트워크 이름. /day-ip/places가 알려주는 문자열과 정확히 같아야 합니다(네트워크 b).

  • zipstring선택 사항

    우통번호, 정확히 일치(네트워크 b).

  • poolstring선택 사항

    어느 네트워크인지: a(기본) 또는 b. 네트워크 b는 country가 필수이고 asn 대신 isp와 zip으로 거르며, 주소마다 ping이 함께 옵니다. fresh와 more는 적용되지 않습니다.

    ab기본값: a

curl "https://socksnode.com/api/v1/day-ip/shop?country=US&state=Texas" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
응답200
{
  "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시간 IP: 구매

POST/day-ip/ips

범위: purchase

본문 파라미터

  • refsstring[]선택 사항

    구매할 정확한 주소: /day-ip/shop의 각 ref. ref는 약 5분 동안 구매할 수 있습니다. 최대 50.

  • countrystring선택 사항

    refs 대신: 이 국가에서 조건에 맞는 주소를 구매(state, city, asn으로 좁히기).

  • statestring선택 사항

    /day-ip/places가 반환하는 주 또는 지역.

  • citystring선택 사항

    /day-ip/places가 반환하는 도시. 주를 정하지 않아도 됩니다.

  • asninteger선택 사항

    ISP 네트워크 번호, 예: 7922.

  • countinteger선택 사항

    country와 함께: 주소 수, 1–50.

  • ispstring선택 사항

    네트워크 이름. /day-ip/places가 알려주는 문자열과 정확히 같아야 합니다(네트워크 b).

  • poolstring선택 사항

    어느 네트워크인지: a(기본) 또는 b. 네트워크 b는 지정한 주소만 할마합니다 — count 대신 refs와 country를 보내십시오.

    ab기본값: 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"
    ]
  }'
응답201
{
  "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시간 IP: 내 IP 목록

GET/day-ip/ips

범위: read:proxies

쿼리 파라미터

  • viewstring선택 사항

    active: 24시간 이내 주소, all: 최근 7일 주소까지.

    activeall기본값: active

curl "https://socksnode.com/api/v1/day-ip/ips" \
  -H "Authorization: Bearer sk_YOUR_API_KEY"
응답200
{
  "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시간 IP: 메모와 즐겨찾기

PATCH/day-ip/ips/{id}

범위: write:proxies

경로 파라미터

  • idstring필수

    보유한 24시간 IP의 id.

본문 파라미터

  • notestring선택 사항

    주소에 대한 메모, 최대 200자.

  • favoriteboolean선택 사항

    즐겨찾기 추가 또는 해제.

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
  }'
응답200
{
  "id": "cmv…",
  "ok": true
}

24시간 IP: 작동하지 않는 IP 환불

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

범위: write:proxies

경로 파라미터

  • idstring필수

    보유한 24시간 IP의 id.

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

24시간 IP: 작동하지 않는 IP 여러 건 환불

POST/day-ip/ips/refund

범위: write:proxies

본문 파라미터

  • idsstring[]필수

    환불할 24시간 IP의 id, 최대 50개. 각각 다시 연결해 보고, 응답이 id별 결과를 알려줍니다: refunded, still_online 또는 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"
    ]
  }'
응답200
{
  "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시간 IP: 사기 점검

POST/day-ip/ips/fraud

범위: purchase

본문 파라미터

  • idsstring[]필수

    보유한 24시간 IP의 id, 최대 50개. 개당 $0.003이 잔액에서 차감.

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"
    ]
  }'
응답200
{
  "checked": 1,
  "failed": 0,
  "chargedUsd": 0.003,
  "data": [{ "id": "cmv…", "ip": "73.12.148.20", "fraud": { "score": 12, "risk": "low", "listed": false } }]
}

24시간 IP: 상태 확인(온라인/오프라인)

POST/day-ip/ips/speed

범위: read:proxies

본문 파라미터

  • idsstring[]필수

    보유한 24시간 IP의 id, 최대 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"
    ]
  }'
응답200
{
  "data": [{ "id": "cmv…", "ip": "73.12.148.20", "online": true, "speedMs": 1840 }]
}

만들 준비가 되셨나요?

대시보드에서 자격 증명을 생성하거나 API 키를 만들어 자동화하세요.