mocop
Browse · Docs · Guide · Analyze

registry.directory API

API by registry.directory · rest

registry.directory indexes shadcn/ui registries so an agent can find the right component across the whole ecosystem, and accepts new registry submissions with a single HTTP POST. When to use this API: (1) discover which registries exist and where their registry.json lives (GET /directory.json); (2) search the cross-registry component index (GET /items.json); (3) read a component's metadata, dependencies, and full source as Markdown (GET /api/markdown/{owner}/{repo}/{slug}); (4) submit a registry to the directory on behalf of its author (POST /api/submit). Submission is one unauthenticated POST — no account, no fork, no PR. The full human-readable contract, including prerequisites and the review process, is at https://registry.directory/how-to-submit.md. Installation of components is not this API's job: use the shadcn CLI against the origin registry once you know which registry has what you need.

Endpoint: https://registry.directory/

Verification: observed. Source: crawl.

Capabilities (4)

  • A component as Markdown: metadata dependencies full source
  • Submit a registry to the directory
  • List every registry in the directory
  • Cross-registry component index
About · Contact · Privacy