Stoplight Spectral

Spectral is an open-source JSON and YAML linter for creating automated API style guides and governance rulesets. Provides built-in support for OpenAPI v3.1, v3.0, and v2.0, Arazzo v1.0, and AsyncAPI v2.x. Enables teams to validate API descriptions against custom rulesets, enforce consistent design standards, and integrate API governance into CI/CD pipelines. Supports custom functions and third-party ruleset packages via npm. SmartBear has integrated Spectral into SwaggerHub for API design and governance. The spectral repository has approximately 3,115 stars.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spectral"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

API entry from apis.yml

apis.yml Raw ↑
aid: stoplight:spectral
name: Stoplight Spectral
description: Spectral is an open-source JSON and YAML linter for creating automated API style guides and
  governance rulesets. Provides built-in support for OpenAPI v3.1, v3.0, and v2.0, Arazzo v1.0, and AsyncAPI
  v2.x. Enables teams to validate API descriptions against custom rulesets, enforce consistent design
  standards, and integrate API governance into CI/CD pipelines. Supports custom functions and third-party
  ruleset packages via npm. SmartBear has integrated Spectral into SwaggerHub for API design and governance.
  The spectral repository has approximately 3,115 stars.
humanURL: https://stoplight.io/open-source/spectral
tags:
- API Governance
- AsyncAPI
- CI/CD
- Linting
- Open-Source
- OpenAPI
- Style Guides
tags_raw:
- API Governance
- AsyncAPI
- CI/CD
- Linting
- Open Source
- OpenAPI
- Style Guides
properties:
- type: Documentation
  url: https://docs.stoplight.io/docs/spectral/674b27b261c3c-overview
- type: GitHubRepository
  url: https://github.com/stoplightio/spectral
- type: NPM
  url: https://www.npmjs.com/package/@stoplight/spectral-cli
- type: Docker
  url: https://hub.docker.com/r/stoplight/spectral
- type: GitHubAction
  url: https://github.com/stoplightio/spectral-action
- type: VSCodeExtension
  url: https://github.com/stoplightio/vscode-spectral
- type: Rulesets
  url: https://github.com/stoplightio/spectral-rulesets
- type: OWASPRuleset
  url: https://github.com/stoplightio/spectral-owasp-ruleset
- type: DocumentationRuleset
  url: https://github.com/stoplightio/spectral-documentation