Discover/React Bits API
live

React Bits APIreactbits.dev

Access React Bits UI components via API. Retrieve source code, TypeScript props, install commands, and metadata for every component in the registry.

Endpoint health
verified 4d ago
search_components
get_component_install_command
get_component_props
get_component_source_code
list_all_components
7/7 passing latest checkself-healing
Endpoints
7
Updated
26d ago

What is the React Bits API?

The React Bits API exposes 7 endpoints covering every component in the reactbits.dev shadcn-style registry, including full source code files, extracted TypeScript prop definitions, and npx install commands. The get_component endpoint returns the complete file set for any component alongside its npm dependencies and parsed interface properties. list_all_components returns the full catalog grouped by title with available JS/TS and CSS/TW variant combinations.

Try it

No input parameters required.

api.parse.bot/scraper/d5e4f987-bba9-42d0-af9b-a6d73345e227/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/d5e4f987-bba9-42d0-af9b-a6d73345e227/list_all_components' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace reactbits-dev-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.react_bits_component_api import ReactBits, ComponentSummary, Component, File, Prop, InstallInfo, Category, ComponentNotFound

client = ReactBits()

# List all categories
for category in client.categories.list():
    print(category.name, category.slug)

# Search for components by query
for comp in client.componentsummaries.search(query="shuffle"):
    print(comp.name, comp.description, comp.registry_name)

    # Navigate from summary to full component detail
    detail = comp.details()
    print(detail.title, detail.dependencies)

    # Get props for the component
    for prop in detail.props():
        print(prop.property, prop.type, prop.optional)

    # Get source code files
    for f in detail.source_code():
        print(f.path, f.type)

    # Get install command
    info = detail.install_command()
    print(info.npx, info.dependencies)

# Get a component directly by name
component = client.components.get(name="Shuffle-TS-CSS")
print(component.name, component.title, component.description)

# Construct a ComponentSummary and navigate to details
summary = client.componentsummary(name="AnimatedContent")
full = summary.details()
print(full.title, full.dependencies)
All endpoints · 7 totalmissing one? ·

List all available UI components from the reactbits registry. Returns deduplicated components grouped by display name with their available variants (JS/TS, CSS/TW). Each entry carries just enough metadata for discovery; call get_component for full source and props.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "total": "integer total number of unique components",
    "components": "array of component summary objects with name, description, registry_name, and variants"
  },
  "sample": {
    "data": {
      "total": 133,
      "components": [
        {
          "name": "Shuffle",
          "variants": [
            "Shuffle-JS-CSS",
            "Shuffle-JS-TW",
            "Shuffle-TS-CSS",
            "Shuffle-TS-TW"
          ],
          "description": "Animated text reveal where characters shuffle before settling.",
          "registry_name": "Shuffle-TS-CSS"
        }
      ]
    },
    "status": "success"
  }
}

About the React Bits API

What the API Covers

The React Bits API surfaces the full component catalog from reactbits.dev. list_all_components returns a deduplicated array of component objects — each with a name, description, registry_name, and a variants array indicating which flavor combinations (JavaScript or TypeScript, CSS or Tailwind) are available. The total field gives the count of unique components in the registry.

Fetching Individual Components

get_component accepts either a display name like 'Shuffle' or a fully qualified registry name with variant suffix like 'Shuffle-TS-CSS'. The response includes a files array of source code objects (each with path and content), a dependencies list of npm package strings, and an extracted_props array. Each prop object carries property, type (the TypeScript type string), optional (boolean), and description. If you only need one of these subsets, get_component_source_code returns just the files and get_component_props returns just the props array.

Search and Installation

search_components accepts a query string and matches it against component names, registry names, and descriptions, returning total and a results array in the same shape as the full listing. get_component_install_command returns the exact npx shadcn CLI command string and the dependencies array for any named component, making it straightforward to script automated scaffolding workflows.

Categories

