https://github.com/scalar/scalar
Scalar is an open-source API platform: 🌐 Modern REST API Client 📖 Beautiful API References ✨ 1st-Class OpenAPI/Swagger Support
https://github.com/scalar/scalar
api api-client docs http-client openapi openapi3 reference rest-api swagger vue
Last synced: 9 days ago
JSON representation
Scalar is an open-source API platform: 🌐 Modern REST API Client 📖 Beautiful API References ✨ 1st-Class OpenAPI/Swagger Support
- Host: GitHub
- URL: https://github.com/scalar/scalar
- Owner: scalar
- License: mit
- Created: 2023-08-16T13:42:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-04-10T00:09:58.000Z (17 days ago)
- Last Synced: 2026-04-10T01:23:23.127Z (17 days ago)
- Topics: api, api-client, docs, http-client, openapi, openapi3, reference, rest-api, swagger, vue
- Language: TypeScript
- Homepage: https://scalar.com
- Size: 284 MB
- Stars: 14,578
- Watchers: 34
- Forks: 804
- Open Issues: 114
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Codeowners: CODEOWNERS
- Security: SECURITY.md
- Agents: AGENTS.md
Awesome Lists containing this project
- awesome-documentation - Scalar - Generate interactive API documentations from Swagger files. (Documentation Types / API Documentation)
- awesome-github-repos - scalar/scalar - Scalar is an open-source API platform: 🌐 Modern REST API Client 📖 Beautiful API References (TypeScript)
- awesome - scalar/scalar - Scalar is an open-source API platform: 🌐 Modern REST API Client 📖 Beautiful API References ✨ 1st-Class OpenAPI/Swagger Support (TypeScript)
- jimsghstars - scalar/scalar - Scalar is an open-source API platform: 🌐 Modern Rest API Client 📖 Beautiful API References (TypeScript)
- awesome-microservices - Scalar - Open-source API platform: beautiful API references and 1st-class OpenAPI/Swagger support. (Web API Modeling & Documentation / REST)
- awesome - scalar/scalar - Scalar is an open-source API platform: 🌐 Modern Rest API Client 📖 Beautiful API References ✨ 1st-Class OpenAPI/Swagger Support (<a name="TypeScript"></a>TypeScript)
- fucking-awesome-microservices - Scalar - Open-source API platform: beautiful API references and 1st-class OpenAPI/Swagger support. (Web API Modeling & Documentation / REST)
README
[](https://github.com/scalar/scalar/actions/workflows/ci.yml)
[](https://github.com/scalar/scalar/graphs/contributors)
[](https://github.com/scalar/scalar/blob/main/LICENSE)
[](https://x.com/scalar)
[](https://discord.gg/scalar)
Scalar
### 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:
### Quickstart
All you need is a single HTML file to create an amazing API reference:
```html
Scalar API Reference
Scalar.createApiReference('#app', {
// The URL of the OpenAPI/Swagger document
url: 'https://registry.scalar.com/@scalar/apis/galaxy?format=json',
// Avoid CORS issues
proxyUrl: 'https://proxy.scalar.com',
})
```
> 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](https://scalar.com/products/api-references/integrations/html-js) (works everywhere)
- [.NET ASP.NET Core](https://scalar.com/products/api-references/integrations/aspnetcore/integration)
- [.NET Aspire](https://scalar.com/products/api-references/integrations/aspire)
- [AdonisJS](https://scalar.com/products/api-references/integrations/adonisjs)
- [Astro](https://scalar.com/products/api-references/integrations/astro)
- [Django Ninja](https://scalar.com/products/api-references/integrations/django-ninja)
- [Django](https://scalar.com/products/api-references/integrations/django)
- [Docker](https://scalar.com/products/api-references/integrations/docker)
- [Docusaurus](https://scalar.com/products/api-references/integrations/docusaurus)
- [Elixir](https://scalar.com/products/api-references/integrations/elixir)
- [Express](https://scalar.com/products/api-references/integrations/express)
- [FastAPI](https://scalar.com/products/api-references/integrations/fastapi)
- [Fastify](https://scalar.com/products/api-references/integrations/fastify)
- [Flask](https://scalar.com/products/api-references/integrations/flask)
- [Go](https://scalar.com/products/api-references/integrations/go)
- [Hapi](https://scalar.com/products/api-references/integrations/hapi)
- [Hono](https://scalar.com/products/api-references/integrations/hono)
- [Laravel Scribe](https://scalar.com/products/api-references/integrations/laravel-scribe)
- [Laravel](https://scalar.com/products/api-references/integrations/laravel)
- [Micronaut](https://scalar.com/products/api-references/integrations/micronaut)
- [NestJS](https://scalar.com/products/api-references/integrations/nestjs)
- [Next.js](https://scalar.com/products/api-references/integrations/nextjs)
- [Nuxt](https://scalar.com/products/api-references/integrations/nuxt)
- [Python](https://scalar.com/products/api-references/integrations/python)
- [React](https://scalar.com/products/api-references/integrations/react)
- [Ruby on Rails](https://scalar.com/products/api-references/integrations/ruby-on-rails)
- [Rust](https://scalar.com/products/api-references/integrations/rust)
- [Spring Boot](https://scalar.com/products/api-references/integrations/spring-boot)
- [SvelteKit](https://scalar.com/products/api-references/integrations/sveltekit)
- [Ts.ED](https://scalar.com/products/api-references/integrations/tsed)
- [Vue.js](https://scalar.com/products/api-references/integrations/vue)
### 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](https://scalar.com/products/api-references/integrations/effect)
- [ElysiaJS](https://scalar.com/products/api-references/integrations/elysiajs)
- [HappyX](https://github.com/HapticX/happyx)
- [Litestar](https://docs.litestar.dev/latest/usage/openapi/ui_plugins.html)
- [Nitro](https://scalar.com/products/api-references/integrations/nitro)
- [oRPC](https://orpc.unnoq.com/docs/openapi/plugins/openapi-reference)
- [Platformatic](https://scalar.com/products/api-references/integrations/platformatic)
- [Spry](https://scalar.com/products/api-references/integrations/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](https://scalar.com/products/docs/github-sync)
- Write free-form documentation
- Collaborate with your team
- Use any domain
Ready? [Create your Scalar Account](https://scalar.com)
### Documentation
| Topic | Description |
| ------------------------------------------------------------------------- | ------------------------------------ |
| [Configuration](https://scalar.com/products/api-references/configuration) | The universal configuration object |
| [Themes](https://scalar.com/products/api-references/themes) | Predefined themes, layouts & styling |
| [OpenAPI](https://scalar.com/products/api-references/openapi) | OpenAPI specification extensions |
| [Markdown](https://scalar.com/products/api-references/markdown) | Supported Markdown syntax |
| [Plugins](https://scalar.com/products/api-references/plugins) | Extend the functionality |
### Projects
| Project | Description |
| ---------------------------------------------------------------------------------- | -------------------------------- |
| [Scalar API Reference](https://scalar.com/products/api-references/getting-started) | Self-hosted API Reference |
| [Scalar API Client](https://scalar.com/download) | Postman alternative |
| [Agent Scalar](https://scalar.com/products/agent/getting-started) | Chat with your API |
| [Scalar Registry](https://scalar.com/products/registry/getting-started) | Manage OpenAPI documents |
| [Scalar Docs](https://scalar.com/products/docs/getting-started) | Hosted documentation |
| [Scalar Docs Starter](https://github.com/scalar/starter) | Starter template for Scalar Docs |
| [Scalar SDKs](https://scalar.com/products/sdks/getting-started) | SDK generation |
| [Scalar CLI](https://scalar.com/tools/cli/getting-started) | Command-line interface |
| [Scalar Mock Server](https://scalar.com/tools/mock-server/getting-started) | Mock APIs from OpenAPI documents |
| [Scalar Galaxy](packages/galaxy/README.md) | Our OpenAPI Example |
| [Scalar Editor](https://editor.scalar.com/) | OpenAPI Online Editor |
| [Scalar OpenAPI Parser](packages/openapi-parser/README.md) | Parse OpenAPI documents |
| [Scalar OpenAPI to Markdown](packages/openapi-to-markdown/README.md) | OpenAPI > Markdown/HTML |
| [Scalar OpenAPI Upgrader](packages/openapi-upgrader/README.md) | Upgrade OpenAPI documents |
| [Scalar Void Server](packages/void-server/README.md) | HTTP Request Mirror |
### Community
We are API nerds. You too? Let's chat on Discord:
### Contributions
Contributions are welcome! Read the [`CONTRIBUTING`](CONTRIBUTING.md) guide.
**Top 10 Contributors (April 2025)**
**Top Contributors (All Time)**
hanspagel
amritk
bgrcs
xC0dex
DemonHa
liamdscalar
antlio
hwkr
marclave
cameronrohani
geoffgscott
marcalexiei
tmastrom
inyourtime
AbdelhamidKhald
gevann
federicobond
ahmedrangel
matthyk
Amorim33
baywet
ivanagas
Mason-Little
YagUber
RemcoGoy
wilhelmer
adjsky
mpminardi
mcollina
TheVaan
cobyfrombrooklyn-bot
si-net
paulomorgado
nsychev
Mohib834
lc-soft
fuma-nama
Edgaraszs
ATREAY
alonfaraj
ledgersteve
timheuer
wilcoschoneveld
ykdojo
x-delfino
horpto
jpjpjp
trusta
hex0id
yshrsmz
soulchild
SebastianBienert
PrinceManfred
mouhannad-sh
mason-at-pieces
luc122c
luke-hagar-sp
handrews
Duncanma
WDaan
gsmcdonald
mirismaili
rmp135
roryschadler
rpmccarter
hrynevychroman
rbange
rcollas
bobheadxi
cactysman
STP5940
captainsafia
realsama
ventocis
SamyPesse
SergioChan
medz
dotfortun
smoores-dev
tinchoz49
MatteoH2O1999
maxehmookau
MaxBreida
mvt147
michielbdejong
1571min
malinbranduse
Lazialize
Olexandr88
pat-s
pkucmus
petercinibulk
petvas
philsturgeon
pdjohntony
rhuanbarreto
rickihastings
robert-dean
bingbeann
Chinlinlee
bsdayo
WilliamBonvini
danwithabox
demingongo
FotieMConstant
ga1az
g-airey
kwaichanz
milksense
o-az
omerp-explorium
stefanprobst
dunklesToast
tsiwek-piwik
dinwwwh
Huliiiiii
soGit
sinh117801
stratosblue
yokeTH
Thiago-Mausbach
thibaultleouay
thijskok
TomzBench
rektdeckard
Courtcircuits
mveselov-stack-wizard
Mai0313
Ma-ve
WesleySkeen
rotciw
Wolf-Syndrome
rolldeep-stepmerrily
zakaria-shahen
foxfriends
carstenlebek
chadwhitacre
chrislearn
jensenbox
ClanEver
damiansan239
danjohnson95
danp
darekaze
DavidNiessen
delputnam
lundibundi
untiny
diegolopes
DmitriiKhudiakov
elliotnash
elliott-with-the-longest-name-on-github
abdulamite
MathurAditya724
ahmadi-akbar
slash686
alewin
gizero
sigpwned
arashsheyda
thisisarko
arthurfiorette
zsilbi
saithis
BenJeau
bdpiprava
Borisich
bmanth60
brianheineman
brunogrcsada
Smyrcu
JacobCoffee
Tholdrim
Jefwillems
jqwn
Jannchie
jonataw
IHIutch
jlnslv
kaigritun
KevSlashNull
kou029w
krcm0209
kyllian
sanscontext
ShadiestGoat
da411d
marikaner
MarioGK
not-my-profile
emmanuel-ferdman
froggy1014
facus26
filiabel
flovouin
Fdawgs
silkfire
galah92
GreyXor
255kb
Hamidrzash
HelgeSverre
CJHwong
hpmouton
iagobalmeida
IceyWu
eltociear
tltsutltsu
kevinand11