Scrapfly · API Governance Rules
Scrapfly API Rules
Spectral linting rules defining API design standards and conventions for Scrapfly.
9 Rules
error 3
warn 5
info 1
Rule Categories
scrapfly
Rules
error
scrapfly-api-key-query-param
All operations must include the API key query parameter
$.paths[*][get,post].parameters
error
scrapfly-url-param-required
Scrape endpoints must include the 'url' parameter
$.paths['/scrape'][get,post].parameters
error
scrapfly-operation-ids
All operations must have operationId
$.paths[*][*]
warn
scrapfly-tags-required
All operations must have at least one tag
$.paths[*][*]
info
scrapfly-response-credit-headers
Scrape responses should document credit consumption headers
$.paths['/scrape'].get.responses['200']
warn
scrapfly-boolean-default-values
Boolean parameters should have explicit default values
$.paths[*][*].parameters[?(@.schema.type === 'boolean')]
warn
scrapfly-error-responses
Operations should document error responses
$.paths[*][*].responses
warn
scrapfly-parameter-descriptions
Parameters should have descriptions
$.paths[*][*].parameters[*]
warn
scrapfly-camel-case-operation-ids
Operation IDs should use camelCase
$.paths[*][*].operationId
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/scrapfly-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.