Developer documentation
Start runs from your own code and pipelines and read the results in the formats your tools expect. API access is included from the Pro plan; keys, examples and setup guides are in the developer hub once you are signed in.
Interactive API reference
OpenAPI 3.1 with a live request tester. Every endpoint, parameter and response.
API developer hub
Keys, usage, MCP setup, downloads and version history in one place. Sign in required; API access is included from the Pro plan.
API rate limits & plan quotas
Request quotas, concurrency, throughput and access across plans. Runs started through the API, MCP, the CLI or the GitHub Action use the same monthly allowance as runs started in the app.
Runs beyond the monthly allowance are refused by default. On Pro and Teams an owner or admin can turn on overage in Billing; on Enterprise it follows your agreement. Overage is billed at $0.01 per run unit.
Postman & Insomnia collections
Ready-to-import collections and the OpenAPI JSON specification.
Developer hub downloads →Usage analytics
Request volume, monthly allowance progress and error rates for your workspace.
View API usage →MCP server
Connect Claude, Cursor and other AI assistants to WebTestingSuite runs through the MCP protocol.
MCP setup guide →cURL example
POST /api/v1/scans# 1. start a run (the Idempotency-Key makes a retry safe)
curl -X POST https://webtestingsuite.com/api/v1/scans \
-H "X-API-Key: $WTS_API_KEY" -H "Content-Type: application/json" \
-H "Idempotency-Key: build-1234" -H "X-WTS-Client: cli" \
-d '{"url":"https://example.com","level":"quick"}'
# 2. wait until "status" is "complete" (send If-None-Match with the last ETag: unchanged answers 304)
curl -H "X-API-Key: $WTS_API_KEY" https://webtestingsuite.com/api/v1/scans/SCAN_ID
# 3. read the result with a pass/fail verdict
curl -H "X-API-Key: $WTS_API_KEY" "https://webtestingsuite.com/api/v1/scans/SCAN_ID/report?failUnder=80&failOn=critical&minCoverage=50"
# "coverage" in the result says how much of the site was scanned; a score only describes what was scanned
# 4. pages left by the plan's page limit ("coverage.canContinue": true)? Scan them (Pro and above; counts against the quota)
curl -X POST -H "X-API-Key: $WTS_API_KEY" https://webtestingsuite.com/api/v1/scans/SCAN_ID/continueMCP agent setup
Claude Desktop / Cursor / any MCP client{
"mcpServers": {
"wts": {
"url": "https://webtestingsuite.com/api/mcp",
"headers": {
"Authorization": "Bearer wts_YOUR_KEY"
}
}
}
}Questions
Where is the interactive API reference?
The OpenAPI 3.1 reference, with a live request tester, is at /docs/api.
What are the request limits per plan?
Per API key per minute / per workspace per day: Pro 120 / 5,000, Teams 300 / 20,000, Enterprise 1,000 / Unlimited. The API is not part of the Free plan.
Do API runs use my monthly allowance?
Yes. A run started through the API, MCP, the CLI or the GitHub Action uses the same monthly allowance as a run started in the app.
How do I connect an AI assistant?
Create an API key in the Workspace, then add the MCP endpoint /api/mcp with the key as a Bearer token to Claude Desktop, Cursor or any MCP client.