Hyperbrowser · API Governance Rules

Hyperbrowser API Rules

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

5 Rules warn 3 info 2
View Rules File View on GitHub

Rule Categories

hyperbrowser

Rules

warn
hyperbrowser-operation-summary-title-case
Operation summaries must be Title Case.
$.paths.*.*.summary
warn
hyperbrowser-path-prefix
Hyperbrowser paths begin with /api or /x402.
$.paths.*~
warn
hyperbrowser-api-key-scheme
Hyperbrowser uses the x-api-key header for authentication.
$.components.securitySchemes.*
info
hyperbrowser-job-status-resources
Long-running jobs SHOULD expose a /status path alongside the result path.
$.paths[?(@property =~ /\/(scrape|crawl|extract|task\/.+)\/\{id\}$/)]~
info
hyperbrowser-camelcase-properties
Schema property names should be camelCase per Hyperbrowser convention.
$.components.schemas.*.properties.*~

Spectral Ruleset

Raw ↑
extends:
- - spectral:oas
  - recommended
rules:
  hyperbrowser-operation-summary-title-case:
    description: Operation summaries must be Title Case.
    given: $.paths.*.*.summary
    severity: warn
    then:
      function: pattern
      functionOptions:
        match: ^([A-Z][a-zA-Z0-9]*)(\s+(?:[A-Za-z0-9]+))*$
  hyperbrowser-path-prefix:
    description: Hyperbrowser paths begin with /api or /x402.
    given: $.paths.*~
    severity: warn
    then:
      function: pattern
      functionOptions:
        match: ^/(api|x402)/
  hyperbrowser-api-key-scheme:
    description: Hyperbrowser uses the x-api-key header for authentication.
    given: $.components.securitySchemes.*
    severity: warn
    then:
    - field: type
      function: enumeration
      functionOptions:
        values:
        - apiKey
    - field: name
      function: enumeration
      functionOptions:
        values:
        - x-api-key
    - field: in
      function: enumeration
      functionOptions:
        values:
        - header
  hyperbrowser-job-status-resources:
    description: Long-running jobs SHOULD expose a /status path alongside the result path.
    message: '{{path}} looks like a job resource — consider exposing a sibling /status endpoint.'
    given: $.paths[?(@property =~ /\/(scrape|crawl|extract|task\/.+)\/\{id\}$/)]~
    severity: info
    then:
      function: truthy
  hyperbrowser-camelcase-properties:
    description: Schema property names should be camelCase per Hyperbrowser convention.
    given: $.components.schemas.*.properties.*~
    severity: info
    then:
      function: pattern
      functionOptions:
        match: ^[a-z][A-Za-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/hyperbrowser-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.