Skip to main content
POST
/
api
/
v2
/
order
/
newscale
Create Order
curl --request POST \
  --url https://dashboard.statproxies.com/api/v2/order/newscale \
  --header 'Content-Type: application/json' \
  --data '
{
  "quantity": 123,
  "product_type": "<string>",
  "customer": "<string>"
}
'
import requests

url = "https://dashboard.statproxies.com/api/v2/order/newscale"

payload = {
"quantity": 123,
"product_type": "<string>",
"customer": "<string>"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({quantity: 123, product_type: '<string>', customer: '<string>'})
};

fetch('https://dashboard.statproxies.com/api/v2/order/newscale', 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/order/newscale",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'quantity' => 123,
'product_type' => '<string>',
'customer' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);

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

curl_close($curl);

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

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

func main() {

url := "https://dashboard.statproxies.com/api/v2/order/newscale"

payload := strings.NewReader("{\n \"quantity\": 123,\n \"product_type\": \"<string>\",\n \"customer\": \"<string>\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Content-Type", "application/json")

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

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

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://dashboard.statproxies.com/api/v2/order/newscale")
.header("Content-Type", "application/json")
.body("{\n \"quantity\": 123,\n \"product_type\": \"<string>\",\n \"customer\": \"<string>\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://dashboard.statproxies.com/api/v2/order/newscale")

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

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"quantity\": 123,\n \"product_type\": \"<string>\",\n \"customer\": \"<string>\"\n}"

response = http.request(request)
puts response.read_body
{
  "response": "<string>",
  "order_id": "<string>",
  "subscription_id": "<string>"
}
Create a new proxy order. Orders are automatically billed through Stripe integration.

Request

Headers

HeaderValueRequired
AuthorizationBearer {your_api_key}Yes
Content-Typeapplication/jsonYes

Body Parameters

quantity
integer
required
Number of proxies to order. Must be greater than 0.
product_type
string
required
Type of proxy product to order. The following datacenter pool values are available:
product_typeProduct
sprintSprint Proxies
captchaCaptcha Proxies
eventsStat Private Event ISP’s / X1 Fiber ISP
lumenLumen Proxies / Level 3 Fiber ISP
customer
string
Optional customer identifier for tracking. Must be lowercase letters only (a-z), max 50 characters.

Example Request

curl -X POST "https://dashboard.statproxies.com/api/v2/order/newscale" \
  -H "Authorization: Bearer {your_api_key}" \
  -H "Content-Type: application/json" \
  -d '{
    "quantity": 10,
    "product_type": "captcha",
    "customer": "clientabc"
  }'

Response

Success Response

response
string
Status of the request. Returns "success" on successful order creation.
order_id
string
Unique identifier for the order. Use this to fetch proxy details.
subscription_id
string
Stripe subscription ID for billing management.
{
  "response": "success",
  "order_id": "sub_1rqjp3jb4g9i6pkhdwmkpjob",
  "subscription_id": "sub_1RqJP3JB4G9i6PKHDwmKPJOb"
}

Error Responses

400 Bad Request - Missing Fields

{
  "response": "Missing required fields"
}

400 Bad Request - Invalid Product Type

{
  "response": "Invalid product_type"
}

400 Bad Request - Invalid Quantity

{
  "response": "Quantity must be greater than 0"
}

400 Bad Request - Invalid Customer ID

{
  "response": "Customer ID must contain only lowercase letters (a-z)"
}

401 Unauthorized

{
  "error": "invalid_api_key"
}

Notes

  • Orders are automatically billed through your connected Stripe account
  • Proxy credentials become active immediately after successful order creation
  • The order_id is a lowercase version of the subscription ID and is used as the proxy username
  • If using an organization API key, the order is billed to the organization’s Stripe customer

List Orders

View all your active orders.

Get Order

Fetch proxy details for an order.