Skip to content

Agents & tools

The catalog API.

Everything public on the website is available as JSON. Responses never contain Pro source unless the request is authorized.

GET/api/v1/assetsSearch. Query: q, kind, tier, tag, sort (featured|newest|popular|name), page, per_page (≤60).
GET/api/v1/assets/:slugOne asset’s public documentation. Add ?format=md for Markdown.
GET/api/v1/assets/:slug/sourceSource files. Free: public. Pro: Bearer token with an active subscription.
GET/r/:slug.jsonshadcn registry item. Same access rules as /source.
GET/llms.txtIndex for language models; /llms-full.txt has every asset’s docs.
Example
curl "https://sundaeui.dev/api/v1/assets?q=pricing&tier=free"

curl -H "Authorization: Bearer $SUNDAE_TOKEN" \
  "https://sundaeui.dev/api/v1/assets/ledger-pricing/source"

Errors

Errors are JSON: { "error": "auth_required" | "pro_required" | "not_found", "message": "…" } with status 401, 403 or 404. Search and documentation responses are cached for up to five minutes. Source responses for Pro are never cached.