StoneX · API Governance Rules
StoneX API Rules
Spectral linting rules defining API design standards and conventions for StoneX.
7 Rules
error 3
warn 3
info 1
Rule Categories
stonex
Rules
error
stonex-bearer-auth-required
All StoneX API operations must use Bearer JWT authentication.
$.components.securitySchemes
error
stonex-response-200-or-201-required
All StoneX operations must define a 2xx success response.
$.paths[*][*]
warn
stonex-operationid-camel-case
OperationIds must use camelCase.
$.paths[*][*].operationId
warn
stonex-tags-title-case
All operation tags must use Title Case.
$.paths[*][*].tags[*]
error
stonex-server-https
All StoneX API servers must use HTTPS with TLS 1.3.
$.servers[*].url
info
stonex-iso-currency-description
Currency parameters must reference ISO 4217 in their description to ensure standardized currency code usage.
$.paths[*][*].parameters[?(@.name =~ /currency/i)]
warn
stonex-path-parameters-kebab-case
Path segments (not parameters) 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/stonex-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.