SMMProxy

Proxy API dokümanı, sipariş ve bağlantı bilgileri otomasyonu

SMMProxy geliştirici API'si bakiye sorgulama, fiyat sorgulama, proxy siparişi ve bağlantı bilgileri listesini HTTPS REST olarak sunar. Paneldeki API anahtarı menüsünden bir anahtar oluşturun ve Authorization başlığına Bearer anahtarını ekleyin.

Başlayın

  1. Hesap oluşturun ve ilk yüklemenizi yapın. API anahtarı yükleme yapılmış hesaplarda oluşturulabilir.
  2. Panelin API anahtarı menüsünden yeni bir anahtar oluşturun. Anahtar yalnızca oluşturulduğunda gösterilir, bu yüzden hemen kaydedin.
  3. Tüm isteklere Authorization: Bearer anahtarını ekleyin. Yanıtlar JSON formatındadır ve her zaman bir ok alanı bulunur.

Temel adres: https://smmproxy.io/api/v1

curl -H "Authorization: Bearer smpk_YOUR_KEY" https://smmproxy.io/api/v1/balance

GET/api/v1/balance

Bakiye sorgulama

Yanıt Örneği
{ "ok": true, "balance": "48.20", "currency": "USD" }

GET/api/v1/products

Ürün, ülke ve fiyat sorgulama

Yanıt Örneği
{ "ok": true, "periods": ["1w","2w","1m","2m","3m","6m","9m","12m"],
  "products": [{ "product": "isp", "unit": "ip", "countries": [{ "country": "us", "monthly": "1.29" }] }] }

POST/api/v1/orders

Proxy siparişi (bakiyeden ödeme)

İstek Gövdesi
{ "product": "isp", "country": "us", "quantity": 5, "period": "1m" }
Yanıt Örneği
{ "ok": true, "order": { "id": "OR-7K2M-Q8XD4P", "product": "isp", "country": "us",
  "quantity": 5, "period": "1m", "total": "6.45", "expires_at": "2026-11-21T09:00:00.000Z" } }

GET/api/v1/orders

Sipariş listesi (son 100 işlem)

Yanıt Örneği
{ "ok": true, "orders": [{ "id": "OR-7K2M-Q8XD4P", "status": "active", "total": "6.45" }] }

GET/api/v1/proxies?order=OR-7K2M-Q8XD4P

Bağlantı bilgileri listesi

Yanıt Örneği
{ "ok": true, "proxies": [{ "host": "198.51.100.24", "http_port": 10842, "socks5_port": 20842,
  "username": "u7kq2m", "password": "Xc81pLq0Zr", "country": "us", "expires_at": "..." }] }

Sipariş tutarı

İsimFormatAçıklama
productstringisp, mobile, ipv4, residential
countrystring2 harfli küçük ülke kodu (us, gb, de ...)
quantityintegerIP/port sayısı, konut için GB
periodstring1h 2h 1a 2a 3a 6a 9a 12a (konut için eklenmez)
protocolstringhttp veya socks5, varsayılan http (her iki port da verilir)

Hata

HTTPerrorAnlam
401unauthorizedAnahtar yok veya uyumsuz. Para çekilmez.
400invalid_requestÜrün, ülke, miktar ve süre değerlerini tekrar kontrol edin. Para çekilmez.
402insufficient_balanceBakiye ödeme tutarından az. Yükleme yaptıktan sonra tekrar gönderin. Para çekilmez.
503network_errorSipariş iletiminde ağ hatası. Para çekilmez ve kısa süre sonra tekrar gönderilebilir.
429rate_limitedDakikada 300 kez gönderebilirsiniz.

Python örneği

import requests

API = "https://smmproxy.io/api/v1"
H = {"Authorization": "Bearer smpk_YOUR_KEY"}

order = requests.post(f"{API}/orders", headers=H, json={
    "product": "isp", "country": "us", "quantity": 5, "period": "1m"}).json()
if order["ok"]:
    proxies = requests.get(f"{API}/proxies", headers=H, params={"order": order["order"]["id"]}).json()
    for p in proxies["proxies"]:
        print(f'{p["host"]}:{p["http_port"]}:{p["username"]}:{p["password"]}')

Node.js örneği

const API = "https://smmproxy.io/api/v1";
const H = { Authorization: "Bearer smpk_YOUR_KEY", "Content-Type": "application/json" };

const r = await fetch(API + "/orders", { method: "POST", headers: H,
  body: JSON.stringify({ product: "mobile", country: "gb", quantity: 1, period: "1m" }) });
const j = await r.json();
console.log(j.ok ? j.order.id : j.error);
Proxy API dokümanı, bakiye·fiyat·sipariş·proxy listesi | SMMProxy