Unsplash · API Governance Rules
Unsplash API Rules
Spectral linting rules defining API design standards and conventions for Unsplash.
8 Rules
error 2
warn 4
info 2
Rule Categories
unsplash
Rules
warn
unsplash-title-case-summary
Operation summaries must use Title Case
$.paths[*][*].summary
error
unsplash-operation-id
All operations must have an operationId
$.paths[*][*]
warn
unsplash-download-tracking
Photo objects must include download_location link for tracking compliance
$.components.schemas.Photo.properties.links.properties
info
unsplash-accept-version
Operations should document Accept-Version header usage
$.paths[*][get]
warn
unsplash-pagination-params
List endpoints should include pagination parameters
$.paths[/photos,/collections,/topics,/search/photos,/search/collections,/search/users][get].parameters[*].name
error
unsplash-write-auth
Write operations (PUT, POST, DELETE) must require OAuth authentication
$.paths[*][put,post,delete]
warn
unsplash-not-found
Resource endpoints should define 404 responses
$.paths[*/{id}*][get]
info
unsplash-content-filter
Photo-returning endpoints should support content_filter parameter
$.paths[/photos/random,/search/photos,/topics/{id_or_slug}/photos][get]
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/unsplash-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.