Sleazy Kits API documentation

The Sleazy Kits API provides public, read-only discovery of React components and library kits. No API key, account, payment, or OAuth token is required.

Endpoints

  • GET /api/v1/catalog?q=button&library=shadcn: search names and library IDs. Both query parameters are optional.
  • GET /api/v1/components/shadcn/button: retrieve source and installation details. Use IDs returned by the catalog.
  • GET /api/v1/kits?libraries=shadcn,motion&name=My%20kit: export context for 1–20 existing libraries.

Download the OpenAPI 3.1 contract. Responses use JSON with stable component IDs. The legacy /catalog.json remains available as an unfiltered catalog alias.

Versioning and deprecation

The public API is versioned in its path: /api/v1. Additive fields may be introduced within v1; clients should ignore unknown fields. Breaking field removals, type changes, or authentication changes require a new major path. Before retiring a version, we will publish a notice here at least 90 days in advance and emit Deprecation, Sunset, and a Link to the migration guide. No v1 retirement is currently scheduled.

Rate limits and retries

Public API, legacy catalog, and MCP requests share a fixed-window limit of 120 requests per 60 seconds per client IP per running server instance. Instances have independent budgets; this is not a global quota. RateLimit-Limit, RateLimit-Remaining, and RateLimit-Reset headers report the budget, remaining requests, and reset as Unix seconds. The equivalent X-RateLimit headers are also available. Responses are not publicly cached so quotas remain request-specific.

A 429 response includes Retry-After in seconds. Wait for that delay before retrying. A temporary 503 includes Retry-After: 60; use exponential backoff with jitter. Avoid retrying 400, 404, or 405 without correcting the request. OPTIONS preflight requests do not consume the budget.

Errors and boundaries

HTTP errors use application/problem+json with status, code, and detail. Unknown endpoints return 404; invalid inputs return 400; unsupported methods return 405 with Allow. Browser account sync and mutation routes are private application interfaces, not part of this public contract. Never send browser credentials to discovery endpoints.

Provenance, licensing, and data

Catalog sourceUrl and library repositoryUrl point to upstream evidence. A packaged preview is a local demonstration; an ai-recreated preview is an illustration and may differ from upstream. Neither grants a license to upstream code. Review each source repository’s license and installation requirements. A kit selects libraries and provides instructions, without downloading dependencies or granting additional rights.

Discovery uses no account data and does not write copy history. Request IPs are used transiently for rate limiting; hosting infrastructure may process request logs. Browser sync follows the privacy policy.

All documentation