Back to directory

Content & Publishing · Documentation & Knowledge Base

Scalar

OpenAPI tooling for interactive references, clients, and portals

Scalar is an open-source API platform for interactive OpenAPI, Swagger, and AsyncAPI references, request testing, API clients, SDK generation, and hosted documentation. Its core components use the MIT license and can be self-hosted without a license fee. Scalar also offers hosted documentation plans: Free, Pro at $150 monthly, Business at $600 monthly, and Enterprise with custom pricing.

Key facts

License
MIT
Main language
TypeScript and JavaScript
Maintainer
Scalar
First released
2023
Latest release
Release 2026-10-20, @scalar/api-reference 1.75.1
GitHub stars
16.3k, October 2026
Hosted option
Free hosted plan; Pro $150/month or $125/month billed yearly; Business $600/month or $500/month billed yearly; Enterprise custom

What Scalar is

Scalar is an open-source API platform centered on an interactive API Reference and an offline-first API Client. The repository was created on August 16, 2023 and listed about 16,300 stars, 958 forks, 24 open issues, and 16,300 watchers in October 2026. The Scalar team and community maintain the project. Scalar identifies Marc Laventure as CEO and co-founder, with Cameron Rohani and Hans Pagel as co-founders. The repository contains API Reference, API Client, CLI, SDK, parser, mock server, registry, editor, and documentation packages. Its core code uses the MIT license. Hosted Scalar Docs extends the open-source reference with publishing features for teams that need managed documentation and API portals.

How it works

Scalar takes an OpenAPI, Swagger, or AsyncAPI document in JSON or YAML and turns it into an interactive reference. A typical user installs a framework integration or browser package, points it at the document, and publishes the resulting page with the application. Readers can search operations, inspect parameters and schemas, review examples, examine authentication requirements, and send test requests. The built-in client uses servers and security schemes declared by the specification. Supported formats include Swagger 2.0, OpenAPI 3.0, OpenAPI 3.1, and AsyncAPI. Hosted Docs adds Markdown and MDX guides, multiple references, Git synchronization, custom domains, access control, and SDK generation.

Architecture and recent releases

Scalar is primarily a TypeScript monorepo that publishes JavaScript and TypeScript packages through npm. Its API Reference runs as static HTML, through a content delivery network script, or with integrations for Express, Fastify, Hono, NestJS, Next.js, Nuxt, ASP.NET Core, and FastAPI. Basic rendering requires no database, Redis, or object storage because the application serves the specification and client assets directly. Release 1.75.1 arrived on October 20, 2026, introducing changes to keyboard navigation, responsive layouts, AsyncAPI presentation, and Ask AI context. Earlier releases 1.75.0 and 1.74.0 added or expanded Mermaid support, AsyncAPI rendering, search capabilities, and local SDK tooling for developers working with API documentation and clients.

License and pricing

The core repository uses the MIT license, permitting commercial use, modification, redistribution, and sale as long as copies preserve the copyright and permission notices. Scalar Docs offers a Free hosted plan supporting three APIs, one editor seat, and SDKs for APIs with up to 25 endpoints. Pro is priced at $150 per month, or $125 per month with annual billing. Business costs $600 per month, or $500 per month when billed yearly. Hosted plans add features such as custom domains, Git Sync, guides, access control, SSO, and higher API limits. Enterprise pricing is customized for each organization. The open-source API Reference can still be hosted independently, allowing teams to use it without paying a license fee.

Limitations and how it compares

Scalar depends on an accurate API description, so it does not replace specification governance, broader editorial workflows, or security review. Its large package collection can also make boundaries between the API Reference, offline-first client, SDK tooling, and hosted documentation products harder to understand. Swagger UI is a widely deployed open-source reference, while ReDoc concentrates on rendered OpenAPI documentation and Postman overlaps with request testing and collaboration. Scalar is a strong fit for teams seeking MIT-licensed embedded references, support for OpenAPI, Swagger, and AsyncAPI, framework integrations, and a related client for testing requests. Scalar Docs is better suited to teams that need hosted portals, Markdown or MDX guides, Git Sync, custom domains, access controls, SSO, SDK generation, or managed publishing.

