Shopper Approved · API Governance Rules
Shopper Approved API Rules
Spectral linting rules defining API design standards and conventions for Shopper Approved.
7 Rules
error 3
warn 4
Rule Categories
shopper
Rules
warn
shopper-approved-site-id-path
Shopper Approved API uses site_id as a path parameter in all endpoints
$.paths[*]~
warn
shopper-approved-token-query-param
Shopper Approved API requires token as a query parameter
$.paths[*][get,post,put].parameters[?(@.in == 'query' && @.name == 'token')]
error
shopper-approved-operation-ids
All Shopper Approved API operations must have operationIds
$.paths[*][get,post,put,delete,patch]
warn
shopper-approved-tag-required
All operations must be tagged for grouping
$.paths[*][get,post,put,delete,patch]
error
shopper-approved-response-200
GET operations must define a 200 response
$.paths[*].get
warn
shopper-approved-rating-schema
Review rating should be constrained to 1-5 range
$.components.schemas.Review.properties.rating
error
shopper-approved-https-server
Shopper Approved API should use HTTPS
$.servers[*].url
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/shopper-approved-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.