Scalar is an open-source API platform: 🌐 Modern REST API Client 📖 Beautiful API R
Scalar is an open-source API platform: 🌐 Modern REST API Client 📖 Beautiful API R
Scalar
└ 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
└ 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)
</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>
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:
The following frameworks have chosen Scalar API Reference as their default OpenAPI documentation UI, recognizing its developer-friendly features and modern design:
We're offering a free and paid managed hosting on the edge, too:
YOUR_NAME_HERE.apidocumentation.com subdomain and SSL (free)Ready? Create your Scalar Account
| Topic | Description |
|---|---|
| Configuration | The universal configuration object |
| Themes | Predefined themes, layouts & styling |
| OpenAPI | OpenAPI specification extensions |
| Markdown | Supported Markdown syntax |
| Plugins | Extend the functionality |
| 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 |
We are API nerds. You too? Let's chat on Discord: https://discord.gg/scalar
Contributions are welcome! Read the CONTRIBUTING guide.
Top Contributors (Last Month)
Top Contributors (All Time)
Flattened object when having nested object value with `allOf`
CodeMirror request body renders large blank gaps due to .cm-content { max-height: 20px }
The default oauth2 redirect URL is not autofilled when Scopes are not present in an OpenAPI spec (Scalar.AspNetCore)
show schemas in api client
Nested properties of array-of-objects query parameters are no longer indented since 1.69.0
Test Request "Form" view: enum array is written as a comma-separated string rather than a JSON array
OAuth: Redirect URL is cleared unexpectedly and Refresh Token controls cannot be disabled
OAuth2 Authorization Code Flow: `client_id` not sent in token exchange, phantom duplicate scheme on scope selection
Signing in in the macOS client fails
API Client does not set field name correctly in [FromForm] requests contains list