Back to Docs

Brand Peel Developer Resources & API

Official developer documentation, OpenAPI 3.1 specification, CLI tool guide, MCP integration, and JSON design token schemas.

Brand Peel provides machine-readable APIs, an official CLI tool, and open schemas designed for software developers and AI agents.

Public REST API Endpoints

All public API endpoints are served from https://brandpeel.app with CORS enabled and RFC 8594 rate limiting and versioning headers.

EndpointMethodPurposeDocumentation
/api/v1/healthGETHealth check & agent discovery URLsHealth Details
/api/v1/release/latestGETCurrent desktop app downloads & checksumsReleases
/api/v1/toolsGET190+ free branding & color utilitiesTools API
/api/v1/tools/{slug}GETSingle tool calculation schemaTool Slug API
/api/v1/brand-guide/schemaGETJSON Schema for design token exportsToken Schema
/api/v1/agent-infoGETAgent guidance & function callingAgent Info
/api/v1/cli/manifestGETOfficial CLI tool execution manifestCLI Manifest

OpenAPI 3.1 Specification

The official OpenAPI 3.1 schema is published at:

Model Context Protocol (MCP) Server

Connect Brand Peel directly to your AI IDEs (Claude Desktop, Cursor, Windsurf, Antigravity):

{
  "mcpServers": {
    "brandpeel": {
      "command": "npx",
      "args": ["-y", "@unpeeled/mcp-server"]
    }
  }
}

Official CLI Tool

Run brand transformations and token compilers in CI/CD without installation:

# Export brand tokens to Tailwind CSS v4 variables
npx brandpeel export --format tailwind-v4 --output ./src/theme.css

# Validate brand package schema and WCAG contrast
npx brandpeel doctor --strict

# Compile Markdown brand guidelines into repo documentation
npx brandpeel compile-book --input ./brand.json --output ./BRAND.md

API Versioning & Deprecation Policy

  1. Semantic Versioning: All production endpoints are scoped under /api/v1/. Breaking changes will only occur under /api/v2/.
  2. 90-Day Sunset Window: Deprecated endpoints remain fully operational for at least 90 days with Sunset and Deprecation response headers.
  3. Deprecation Policy Link: All endpoints emit Link: <https://brandpeel.app/developers#api-versioning>; rel="deprecation".