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": [
{}
]
}Account API
Get Active Orders
Retrieve all active orders with proxy details for a specific customer.
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.
Each proxy is separated by a newline character (
Request
Headers
| Header | Value | Required |
|---|---|---|
Authorization | Bearer {your_api_key} | Yes |
Path Parameters
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
array
Array of active order objects with proxy details.
Order Object Fields
| Field | Type | Description |
|---|---|---|
_id | string | MongoDB document ID |
email | string | Customer’s email address |
customer_discord_id | string | Customer’s Discord ID |
product_id | string | Product type identifier |
product_name | string | Human-readable product name |
quantity | integer | Number of proxies |
order_status | string | Status (always “active” for this endpoint) |
unix_purchase_date | integer | Purchase timestamp |
unix_expiration_date | integer | Expiration timestamp |
datacenter_details | object | Proxy credentials and list |
Datacenter Details Object
| Field | Type | Description |
|---|---|---|
proxy_username | string | Authentication username |
proxy_password | string | Authentication password |
proxy_port | integer | Proxy port number |
proxy_list | string | Newline-separated list of proxies |
Error Responses
503 Service Unavailable
{
"error": "user_order_not_found"
}
Proxy List Format
Theproxy_list field contains proxies in the format:
ip:port:username:password
\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
| Endpoint | Active Only | Includes Proxy List |
|---|---|---|
| Get Order History | No (all orders) | No |
| Get Active Orders | Yes | Yes |
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
