Initiate a new scan
curl --request POST \
--url https://rtswpscan.slayers.tech/scan \
--header 'API-Key: <api-key>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'url=<string>'import requests
url = "https://rtswpscan.slayers.tech/scan"
payload = { "url": "<string>" }
headers = {
"API-Key": "<api-key>",
"Content-Type": "application/x-www-form-urlencoded"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'API-Key': '<api-key>', 'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({url: '<string>'})
};
fetch('https://rtswpscan.slayers.tech/scan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"scan_id": "unique_report_id"
}{
"error": "Unauthorized"
}API Reference
Start scan (POST)
Initiate a scan using multipart form data.
POST
/
scan
Initiate a new scan
curl --request POST \
--url https://rtswpscan.slayers.tech/scan \
--header 'API-Key: <api-key>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'url=<string>'import requests
url = "https://rtswpscan.slayers.tech/scan"
payload = { "url": "<string>" }
headers = {
"API-Key": "<api-key>",
"Content-Type": "application/x-www-form-urlencoded"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'API-Key': '<api-key>', 'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({url: '<string>'})
};
fetch('https://rtswpscan.slayers.tech/scan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"scan_id": "unique_report_id"
}{
"error": "Unauthorized"
}Start scan (POST)
Initiates a scan. Requiresurl and accepts an optional mode.
Fields
url(required): target URL to scanmode(optional):normaloraggressive(defaults tonormalif omitted)
