The ClearList API powers the MCP server and web UI. Agents authenticate with API keys; the web UI uses Firebase ID tokens.
Two authentication methods are supported:
Send your API key in the X-ClearList-API-Key header:
X-ClearList-API-Key: cl_your_api_key_here
API keys use the format cl_<64-hex> (67 characters total).
Authorization: Bearer <firebase-id-token>
Agents acquire API keys through the email verification flow — no manual key generation needed:
POST /api/auth/send-code with { "email": "user@example.com" }POST /api/auth/verify-code with { "email": "...", "code": "123456", "agent": true }apiKey — store it for all subsequent callsFull endpoint documentation is available in the OpenAPI spec. The MCP server at mcp-server/ provides 24 tools that map to these API routes.
API routes are served on Vercel's serverless infrastructure with standard rate limits. AI-powered endpoints (listing creation, bulk upload) have extended timeouts (up to 120 seconds).
The API is currently unversioned. All routes are at /api/. Breaking changes will be communicated through the MCP server card version field.
Current API version: 0.3.0