Flashbots · API Governance Rules

Flashbots — relay specs rules

Spectral linting rules defining API design standards and conventions for Flashbots.

2 Rules error 2
Published by Flashbots Served by the provider at https://github.com/flashbots/relay-specs/blob/a4e0a50d9d46bfe881fd74cc7e0db366371f4eed/.spectral.yml; the copy below was fetched from there.
View Rules File View on GitHub

Rule Categories

parameters paths

Rules

error
paths-snake-case
All YAML paths MUST follow snake-case
$.paths[*]~
error
parameters-snake-case-alphanumeric
Path parameters MUST follow snake case
$..parameters[?(@.in == 'path' || @.in == 'query')].name

Spectral Ruleset

Raw ↑
# harvested from https://github.com/flashbots/relay-specs/blob/a4e0a50d9d46bfe881fd74cc7e0db366371f4eed/.spectral.yml on 2026-10-09 — a Spectral ruleset published in the provider's own GitHub repository (flashbots/relay-specs); found by GitHub code search, fetched verbatim
x-method: harvested
x-stamped: 2026-10-09
x-source-url: https://github.com/flashbots/relay-specs/blob/a4e0a50d9d46bfe881fd74cc7e0db366371f4eed/.spectral.yml
extends: [["spectral:oas", "all"]]
formats: ["oas3"]
rules:
  operation-singular-tag: off
  oas3-parameter-description: off
  contact-properties: off
  operation-tags: error
  openapi-tags-alphabetical: error
  operation-tag-defined: error
  paths-snake-case:
    description: All YAML paths MUST follow snake-case
    severity: error
    recommended: true
    message: "path is not snake-case: {{error}}"
    given: $.paths[*]~
    then:
      function: pattern
      functionOptions:
        match: "^\/([a-z0-9]+(_[a-z0-9]+)*)?(\/[a-z0-9]+(_[a-z0-9]+)*|\/{.+})*$"
  parameters-snake-case-alphanumeric:
    description: Path parameters MUST follow snake case
    severity: error
    recommended: true
    message: "{{property}} parameter is not snake case: {{error}}"
    given: $..parameters[?(@.in == 'path' || @.in == 'query')].name
    then:
      function: pattern
      functionOptions:
        match: "^[a-z][_a-z0-9]+$"

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.
All 92 tools →

Call it yourself

curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/flashbots-relay-specs-spectral-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.