W3C · API Governance Rules
W3C API Rules
Spectral linting rules defining API design standards and conventions for W3C.
7 Rules
warn 3
info 4
Rule Categories
w3c
Rules
info
w3c-api-info-contact
W3C API definitions should include contact information.
$.info
warn
w3c-api-operation-summary-title-case
Operation summaries should use Title Case.
$.paths[*][*].summary
info
w3c-api-has-description
All operations should have a description for documentation quality.
$.paths[*][*]
warn
w3c-api-response-defined
Every operation should define at least one response.
$.paths[*][*].responses
warn
w3c-api-200-response
GET operations should have a 200 response defined.
$.paths[*].get.responses
info
w3c-api-path-versioned
W3C API paths should be versioned.
$.servers[*].url
info
w3c-api-tags-defined
Operations should be tagged for logical grouping.
$.paths[*][*]
Spectral Ruleset
Work with this as data
Every ruleset 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 spectral rules
4 MCP tools reach this
find_rulesBrowse and filter every ruleset in the catalog.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.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/w3c-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.