REST Lens

Validate your APIs
before they break.

The only API linter that semantically understands your OpenAPI specifications. Built on academic research with 35+ rules, including 25+ citing peer-reviewed REST principles. Catch design issues regex can't see.

API quality, automated

Integrate REST Lens into your workflow and catch design issues early.

Semantic Understanding

Understands context, not just syntax. Knows 'status' is a valid endpoint, catches GET/POST tunneling. Goes beyond pattern matching.

Research-Backed Rules

35+ rules, including 25+ citing peer-reviewed studies (Bogner et al., Richardson & Ruby, Massé). Built on academic REST principles.

CI/CD Integration

Per-project API tokens for GitHub Actions, GitLab CI, Jenkins, or any pipeline. Enforce standards before merge.

Import Spectral Rulesets

Migrate from Spectral in minutes. Import existing YAML rulesets directly and benefit from semantic analysis.

Custom Rules in YAML

Create organization-specific rules with simple YAML syntax. No coding required. Enforce your standards across all projects.

Model Context Protocol

Integrate REST Lens via MCP into any compatible AI assistant. Evaluate APIs directly from your coding workflow.

GitHub App

API reviews on every PR.

Install the REST Lens GitHub App and get automatic API design reviews. No OpenAPI spec needed — reads your code, infers the API surface, and runs the same 35+ rules.

  • Works with Express, FastAPI, Spring, Rails, and more
  • Inline comments and check runs on your PR
  • Uses your org's rules and custom rules
Open Source

No OpenAPI spec? No problem.

REST Lens Capture is a reverse proxy sidecar that watches your live API traffic and infers an OpenAPI 3.1 spec automatically. Run it locally or as a Kubernetes sidecar.

Privacy-first: only types and shapes are stored, never raw values.

Why REST Lens?

See how we compare to other API validation tools

FeatureREST LensSpectralPostmanStoplight
Semantic analysis
Research-backed REST rulesLimitedBasic
Import Spectral rulesetsN/A
Custom rules (YAML)Limited
Organization-level governanceEnterpriseEnterprise
Pricing model€0.01/1K checksFree / Self-host$49-99/mo$79-249/mo

All tools have their strengths. REST Lens focuses on deep REST API quality with intelligent semantic analysis.

How it works

Get started in minutes, not hours.

1

Upload your spec

Upload your OpenAPI 3.x specification file or paste it directly.

2

Review results

See violations organized by severity with actionable recommendations.

3

Ship with confidence

Fix issues and integrate checks into your CI/CD pipeline.

Ready to improve your APIs?

Join teams using REST Lens to enforce API design standards.