v13.0
OpenAPI 3.1 & 3.0 Web Component

API Documentation
Developers & Product Teams
Agree On.

Build breathtaking, high-performance interactive API references without framework lock-in. Powered by native Web Components, featuring an integrated API console, and self-hosted corporate security.

$npm install rapidoc
RapiDoc Dark Theme - Interactive API Documentation and Console

For Developers

✓
True Web Component: Zero framework lock-in. Works effortlessly in React, Vue, Angular, Svelte, or plain HTML.
✓
Curated MCP Server Generator: Export a Model Context Protocol manifest with JSON Schema tools, MCP safety annotations and a runnable TypeScript project, with transport-header stripping and token budget diagnostics.
✓
Integrated API Console: Test real endpoints directly with negative testing enabled — send custom headers & malformed payloads to test edge cases.
✓
Container Ready: Tiny ~638 KB bundle (171 KB gzipped) with zero SSR/Node overhead. Bundles directly into Browser and micro-containers with Go/Rust/Java/Python servers.
✓
Built In Mock Server: Prototype client frontends, simulate multi-status responses, and test network latency before backend APIs exist.

For Product Managers

✓
Agent-Ready with Token Budget Controls: Future-proof your APIs for AI assistants (Claude, Cursor). Real-time token diagnostics slash prompt overhead by ~80% while shielding internal enterprise routes.
✓
Self-Hosted Corporate Data Security: Operates 100% in-browser with zero telemetry or outbound cloud leaks. Ideal for strict compliance and air-gapped VPCs.
✓
100% Brand Consistency: White-label fonts, header colors, logos, and light/dark modes with simple HTML attributes. No code forks required.
✓
3 Layout Modes for Every Reader: Deliver wiki-style references (Read Mode), fast technical exploration (View Mode), or focused endpoint catalogs.
✓
Zero SaaS Tax (100% MIT): No per-seat pricing, no paywalled interactive consoles, and no vendor lock-in.
0
Framework Lock-in
W3C Web Component: React, Vue, Svelte, or pure HTML
~171 KB
Ultra-Light Bundle
Gzipped single bundle (638 KB minified). Zero VDOM diffing overhead
100%
Private & Self-Hosted
Zero telemetry. Air-gapped and container ready
3
Layout Paradigms
View, Read, and Focused modes for all audiences
Visual Polish

Dark & Light Modes Done Right

RapiDoc provides pixel-perfect high-contrast dark and light themes out of the box, engineered for crystal-clear readability, WCAG AA compliance, and effortless enterprise brand pairing.

Uncompromising Engineering

Why Teams Choose RapiDoc Over Alternatives

Designed from the ground up for developer productivity, enterprise privacy, and product design flexibility.

Framework Agnostic

Native W3C Web Component Standard

Free of proprietary wrapper lock-in, complicated build steps, or framework runtime baggage. Drop a single <rapi-doc> custom element into React, Vue, Angular, Next.js, Nuxt, Astro, or plain vanilla HTML. Change attributes with JavaScript and it responds instantly.

No React Hydration OverheadZero Build StepUniversal Interoperability
Real DX

Built-in Console with Negative Testing

Execute API calls directly in the docs. Unlike rigid renderers that block invalid inputs, RapiDoc lets you test negative edge cases, corrupt payloads, and custom headers.

Zero Setup

In-Browser Mock Server

Frontend teams can prototype before the backend is built. Seamlessly intercepts in-page fetch() calls and generates realistic mock responses from OpenAPI examples or schemas with multi-status and latency simulation.

Explore Mock Server
Agent Ready

Curated MCP Server Generator

Convert OpenAPI specs into a Model Context Protocol manifest with JSON Schema tools, MCP safety annotations and a runnable TypeScript project. Skips internal and deprecated endpoints, strips transport headers and keeps a live budget of prompt context overhead.

Explore MCP Architecture
Microservices & Edge

Embedded in Micro-Servers & Containers

With its tiny bundle size and zero server-side rendering dependencies, RapiDoc is ideal for embedding into lightweight Docker containers, Go / Rust / Java backends, and IoT edge devices.

Ergonomics

Tree & Tabular Schema Folding

Choose between Tree and Table representation for deep schemas. All models and examples are auto-expanded by default, completely eliminating tedious 20-click accordions.

Enterprise Ready

100% Self-Hosted & Air-Gapped Security

Trusted by Fortune 500 corporations, defense, and fintech organizations. RapiDoc executes entirely client-side in the browser. No telemetry phoning home, no cloud vendor lock-in, and zero risk of proprietary internal API schemas leaking to third parties.

100% Offline CapableAir-Gapped VPC CompliantZero Cloud Telemetry100% MIT Open Source
Comparison

How RapiDoc Compares

From the reference to the whole portal: what each tool includes, and what needs a paid or hosted plan.