get_all_categories returns the four top-level navigation categories from the site, each with a name and slug. These map to the organizational structure used on reactbits.dev and can be used to filter or annotate components in your own tooling.

Reliability & maintenanceVerified

The React Bits API is a managed, monitored endpoint for reactbits.dev — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when reactbits.dev changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official reactbits.dev API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
7/7 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a component browser that queries list_all_components and surfaces JS vs TS and CSS vs Tailwind variant availability.
  • Auto-generate documentation pages by pulling extracted_props from get_component_props into a prop table renderer.
  • Script a project bootstrapper that calls get_component_install_command to generate the correct npx shadcn command for each selected component.
  • Run search_components inside a CLI tool or IDE plugin to let developers find relevant components by keyword.
  • Audit npm dependency usage across the entire registry by iterating get_component for each entry and aggregating the dependencies fields.
  • Seed a design-system catalog by extracting source code via get_component_source_code and storing versioned snapshots.
  • Map get_all_categories slugs to component metadata for a filtered component gallery UI.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does React Bits have an official developer API?+
React Bits does not publish an official developer API. The site uses a shadcn-compatible registry format at reactbits.dev, which is what this Parse API surfaces.
What does `get_component` return beyond source code?+
get_component returns a files array (each file has path and content), a dependencies array of npm package strings, and an extracted_props array. Each prop entry includes the property name, its TypeScript type, an optional boolean, and a description string parsed from the component's interface definition.
Can I retrieve components filtered by category?+
get_all_categories lists the four navigation categories with name and slug, but the other endpoints do not accept a category filter parameter — they operate by component name or search query. You can fork this API on Parse and revise it to add category-filtered listing support.
Does the API cover component preview or demo data?+
Not currently. The API covers source code files, prop definitions, install commands, and component metadata. Visual previews, live demo configurations, and usage examples shown on the reactbits.dev site are not part of the response schema. You can fork the API on Parse and revise it to add an endpoint targeting that content.
What is the difference between using a display name and a registry name in the `name` parameter?+
Endpoints like get_component accept either format. A display name like 'Shuffle' will resolve to the default variant. A full registry name like 'Shuffle-TS-CSS' pinpoints a specific TypeScript plus CSS variant. When a component has multiple variants, using the full registry name ensures you get the exact file set and props for that flavor.
Page content last updated . Spec covers 7 endpoints from reactbits.dev.
Related APIs in Developer ToolsSee all →
shadcnregistry.com API
Search and discover shadcn/ui components across multiple registries. View detailed component information including source code and installation commands, browse component types and creators, bulk retrieve entire component collections, or inspect external registries by URL.
componentsearchengine.com API
Search for electronic components and access detailed specifications including pricing, datasheets, and 3D models from a comprehensive component database. Browse top trending components, retrieve in-depth metadata, and integrate real-time component information into your sourcing and design workflows.
gitee.com API
Search and explore Gitee repositories by category, view repository metadata and contents, and discover projects from specific users. Access commit history, file structures, and repository details all in one place.
alternativeto.net API
Search for software applications, discover alternative tools to replace your current apps, and explore detailed information about programs across different categories and platforms. Find the perfect software match by browsing apps, comparing alternatives, and filtering by your preferred operating system.
github.com API
Look up GitHub repositories and users: search repositories, fetch repository metadata, releases, issues and issue threads, browse repository files/trees, and retrieve user profiles and starred repositories.
pccomponentes.com API
Search and browse PC components across categories and retrieve detailed product information including technical specifications, pricing, availability, and customer reviews. Ideal for comparing hardware options across processors, graphics cards, laptops, and more.
airbit.com API
Browse and discover beats across the Airbit marketplace by searching tracks, exploring top charts, viewing producer catalogs, and discovering featured playlists. Get detailed information about specific beats and find exactly what you're looking for in the music production community.
datasheetcatalog.com API
Search for electronic component datasheets and access detailed specifications with PDF links, or browse components by manufacturer and category. Quickly find the technical information you need for any electronic component in one centralized catalog.