Skip to content

Getting Started

middleBrick scans your APIs for security vulnerabilities and gives you an actionable score in seconds. No agents, no credentials, no code changes. Just a URL.

The fastest way to run your first scan:

  1. Sign up at app.middlebrick.com. Free, no credit card required.
  2. Paste a URL. Enter any public API endpoint (e.g., https://api.example.com/v1/users).
  3. Review your report. Results arrive in under a minute.

That’s it. You’ll get a 0–100 score, a letter grade, findings grouped by severity, and remediation guidance for every issue.

Prefer the terminal? Install the CLI and scan in one command:

Terminal window
npm install -g middlebrick
mb login
mb scan https://api.example.com/v1/users

See the CLI Reference for all commands and options.

Integrate scans into any system with a single HTTP request:

Terminal window
curl -X POST https://api.middlebrick.com/v1/scan \
-H "Authorization: Bearer mb_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"url": "https://api.example.com/v1/users"}'

See the API Reference for the complete endpoint documentation.

Every scan produces:

  • Overall score (0–100) and letter grade (A–F)
  • Per-category scores across 12 security checks
  • Prioritized findings sorted by severity (critical → info)
  • Remediation guidance for every finding, explaining what to fix and why
  • AI-powered analysis with false positive filtering
  1. Address critical and high severity findings first, as they carry the most risk and score impact
  2. Provide your OpenAPI spec for deeper analysis (detects mismatches between docs and runtime)
  3. Set the context parameter (financial, medical, public, internal) so checks are prioritized for your API type
  4. Rescan after every fix to verify and track improvement over time

See Understanding Your Score for a deeper guide on interpreting your results.

If your API has an OpenAPI or Swagger spec, provide the URL when scanning. middleBrick will cross-reference the spec with runtime findings for deeper analysis, detecting issues like:

  • Security schemes defined in the spec but not enforced at runtime
  • Mass assignment risks from writable sensitive fields
  • Deprecated endpoints still responding
  • Missing security requirements on individual operations

Supported formats: OpenAPI 3.0, OpenAPI 3.1, and Swagger 2.0.

The free plan includes:

  • 3 scans per month, enough to evaluate middleBrick on your APIs
  • Full 12-category analysis, same engine as paid plans, no checks disabled
  • Dashboard access to view results and track history
  • API access to automate scans programmatically

Need more scans, CI/CD integration, or continuous monitoring? See our pricing plans.

GoalPage
Understand the scan pipelineHow It Works
Learn what each check coversThe 12 Security Checks
Interpret your scoreUnderstanding Your Score
Automate scanningIntegrations Overview
AI/LLM endpoint securityLLM / AI Security