Proxy API documentation: automate orders and connection info
SMMProxy's developer API lets you check credit, view prices, order proxies, and get connection info via HTTPS REST. Create an API key in the dashboard and send it as a Bearer token in the Authorization header.
Get started
- Create an account and complete your first top-up. API keys require at least one successful payment.
- Generate API keys in your dashboard's API Key section. Keys are shown only once, save them immediately. Open the API key screen
- Include the API key in the Authorization header for all requests. Responses are JSON with an 'ok' field.
- Base URL
- https://smmproxy.io/api/v1
- Format
- JSON, UTF-8
- Time
- ISO 8601, UTC
Authentication
Keys start with smpk_. The server only stores the key's fingerprint and cannot display it again. If your key is compromised, create a new one on the API key page, and the previous key will stop immediately.
GET /api/v1/balance HTTP/1.1
Host: smmproxy.io
Authorization: Bearer smpk_YOUR_KEYRate limits
- Each key can send 300 requests per minute. Above that you get 429 rate_limited.
- Orders are paid directly from your credit. Sending the same request again creates a new order, so if you didn't receive a response, check the order list first.
- The connection info list returns up to 5,000 lines at a time.
Get credit
/api/v1/balanceReturns your account's credit in USD. Use this to check if you have enough credit before placing an order.
Response fields
| Field | Format | Description |
|---|---|---|
| balance | string | Credit, up to two decimal places |
| currency | string | Always in USD |
Possible errors: unauthorized, rate_limited
Request example
curl "https://smmproxy.io/api/v1/balance" \
-H "Authorization: Bearer smpk_YOUR_KEY"import requests
API = "https://smmproxy.io/api/v1"
H = {"Authorization": "Bearer smpk_YOUR_KEY"}
r = requests.get(API + "/balance", headers=H, timeout=30)
print(r.json())const API = "https://smmproxy.io/api/v1";
const r = await fetch(API + "/balance", {
method: "GET",
headers: { Authorization: "Bearer smpk_YOUR_KEY" },
});
console.log(await r.json());<?php
$ch = curl_init("https://smmproxy.io/api/v1/balance");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer smpk_YOUR_KEY"],
]);
echo curl_exec($ch);Response example
{
"ok": true,
"balance": "248.60",
"currency": "USD"
}List products, countries and prices
/api/v1/productsReturns products for sale, countries where each product is available, the price per unit per month, and usage period codes. Prices match the calculation at the time of order.
Response fields
| Field | Format | Description |
|---|---|---|
| periods | string[] | Duration codes: 1w 2w 1m 2m 3m 6m 9m 12m |
| products[].product | string | isp, mobile, unlimited |
| products[].unit | string | ip, port, gateway |
| products[].countries[] | object[] | Country codes and 1-month unit prices |
Possible errors: unauthorized, rate_limited
Request example
curl "https://smmproxy.io/api/v1/products" \
-H "Authorization: Bearer smpk_YOUR_KEY"import requests
API = "https://smmproxy.io/api/v1"
H = {"Authorization": "Bearer smpk_YOUR_KEY"}
r = requests.get(API + "/products", headers=H, timeout=30)
print(r.json())const API = "https://smmproxy.io/api/v1";
const r = await fetch(API + "/products", {
method: "GET",
headers: { Authorization: "Bearer smpk_YOUR_KEY" },
});
console.log(await r.json());<?php
$ch = curl_init("https://smmproxy.io/api/v1/products");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer smpk_YOUR_KEY"],
]);
echo curl_exec($ch);Response example
{
"ok": true,
"periods": ["1w", "2w", "1m", "2m", "3m", "6m", "9m", "12m"],
"products": [
{ "product": "isp", "unit": "ip", "traffic": "unlimited",
"countries": [{ "country": "us", "monthly": "1.80" }] },
{ "product": "unlimited", "unit": "gateway", "traffic": "unlimited",
"quantity": [{ "quantity": 1, "speed_mbps": 50, "monthly": "299.00" }] }
]
}Create an order
/api/v1/ordersPay directly from your credit and issue the proxy. Use the order number in the response to retrieve the connection info list. If credit is insufficient, the order isn't placed and no funds are deducted.
Request body (JSON)
| Name | Format | Description |
|---|---|---|
| productrequired | string | isp, mobile, unlimited |
| countryrequired | string | 2-letter country code (us, gb, de...). 'mix' for unlimited residential |
| quantityrequired | integer | IP/Port count. Unlimited residential proxies have speed tiers (1 = 50 Mbps, 2 = 100 Mbps) |
| periodrequired | string | 1w 2w 1m 2m 3m 6m 9m 12m |
Response fields
| Field | Format | Description |
|---|---|---|
| order.id | string | Order number OR-XXXX-XXXXXX |
| order.total | string | Paid amount (USD) |
| order.expires_at | string | Expiry time (ISO 8601, UTC) |
Possible errors: unauthorized, invalid_request, insufficient_balance, network_error, rate_limited
Request example
curl -X POST "https://smmproxy.io/api/v1/orders" \
-H "Authorization: Bearer smpk_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"product":"isp","country":"us","quantity":25,"period":"1m"}'import requests
API = "https://smmproxy.io/api/v1"
H = {"Authorization": "Bearer smpk_YOUR_KEY"}
r = requests.post(API + "/orders", headers=H, json={"product": "isp", "country": "us", "quantity": 25, "period": "1m"}, timeout=30)
print(r.json())const API = "https://smmproxy.io/api/v1";
const r = await fetch(API + "/orders", {
method: "POST",
headers: { Authorization: "Bearer smpk_YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({"product":"isp","country":"us","quantity":25,"period":"1m"}),
});
console.log(await r.json());<?php
$ch = curl_init("https://smmproxy.io/api/v1/orders");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer smpk_YOUR_KEY", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => '{"product":"isp","country":"us","quantity":25,"period":"1m"}',
]);
echo curl_exec($ch);Response example
{
"ok": true,
"order": {
"id": "OR-7K2M-Q8XD4P", "product": "isp", "country": "us",
"quantity": 25, "period": "1m", "total": "43.75",
"expires_at": "2026-11-29T09:00:00.000Z"
}
}List orders
/api/v1/ordersReturns the 100 most recent orders, starting with the newest. Separates active and completed orders.
Response fields
| Field | Format | Description |
|---|---|---|
| orders[].id | string | Order number |
| orders[].status | string | active, expired |
| orders[].total | string | Paid amount (USD) |
| orders[].expires_at | string | Expiry time |
Possible errors: unauthorized, rate_limited
Request example
curl "https://smmproxy.io/api/v1/orders" \
-H "Authorization: Bearer smpk_YOUR_KEY"import requests
API = "https://smmproxy.io/api/v1"
H = {"Authorization": "Bearer smpk_YOUR_KEY"}
r = requests.get(API + "/orders", headers=H, timeout=30)
print(r.json())const API = "https://smmproxy.io/api/v1";
const r = await fetch(API + "/orders", {
method: "GET",
headers: { Authorization: "Bearer smpk_YOUR_KEY" },
});
console.log(await r.json());<?php
$ch = curl_init("https://smmproxy.io/api/v1/orders");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer smpk_YOUR_KEY"],
]);
echo curl_exec($ch);Response example
{
"ok": true,
"orders": [
{ "id": "OR-7K2M-Q8XD4P", "product": "isp", "country": "us", "quantity": 25,
"period": "1m", "total": "43.75", "status": "active",
"created_at": "2026-10-30T09:00:00.000Z", "expires_at": "2026-11-29T09:00:00.000Z" }
]
}List proxies
/api/v1/proxiesIf you include an order number, it returns the connection info for that order; otherwise, it returns all connection info for the account. Both HTTP(S) and SOCKS5 ports are included.
Query parameters
| Name | Format | Description |
|---|---|---|
| order | string | Order number (optional) |
Response fields
| Field | Format | Description |
|---|---|---|
| proxies[].host | string | Connection address |
| proxies[].http_port | integer | HTTP(S) Port |
| proxies[].socks5_port | integer | SOCKS5 Port |
| proxies[].username | string | ID |
| proxies[].password | string | Password |
Possible errors: unauthorized, invalid_request, rate_limited
Request example
curl "https://smmproxy.io/api/v1/proxies?order=OR-7K2M-Q8XD4P" \
-H "Authorization: Bearer smpk_YOUR_KEY"import requests
API = "https://smmproxy.io/api/v1"
H = {"Authorization": "Bearer smpk_YOUR_KEY"}
r = requests.get(API + "/proxies", params={"order": "OR-7K2M-Q8XD4P"}, headers=H, timeout=30)
print(r.json())const API = "https://smmproxy.io/api/v1";
const r = await fetch(API + "/proxies?order=OR-7K2M-Q8XD4P", {
method: "GET",
headers: { Authorization: "Bearer smpk_YOUR_KEY" },
});
console.log(await r.json());<?php
$ch = curl_init("https://smmproxy.io/api/v1/proxies?order=OR-7K2M-Q8XD4P");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer smpk_YOUR_KEY"],
]);
echo curl_exec($ch);Response example
{
"ok": true,
"proxies": [
{ "host": "198.51.100.24", "http_port": 10842, "socks5_port": 20842,
"username": "u7kq2m", "password": "Xc81pLq0Zr", "country": "us",
"expires_at": "2026-11-29T09:00:00.000Z" }
]
}Error
Error responses always include ok: false and an error code. Orders with errors are not charged.
{
"ok": false,
"error": "insufficient_balance"
}| HTTP | error | Meaning and what to do |
|---|---|---|
| 400 | invalid_request | Verify product, country, quantity, duration, or order number. No funds are deducted. |
| 401 | unauthorized | No key or incorrect key. Keys can be created in accounts where the first top-up is reflected. |
| 402 | insufficient_balance | Insufficient credit for payment. Top up and try again. No funds will be deducted. |
| 404 | not_found | The address is incorrect. Please check the path and GET/POST. |
| 429 | rate_limited | You can send up to 300 requests per minute. Wait a moment and try again. |
| 503 | network_error | Network error during order submission. No funds deducted, you can retry shortly. |