Skip to main content
GET
/
api
/
v2
/
account
/
fetch
/
all
/
{customer_id}
Get Active Orders
curl --request GET \
  --url https://dashboard.statproxies.com/api/v2/account/fetch/all/{customer_id}
import requests

url = "https://dashboard.statproxies.com/api/v2/account/fetch/all/{customer_id}"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://dashboard.statproxies.com/api/v2/account/fetch/all/{customer_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://dashboard.statproxies.com/api/v2/account/fetch/all/{customer_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://dashboard.statproxies.com/api/v2/account/fetch/all/{customer_id}"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://dashboard.statproxies.com/api/v2/account/fetch/all/{customer_id}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://dashboard.statproxies.com/api/v2/account/fetch/all/{customer_id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "order": [
    {}
  ]
}
Fetch all active orders for a specific customer, including full proxy lists.

Request

Headers

HeaderValueRequired
AuthorizationBearer {your_api_key}Yes

Path Parameters

customer_id
string
required
The customer’s Discord ID or identifier.

Example Request

curl -X GET "https://dashboard.statproxies.com/api/v2/account/fetch/all/123456789012345678" \
  -H "Authorization: Bearer {your_api_key}"

Response

Success Response

{
  "order": [
    {
      "_id": "64abc123def456789",
      "email": "user@example.com",
      "customer_discord_id": "123456789012345678",
      "product_id": "captcha",
      "product_name": "Captcha Proxies",
      "quantity": 10,
      "order_status": "active",
      "unix_purchase_date": 1753815092,
      "unix_expiration_date": 1756493492,
      "datacenter_details": {
        "proxy_username": "sub_1rqjp3jb4g9i6pkhdwmkpjob",
        "proxy_password": "stat261",
        "proxy_port": 3128,
        "proxy_list": "31.193.191.6:3128:sub_1rqjp3jb4g9i6pkhdwmkpjob:stat261\n31.193.191.7:3128:sub_1rqjp3jb4g9i6pkhdwmkpjob:stat261"
      }
    }
  ]
}

Response Fields

order
array
Array of active order objects with proxy details.

Order Object Fields

FieldTypeDescription
_idstringMongoDB document ID
emailstringCustomer’s email address
customer_discord_idstringCustomer’s Discord ID
product_idstringProduct type identifier
product_namestringHuman-readable product name
quantityintegerNumber of proxies
order_statusstringStatus (always “active” for this endpoint)
unix_purchase_dateintegerPurchase timestamp
unix_expiration_dateintegerExpiration timestamp
datacenter_detailsobjectProxy credentials and list

Datacenter Details Object

FieldTypeDescription
proxy_usernamestringAuthentication username
proxy_passwordstringAuthentication password
proxy_portintegerProxy port number
proxy_liststringNewline-separated list of proxies

Error Responses

503 Service Unavailable

{
  "error": "user_order_not_found"
}

Proxy List Format

The proxy_list field contains proxies in the format:
ip:port:username:password
Each proxy is separated by a newline character (\n).

Example Parsing (JavaScript)

const proxies = response.order[0].datacenter_details.proxy_list.split('\n');
// ["31.193.191.6:3128:username:password", "31.193.191.7:3128:username:password"]

Difference from Order History

EndpointActive OnlyIncludes Proxy List
Get Order HistoryNo (all orders)No
Get Active OrdersYesYes

Use Case

This endpoint is ideal for:
  • Retrieving ready-to-use proxy lists for a customer
  • Automated proxy distribution systems
  • Building customer-facing proxy management tools