API Reference

Complete documentation for the Enterprise SOCKS5 Proxy Network API. All endpoints require authentication via API key.

Authentication

All API requests require a Bearer token in the Authorization header.

Rate Limiting

Rate limits vary by endpoint. Check each endpoint for specific limits.

Error Handling

All errors return standard HTTP status codes with detailed error messages.

API Endpoints

GET/api/v1/nodes

List all available proxy nodes

Auth: Required
Rate Limit: 100/hour
GET/api/v1/nodes/{country}

Get nodes by country code

Auth: Required
Rate Limit: 100/hour
GET/api/v1/sessions

List active sessions

Auth: Required
Rate Limit: 60/hour
POST/api/v1/sessions

Create a new proxy session

Auth: Required
Rate Limit: 30/hour
DELETE/api/v1/sessions/{session_id}

Terminate a session

Auth: Required
Rate Limit: 60/hour
GET/api/v1/customers/{customer_id}

Get customer details

Auth: Required
Rate Limit: 30/hour
GET/api/v1/stats

Get usage statistics

Auth: Required
Rate Limit: 60/hour

Code Examples

List Nodes

curl -X GET "https://api.enterprise-proxy.net/api/v1/nodes" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Language: curl

Create Session

import requests

headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
}

data = {
    "country": "US",
    "asn": "AS7018",
    "session_type": "mobile"
}

response = requests.post(
    "https://api.enterprise-proxy.net/api/v1/sessions",
    headers=headers,
    json=data
)

print(response.json())
Language: python

Get Statistics

const response = await fetch(
  "https://api.enterprise-proxy.net/api/v1/stats",
  {
    headers: {
      "Authorization": "Bearer YOUR_API_KEY",
      "Content-Type": "application/json"
    }
  }
);

const data = await response.json();
console.log(data);
Language: javascript

Base URL

https://api.enterprise-proxy.net/api/v1

All API endpoints are relative to this base URL.

Authentication Header

Authorization: Bearer YOUR_API_KEY_HERE

Replace YOUR_API_KEY_HERE with your actual API key.

Need More Help?

Authentication Details →

Complete guide on API key authentication and security.

Rate Limiting →

Understand rate limits and how to handle them.

Error Reference →

Complete list of error codes and solutions.

Was this helpful?

Help us improve our documentation