Shovels · API Governance Rules
Shovels API Rules
Spectral linting rules defining API design standards and conventions for Shovels.
10 Rules
error 5
warn 5
Rule Categories
shovels
Rules
error
shovels-operation-tags
All operations must have at least one tag
$.paths[*][*]
error
shovels-operation-summary
All operations must have a summary in Title Case
$.paths[*][*]
error
shovels-api-key-auth
API must use X-API-Key header authentication
$.components.securitySchemes[*]
warn
shovels-geo-id-parameter
Geographic search endpoints must include geo_id parameter
$.paths[*].get.parameters[?(@.name == 'geo_id')]
warn
shovels-cursor-pagination
List endpoints should support cursor-based pagination
$.paths[*].get.parameters[?(@.name == 'cursor')]
warn
shovels-date-format
Date parameters must use YYYY-MM-DD format
$.paths[*].get.parameters[?(@.schema.format == 'date')]
error
shovels-response-200
All GET operations must have a 200 response
$.paths[*].get.responses
warn
shovels-response-422
Operations with required parameters should document 422 validation errors
$.paths[*].get.responses
error
shovels-items-schema
List response schemas should have items array property
$.components.schemas[*Response]
warn
shovels-geo-id-field
Geographic schemas should include geo_id field
$.components.schemas[*]
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/shovels-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.