Wager API · API Governance Rules
Wager API API Rules
Spectral linting rules defining API design standards and conventions for Wager API.
8 Rules
error 4
warn 4
Rule Categories
wager
Rules
error
wager-api-key-header
Wager API requires X-API-Key header authentication
$.components.securitySchemes
error
wager-api-versioned-paths
All Wager API paths must be versioned with /v1/ prefix
$.paths
warn
wager-api-sport-parameter
Odds and data endpoints should document the sport parameter
$.paths[/v1/odds,/v1/props,/v1/futures,/v1/injuries,/v1/depth-charts][get].parameters
error
wager-api-operation-ids
All Wager API operations must have operationId
$.paths[*][get,post,put,patch,delete]
warn
wager-api-summaries-title-case
All Wager API operation summaries should use Title Case
$.paths[*][get,post,put,patch,delete]
warn
wager-api-response-envelope
Wager API list endpoints should use data envelope in responses
$.paths[*][get].responses[200].content.application/json.schema.properties
error
wager-api-https-only
Wager API servers must use HTTPS
$.servers[*].url
warn
wager-api-path-params-kebab
Path segments should use kebab-case
$.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/wager-api-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.