CapabilityRapiDocMIT · open sourceRedoclyScalarSwagger
API reference
How you add itWhat goes into your page
One web component<rapi-doc> in any framework or plain HTML, 171 KB gzipped, no dependencies
React app or standalone script
Script tag or framework packages
Standalone bundle or React component
Try it consoleCall the API from the docs
IncludedWith OAuth 2.0, PKCE and API keys
Replay, on paid plansNot in open-source Redoc
Included (API client)
Included (Try it out)
LayoutsOne reference, several audiences
Three render stylesRead, view and focused, plus <rapi-doc-mini> for one operation
Three-panel layout
Modern and classic layouts
One collapsible list
Mocking & workflows
Mock serverResponses before the backend exists
In the browser and standalonerapidoc mock: examples, generated data, request validation, OAuth scope checks
In Realm (commercial)
Open-source mock server
SwaggerHub (commercial)
Arazzo workflowsMulti-step API journeys
<rapi-flow>A diagram next to the reference, run step by step
Respect, in Redocly CLIRuns and lints them
Developer portal
Docs-as-code portalGuides, references and a catalog
RapiDoc PortalMarkdown, Markdoc and MDX guides, API catalog, versions, search
Realm (commercial)
Scalar DocsGuides and custom domains on paid plans
SwaggerHub PortalPaid add-on for Enterprise plans
Single sign-on (SSO) and access rulesPrivate APIs and partner docs
SSO with any OpenID Connect providerOkta, Entra ID, Google, Keycloak; per-page access rules, served by rapidoc serve on your servers
RBAC in Realm
SSO on Enterprise
SAML SSO on EnterpriseIn SwaggerHub
AI agents (MCP)Your API as tools for agents
MCP export and hostingExport a server from the browser, or host the tools at /mcp behind sign-in; llms.txt
MCP server and llms.txt in Realm
Hosted MCP servers
MCP server for SwaggerHubAnd MCP server generation from an API
Command lineChecks in CI and local preview
rapidoc CLIvalidate, lint, bundle, mock, and migrate from Redocly or Zudoku
Redocly CLIlint, bundle
Scalar CLI
SwaggerHub CLIPublishes APIs to SwaggerHub from CI
License and hosting
LicenseWhat you may do with it
MIT, every packageNo paid tier
Only Redoc and the CLI are MITEverything else is commercial
Only the core is MITDocs and MCP are on hosted plans
Only Swagger UI, Editor and Codegen are Apache 2.0SwaggerHub is commercial
Self-hostedYour servers, no third party
EverythingStatic files, or rapidoc serve with sign-in; no telemetry
Limited to basic RedocEverything else is paywalled or commercial
Limited to the API referenceScalar Docs is hosted
Limited to the open-source toolsSwaggerHub is hosted
Included, open source Limited, the rest is commercial Needs a paid or hosted plan Not offered

Other products as described in their public documentation, November 2026.

Get Up & Running

Zero Config, Instant Integration

Choose your stack and drop RapiDoc into your application in under 60 seconds.

index.html
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
  </head>
  <body>
    <rapi-doc
      spec-url="https://rapidocui.com/specs/bookstore.yaml"
      color-scheme="dark"
    ></rapi-doc>
  </body>
</html>

One script tag and one element. Nothing to install or build.

ApiDocs.jsx
// npm install rapidoc
import { useEffect } from 'react';

export default function ApiDocs() {
  // Load RapiDoc in the browser only, so server rendering keeps working
  useEffect(() => {
    import('rapidoc');
  }, []);

  return (
    <rapi-doc
      spec-url="https://rapidocui.com/specs/bookstore.yaml"
      render-style="view"
      style={{ height: '100vh' }}
    />
  );
}

In Next.js, add 'use client' at the top. With TypeScript, declare the element once. Setup details →

ApiDocs.vue
<!-- npm install rapidoc -->
<script setup>
import { onMounted } from 'vue';

onMounted(() => import('rapidoc'));
</script>

<template>
  <rapi-doc
    spec-url="https://rapidocui.com/specs/bookstore.yaml"
    render-style="focused"
    style="height: 100vh"
  ></rapi-doc>
</template>

Tell the Vue compiler that rapi- tags are custom elements: one line in vite.config or nuxt.config. Setup details →

Dockerfile
# npm install rapidoc, then build an image that needs nothing else
FROM nginx:alpine

# The bundle and its license notices (rapidoc-min.js.LICENSE.txt)
COPY node_modules/rapidoc/dist/rapidoc-min.js* /usr/share/nginx/html/

# Your page and spec: index.html as in the HTML tab, with
# src="rapidoc-min.js" and spec-url="openapi.yaml"
COPY index.html openapi.yaml /usr/share/nginx/html/

No CDN and no outside calls: the page works on an intranet or air-gapped network.

Ready to Elevate Your API Documentation?

Join thousands of developers and enterprise organizations delivering lightning-fast, beautifully branded OpenAPI references.