Home / API
Developers

API

Integrate proxies into your applications with our simple REST API

Overview

The Proxy Worth API lets you manage your proxy products programmatically. Check balances, order new proxies, list your active proxy credentials — all from a simple REST API.

All requests and responses use JSON. Rates are limited to 100 requests per second per API key.

Authentication

All requests require an API key in the Authorization header. You can generate API keys in your account settings.

curl -H "Authorization: Bearer YOUR_API_KEY" https://api.proxyworth.com/v1/balance

Base URL

https://api.proxyworth.com/v1

GET /balance

Returns your current account balance and currency.

curl -H "Authorization: Bearer YOUR_API_KEY" https://api.proxyworth.com/v1/balance

{
  "balance": 249.50,
  "currency": "USD"
}

GET /products

List all available products with prices and providers.

GET /products?type=residential&country=US

{
  "products": [
    {
      "id": "luna-res",
      "name": "LunaProxy Residential",
      "price_per_gb": 0.65,
      "protocols": ["http", "socks5"],
      "countries": ["US", "GB", "DE", "FR"]
    }
  ]
}

POST /order

Place a new order for a proxy product.

POST /order
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY

{
  "product_id": "luna-res",
  "quantity": 10,
  "country": "US"
}

GET /proxies

List all active proxies in your account with connection details.

GET /proxies

{
  "proxies": [
    {
      "id": "px_abc123",
      "host": "185.220.101.42",
      "port": 8080,
      "username": "user_abc",
      "password": "pass_xyz",
      "protocol": "http",
      "status": "active",
      "expires_at": "2026-12-29T00:00:00Z"
    }
  ]
}

Python Example

import requests

API_KEY = "YOUR_API_KEY"
BASE = "https://api.proxyworth.com/v1"

headers = {"Authorization": f"Bearer {API_KEY}"}

resp = requests.get(f"{BASE}/balance", headers=headers)
print(resp.json())

Node.js Example

const res = await fetch("https://api.proxyworth.com/v1/balance", {
  headers: { Authorization: "Bearer YOUR_API_KEY" }
});
const data = await res.json();
console.log(data);