Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

scalar

> 前端框架
Open source

Scalar is an open-source API platform:                                       🌐 Modern REST API Client                                        📖 Beautiful API R

15.8K stars0 likes2 views
WebsiteGitHub

About

Scalar is an open-source API platform:                                       🌐 Modern REST API Client                                        📖 Beautiful API R

Scalar

		</picture>
 	</a>
	<a href="https://scalar.com/download" target="_blank">
		<picture>
			<source media="(prefers-color-scheme: light)" srcset="https://github.com/user-attachments/assets/b391b82f-d993-4e97-8a17-1c3c7ccbb19b">
			<source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/579d0853-b2a5-4ea8-b2bd-a98753faeaf3">
			
		</picture>
	</a>
</p>

Interactive API Reference from OpenAPI/Swagger

└ Renders OpenAPI/Swagger documents
└ Comes with an API testing tool
└ Doesn't look like 2011
└ Generates code examples for many languages & frameworks
└ Integrates with your favorite framework
└ Try Demo

An offline-first API Client built for OpenAPI

└ Free and open-source
└ First-class OpenAPI/Swagger support
└ Integrates with dozens of API Frameworks (Elysia, Hono, FastAPI, etc)
└ Syncs with your favorite server framework (Watch Mode)
└ Has environment variables, dynamic parameters and everything
└ Try It in the Browser └ Download (Windows, MacOS, Linux)

Trusted by:


</picture>
<picture>
	<source media="(prefers-color-scheme: light)" srcset="https://github.com/user-attachments/assets/1da6b904-34be-4760-b535-0dd2160e6d12#gh-light-mode-only">
	<source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/54a9ea69-c50a-4f49-8c3e-ddd6f8fbe1f3#gh-dark-mode-only">
	
</picture>

Quickstart

All you need is a single HTML file to create an amazing API reference:

…

Need a Custom Header? Check out this example: https://codepen.io/scalarorg/pen/VwOXqam

And there's an ever-growing list of plugins and integrations:

Integrations

  • HTML/JS API (works everywhere)
  • .NET ASP.NET Core
  • Aspire
  • AdonisJS
  • Astro
  • Django Ninja
  • Django
  • Docker
  • Docusaurus
  • Elixir
  • Express
  • FastAPI
  • Fastify
  • Flask
  • Go
  • Hapi
  • Hono
  • Java
  • Laravel Scribe
  • Laravel
  • Micronaut
  • NestJS
  • Next.js
  • Nuxt
  • Python
  • React
  • Ruby on Rails
  • Rust
  • Spring Boot
  • SvelteKit
  • Ts.ED
  • Vue.js

Built-in Support

The following frameworks have chosen Scalar API Reference as their default OpenAPI documentation UI, recognizing its developer-friendly features and modern design:

  • Effect
  • ElysiaJS
  • HappyX
  • Litestar
  • Nitro
  • oRPC
  • Platformatic
  • Spry

Managed Hosting

We're offering a free and paid managed hosting on the edge, too:

  • Write your API documentation and publish API references (free)
  • YOUR_NAME_HERE.apidocumentation.com subdomain and SSL (free)
  • GitHub Sync
  • Write free-form documentation
  • Collaborate with your team
  • Use any domain

Ready? Create your Scalar Account


Documentation

Topic Description
Configuration The universal configuration object
Themes Predefined themes, layouts & styling
OpenAPI OpenAPI specification extensions
Markdown Supported Markdown syntax
Plugins Extend the functionality

Projects

Project Description
Scalar API Reference Self-hosted API Reference
Scalar API Client Postman alternative
Agent Scalar Chat with your API
Scalar Registry Manage OpenAPI documents
Scalar Docs Hosted documentation
Scalar Docs Starter Starter template for Scalar Docs
Scalar SDKs SDK generation
Scalar CLI Command-line interface
Scalar Mock Server Mock APIs from OpenAPI documents
Scalar Galaxy Our OpenAPI Example
Scalar Editor OpenAPI Online Editor
Scalar OpenAPI Parser Parse OpenAPI documents
Scalar OpenAPI to Markdown OpenAPI > Markdown/HTML
Scalar OpenAPI Upgrader Upgrade OpenAPI documents
Scalar Void Server HTTP Request Mirror

Community

We are API nerds. You too? Let's chat on Discord: https://discord.gg/scalar


Contributions

Contributions are welcome! Read the CONTRIBUTING guide.

Top Contributors (Last Month)



Top Contributors (All Time)

                <br />
                <sub><b>hanspagel</b></sub>
            </a>
        </td>
        <td align="center">
            <a href="https://github.com/xC0dex">
                
                <br />
                <sub><b>xC0dex</b></sub>
            </a>
        </td>
        <td align="center">
            <a href="https://github.com/amritk">
                
                <br />
                <sub><b>amritk</b></sub>
            </a>
        </td>
        <td align="center">
            <a href="https://github.com/antlio">
                
                <br />
                <sub><b>antlio</b></sub>
            </a>
        </td>
        <td align="center">
            <a href="https://github.com/hwkr">
                
                <br />
                <sub><b>hwkr</b></sub>
            </a>
        </td>
        <td align="center">
            <a href="https://github.com/marclave">
                
                <br />
                <sub><b>marclave</b></sub>
            </a>
        </td>
	</tr>
	<tr>
        <td align="center">
            <a href="https://github.com/DemonHa">
                
                <br />
                <sub><b>DemonHa</b></sub>
            </a>
        </td>
        <td align="center">
            <a href="https://github.com/cameronrohani">
                
                <br />
                <sub><b>cameronrohani</b></sub>
            </a>
        </td>
        <td align="center">
            <a href="https://github.com/geoffgscott">
                
                <br />
                <sub><b>geoffgscott</b></sub>
            </a>
        </td>
        <td align="center">
            <a href="https://github.com/marcalexiei">
                
                <br />
                <sub><b>marcalexiei</b></sub>
            </a>
        </td>
        <td align="center">
            <a href="https://github.com/tmastrom">
                
                <br />
                <sub><b>tmastrom</b></sub>

Issues· 45 open

View all issuesOpen on GitHub
  • #10454

    Flattened object when having nested object value with `allOf`

    bugUpdated Oct 1, 2026
  • #10451

    CodeMirror request body renders large blank gaps due to .cm-content { max-height: 20px }

    bugUpdated Oct 1, 2026
  • #10446

    The default oauth2 redirect URL is not autofilled when Scopes are not present in an OpenAPI spec (Scalar.AspNetCore)

    package: @scalar/api-clientauthUpdated Oct 1, 2026
  • #7219

    show schemas in api client

    enhancementpackage: @scalar/api-clientschemaUpdated Sep 28, 2026
  • #10380

    Nested properties of array-of-objects query parameters are no longer indented since 1.69.0

    bugUpdated Sep 26, 2026
  • #10370

    Test Request "Form" view: enum array is written as a comma-separated string rather than a JSON array

    bugUpdated Sep 26, 2026
  • #10360

    OAuth: Redirect URL is cleared unexpectedly and Refresh Token controls cannot be disabled

    bugUpdated Sep 25, 2026
  • #8503

    OAuth2 Authorization Code Flow: `client_id` not sent in token exchange, phantom duplicate scheme on scope selection

    bugUpdated Sep 25, 2026
  • #10351

    Signing in in the macOS client fails

    bugscalar appauthUpdated Sep 24, 2026
  • #4977

    API Client does not set field name correctly in [FromForm] requests contains list

    enhancementpackage: @scalar/api-clientUpdated Sep 23, 2026

> Tags

TypeScriptapiapi-clientdocshttp-client

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架