Main features

  • Interactive API references. Render OpenAPI, AsyncAPI, and Swagger documents with searchable operations, schemas, examples, and authentication details.
  • Built-in API client. Test requests directly from references using servers, parameters, and security schemes defined in the API document.
  • Framework integrations. Integrations cover Express, Fastify, Hono, NestJS, Next.js, Nuxt, ASP.NET Core, FastAPI, and more.
  • AsyncAPI support. Recent releases render channels, messages, replies, bindings, tags, and nested payload fields for event-driven interfaces.
  • Offline-first client. The free API Client offers OpenAPI support, environments, dynamic parameters, watch mode, and desktop downloads.
  • SDK generation. Scalar tooling generates type-safe SDKs and command-line clients for several programming languages.
  • Hosted portals. Scalar Docs adds guides, multiple references, Git Sync, custom domains, access control, and collaboration.

Self-hosting Scalar

Install Scalar through npm, a framework integration, or a content delivery network script loaded by static HTML. Point the reference at an OpenAPI or AsyncAPI document in JSON or YAML. Basic rendering requires no database, PostgreSQL, Redis, object storage, or dedicated background service. The application must serve the specification and permit request targets safely. Teams can package assets with an application, serve them from a static host, or keep them on an internal network. Scalar Docs is separate from the self-hosted reference and supplies hosted publishing, Git Sync, domains, access controls, and team features.

Strengths

  • MIT licensing permits commercial embedding, modification, redistribution, and self-hosting.
  • The renderer supports OpenAPI, AsyncAPI, Swagger 2.0, and many framework integrations.
  • The built-in client places endpoint testing beside each documented operation.
  • Recent releases add AsyncAPI depth, accessibility improvements, and SDK tooling.

Drawbacks

  • The renderer depends on accurate API descriptions and does not replace API governance.
  • Advanced portal functions such as Git Sync and SSO belong to hosted plans.
  • The many packages can make product boundaries harder to understand.

What teams replace with it

Teams usually evaluate Scalar when they want to move off Postman, Stoplight, ReadMe.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Scalar

Frequently asked questions

Is Scalar free?

Scalar API Reference and API Client are MIT licensed and can be self-hosted without a license fee. Scalar Docs has a Free hosted plan with three APIs, one editor seat, and SDK support for APIs up to 25 endpoints. Pro costs $150 monthly, while Business costs $600 monthly. Annual billing reduces those listed monthly rates.

Can Scalar be used commercially?

Yes. The MIT license permits commercial use, modification, distribution, and sale, provided copies retain the copyright and permission notices. It does not impose a hosted service restriction on ordinary commercial deployment. Scalar Docs is a separate commercial service, and its subscription terms apply when teams use the hosted platform.

How do I self-host Scalar?

Install the API Reference package with npm, use an integration for a supported framework, or load the browser package from a content delivery network in static HTML. Point it at an OpenAPI or AsyncAPI document. Basic rendering does not require a database, Redis, or object storage.

How does Scalar compare with Swagger UI?

Both render interactive OpenAPI documentation and support test requests. Scalar adds a newer interface, AsyncAPI support, a related offline-first client, broad framework integrations, SDK tooling, and hosted portals. Swagger UI has a longer deployment history and a large existing user base, making it a practical choice for established OpenAPI installations.

Does Scalar send API data to its servers?

A self-hosted reference runs with the assets and specifications served by your application. Test requests go to the API servers configured in the document or request interface. Hosted Docs, Git Sync, access controls, and optional AI features involve the hosted platform. Teams requiring local control can use the open-source reference without Scalar Docs.

Similar projects to compare

Sources

Last updated 2026-10-22.