Scalar
A strong pick. 1st of 9 OpenAPI tools.
Scalar makes interactive API reference pages from OpenAPI documents, with a built-in request client. It is a modern, actively maintained choice for API docs and the strongest pick among the docs renderers for a new project today. It does not generate types or SDK clients, so you need to pair it with a generator such as openapi-typescript or Hey API.
Best for: Teams that want a modern, interactive OpenAPI 3.x reference page with a built-in API client, served from their own framework.
Scores
Overall8.1
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
For the docs part of the OpenAPI job, Scalar is the strongest new-project choice. It beats Swagger UI on design and OpenAPI 3.1 support, and Redoc on its built-in client and pace of maintenance. It falls short of a 9 because it covers docs only, has heavy release churn, and has thin independent validation. Its fast growth and adoption across .NET and several JavaScript frameworks support a strong pick.
- npm downloads ratio: About 30x growth against a median of 4.1x.
- peers Redoc commitsLastYear: Redoc had 52 commits against Scalar's 2,681.
- pkgpulse.com/guides/scalar-vs-redoc-vs-swagger-ui-api-documentation-2026: Recommended for greenfield docs.
GPT-6.2 Sol: 8.6, likely 7.4 to 9.4
Scalar is a strong pick for a new public OpenAPI reference because readers can find endpoints, copy examples, and test requests in one place. Active maintenance and adoption in shipped products make it a credible choice alongside Swagger UI and Redoc. Swagger UI has a much larger installed base, and Orval or openapi-typescript are better fits when the main deliverable is a typed client or generated types. The uneven adoption data and limited measurements of the current build keep the range wide.
- scalar.com/resources/changelog/api-reference: Current stable releases show ongoing work on performance and rendering.
- doc.gurobi.com/_/downloads/remoteservices/en/14.0/pdf: A shipped product migrated its reference from Swagger UI.
- peers: Swagger UI retains a large lead in installs and indexed reuse.
- orval.dev/docs/reference/configuration/output: Orval generates typed clients for several frameworks.
- openapi-ts.dev/introduction: openapi-typescript generates TypeScript types from OpenAPI.
Needed by many5.7
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Many backend and API developers need a rendered reference page for their OpenAPI document. Frontend-only developers rarely do. Scalar covers docs and manual testing but not type or client generation, which is a large part of the category's job.
- project.note: The package is the API reference page only.
- pkgpulse.com/guides/scalar-vs-redoc-vs-swagger-ui-api-documentation-2026: Places Scalar among the docs renderers, next to Swagger UI and Redoc.
GPT-6.2 Sol: 6.3, likely 5.1 to 7.5
Interactive reference docs serve a large group of teams that publish or maintain HTTP APIs. Scalar can run as a static page or through many framework integrations, so its reach is independent of the API's server runtime. It serves the documentation part of the OpenAPI workflow, and the available survey evidence gives only an indirect estimate of how many JavaScript and TypeScript teams need that part.
- postman.com/state-of-api/2025: API practitioners report inconsistent documentation as a common problem.
- github.com/scalar/scalar/blob/main/documentation/guides/api-references/index.md: Static HTML, CDN, and framework integrations consume an existing API description.
Helps a lot8.1
How well does it do the job for those who need it?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Scalar has OpenAPI 3.0 and 3.1 support, a built-in request client, code samples, themes and many framework integrations. Independent write-ups recommend it for greenfield docs. Its limits are past slowness on very large specs, no Swagger 2.0 support in one review, and some OpenAPI details that Swagger UI renders more completely.
- pkgpulse.com/guides/scalar-vs-redoc-vs-swagger-ui-api-documentation-2026: Recommends Scalar for greenfield projects and lists its features and gaps.
- apichangelog.substack.com/p/three-open-source-api-reference-alternatives: Praises the code samples and try-it client, and notes the CDN loading and some gaps against Swagger UI.
- blog.scalar.com/p/how-we-sped-up-our-api-docs-25x: Large-spec lag was fixed, with load time 25x faster.
- forum.invoiceninja.com/t/api-docs-page-is-unusable/21727: A user reports a slow Scalar page on a large spec.
GPT-6.2 Sol: 8.6, likely 7.5 to 9.6
Stable version 1.82.1 provides searchable docs, typed configuration, multilingual code samples, and in-page request testing. Framework examples give coding agents clear setup patterns, though agent success rates remain unmeasured. An independent comparison preferred Scalar's request builder and search but measured twice Swagger UI's compressed first-load payload in the August 2026 ASP.NET build. Later releases deferred client loading in the ESM build and fixed freezes on recursive schemas, so that measurement describes an older build.
- npm latestVersion and hasTypes: Stable version 1.82.1 ships TypeScript declarations.
- github.com/scalar/scalar/blob/main/documentation/configuration.md: Documents authentication, themes, request hooks, and proxy options.
- startdebugging.net/2026/08/scalar-vs-swagger-ui-for-openapi-documentation-in-aspnetcore-11: Independent hands-on comparison measured bundle size and assessed the request builder.
- github.com/scalar/scalar/issues/9789: User measured slow cold starts, and maintainers shipped an ESM fix.
- scalar.com/resources/changelog/api-reference: November release fixed freezes on recursive schemas.
Holds up over time8.2
Will it still be a good choice in two years?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
The repository is very active: 2,681 commits, 151 releases and 274 contributors in a year, and only 2 open issues. A venture-backed company employs the maintainers, which funds the work but ties it to that company's fortunes. The ecosystem is moving towards Scalar, as .NET and several JavaScript frameworks adopt it.
- github commitsLastYear / releasesLastYear / contributors: 2,681 commits, 151 releases and 274 contributors.
- github openIssues / closedIssues: 2 open issues against 1,779 closed.
- vcbacked.co/company/scalar: Lists Scalar as a seed-funded company.
- dev.to/jfmeyers/swashbuckle-is-dead-heres-how-to-migrate-to-scalar-in-net-10-155d: .NET developers are moving to Scalar.
GPT-6.2 Sol: 8.4, likely 7.2 to 9.3
Scalar has a commercial team behind it, and the reference package published 147 versions in the past year. The changelog shows ongoing fixes for rendering and performance, though some version bumps accompany changes elsewhere in the monorepo. Experimental hooks can change within a major version, and public evidence gives a limited view of typical issue turnaround and how many people control releases.
- npm versionsLastYear and latestPublishedAt: 147 package versions in a year, with the latest published November 20.
- github commitsLastYear and contributors: 2,681 commits in the past year and 274 contributors across Scalar's tools.
- scalar.com/company: A commercial engineering team maintains the open-source projects.
- github.com/scalar/scalar/releases/tag/release-2026-11-20-6cc3db1: The latest version bump lists no direct reference-package changes.
- github.com/scalar/scalar/blob/main/documentation/configuration.md: Experimental request APIs may change in minor releases.
Used widely6.5
How many use it, and is that growing?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Downloads rose from 310K to 9.2M per 4 weeks, about 30x against a median of 4.1x, so Scalar is gaining ground fast. Swagger UI still has far more downloads and dependents. The ecosyste.ms dependents count of 1 repo looks too low, likely because many projects reach Scalar through integration packages, the CDN or NuGet.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 9.18M now against 0.31M a year ago.
- peers Swagger UI downloadsLast4Weeks: Swagger UI has 73M downloads and 60K dependent repos.
- github stars: 16.4K stars, shared across all of Scalar's tools.
- nuget.org/packages/Scalar.AspNetCore: Wide use in .NET is not counted on npm.
GPT-6.2 Sol: 6.5, likely 4.7 to 8.0
Four-week npm downloads rose from about 310,000 to 9.18 million, a 29.6× increase against the catalog's 4.1× baseline. Scalar passed Redoc on this measure, while Swagger UI still has far more installs and indexed dependents. Tens of thousands of projects choosing Scalar looks plausible, but the indexed count is only one repository and three npm packages. Automated installs and framework defaults inflate npm counts, CDN use escapes them, and the 16,433 stars and 13 Bluesky posts cover the whole monorepo.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, and medianDownloadsRatio: 29.6× year-over-year package growth against a 4.1× catalog baseline.
- dependents and peers: One indexed repository and three npm packages, far below Swagger UI and Redoc.
- github stars, bluesky posts, and project note: Repository attention covers the entire Scalar tool suite.
- elysiajs.com/plugins/openapi: Elysia defaults to Scalar and supports CDN or self-hosted delivery.
Vouched for7.5
Who stands behind it being good?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
The .NET ecosystem has moved to Scalar since Swashbuckle left the .NET 9 templates. Elysia uses it by default, and Hono and Nuxt document it. Independent blogs recommend it. There are no survey data and few independent benchmarks, and many comparison pages are written by vendors.
- c-sharpcorner.com/article/why-scalar-is-replacing-swagger-in-net-9-and-10: Scalar is replacing Swagger in .NET 9 and 10.
- hono.dev/examples/scalar: Hono's official docs include a Scalar example.
- nuxt.com/modules/scalar: Nuxt lists Scalar as a module.
- hackerNews stories: No HN stories matched in the bundle.
GPT-6.2 Sol: 8.4, likely 7.3 to 9.3
Gurobi switched its shipped Cluster Manager API reference from Swagger UI to Scalar, and Elysia uses Scalar by default in its OpenAPI plugin. Microsoft documents it as an ASP.NET Core option, and an independent hands-on comparison favored its request builder, samples, and search for external-facing docs. Those sources demonstrate adoption and practical value, while representative satisfaction and retention figures remain unavailable.
- doc.gurobi.com/_/downloads/remoteservices/en/14.0/pdf: Gurobi's release notes confirm Scalar replaced Swagger UI in Cluster Manager.
- elysiajs.com/plugins/openapi: Elysia sets Scalar as its default OpenAPI renderer.
- learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/using-openapi-documents?view=aspnetcore-10.0: Microsoft provides first-party integration guidance for interactive docs.
- startdebugging.net/2026/08/scalar-vs-swagger-ui-for-openapi-documentation-in-aspnetcore-11: Independent test favored Scalar for external-facing API docs.
Safe7.1
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
There are no known advisories, and the licence is MIT. It pulls in 29 direct dependencies, and near-daily automated releases make it a large, fast-moving surface to pin. No OpenSSF Scorecard was available. The CDN loading used by default in several integrations adds a third-party script risk unless you self-host and pin it.
- advisories total: 0 advisories.
- npm dependencies: 29 dependencies.
- scorecard: No Scorecard data.
- apichangelog.substack.com/p/three-open-source-api-reference-alternatives: Scalar loads its scripts from a CDN.
GPT-6.2 Sol: 7.2, likely 5.9 to 8.5
The reference package is MIT-licensed, and the public release workflow uses npm trusted publishing and provenance. The package snapshot records zero direct advisories, and Scalar has disclosed and patched cross-site scripting flaws in companion renderers used by framework integrations. Its 29 direct dependencies, missing OpenSSF Scorecard, and limited visibility into release access leave meaningful uncertainty.
- npm license, npm dependencies, advisories, and scorecard: MIT, 29 direct dependencies, zero direct advisories in the snapshot, and no Scorecard.
- github.com/scalar/scalar/blob/main/.github/workflows/release.yml: GitHub Actions publishes through OIDC and requests npm provenance.
- github.com/scalar/scalar/security/advisories/GHSA-93fh-86cq-jw3f: Shared renderer cross-site scripting flaw patched in version 0.4.17.
- github.com/scalar/scalar/security/advisories/GHSA-x592-x555-pq59: Published fixes for unsafe inline configuration in companion renderers.
Good
- It looks modern out of the box, with themes, dark mode, search and code samples in many languages.
- The built-in API client lets readers send requests from the docs, which Redoc's open-source version does not offer.
- First-party integrations cover Hono, Express, Fastify, NestJS, Nuxt, Elysia and ASP.NET Core.
- It is very actively developed by a company team, with 2,681 commits and about 150 releases in the last year.
Bad
- It only renders docs and does not generate TypeScript types or clients, so it covers part of the category's job.
- With near-daily releases and 29 dependencies, there is a lot of churn and a large surface to pin and audit.
- Very large specs have had performance problems. Fixes have shipped, but users still report slow pages.
- Many integrations load it from a CDN by default, which needs network access unless you self-host the bundle.
The numbers
- npm downloads, 4 weeks
- 9.2M ×30 in a year
- GitHub stars
- 16k
- Commits, 12 months
- 2.7k
- npm version
- 1.82.1 Nov 2026
- Versions, 12 months
- 147
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
The repository holds all of Scalar’s tools. The package is its API reference page.
Read on 21 November 2026 from GitHub (scalar/scalar), npm (@scalar/api-reference), OSV and the OpenSSF Scorecard.
OpenAPI tools
- 8.1Scalar
- 7.7Orval
- 7.3Swagger UI
- 7.1Hey API
- 6.9Kubb
- 6.9zod-to-openapi
- 6.7Spectral
- 6.7Redoc
- 3.2openapi-typescript