GitHub - scalar/scalar: Scalar is an open-source API platform:                                       🌐 Modern Rest API Client                                        📖 Beautiful API References                                        ✨ 1st-Class OpenAPI/Swagger Support

CI Contributors GitHub License Twitter Discord

Scalar

Scalar API Reference Scalar API client

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 BrowserDownload (Windows, MacOS, Linux)

Trusted by:

Scalar API client Scalar API client

Quickstart

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

<!doctype html>
<html>
  <head>
    <title>Scalar API Reference</title>
    <meta charset="utf-8" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1" />
  </head>

  <body>
    <div id="app"></div>

    <!-- Load the Script -->
    <script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>

    <!-- Initialize the Scalar API Reference -->
    <script>
      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',
      })
    </script>
  </body>
</html>

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

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:

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
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 10 Contributors (April 2025)

Top Contributors (All Time)

hanspagel
hanspagel
amritk
amritk
bgrcs
bgrcs
xC0dex
xC0dex
liamdscalar
liamdscalar
antlio
antlio
hwkr
hwkr
marclave
marclave
cameronrohani
cameronrohani
DemonHa
DemonHa
geoffgscott
geoffgscott
marcalexiei
marcalexiei
tmastrom
tmastrom
inyourtime
inyourtime
gevann
gevann
federicobond
federicobond
ahmedrangel
ahmedrangel
matthyk
matthyk
Amorim33
Amorim33
baywet
baywet
Mason-Little
Mason-Little
ivanagas
ivanagas
adjsky
adjsky
RemcoGoy
RemcoGoy
mcollina
mcollina
mpminardi
mpminardi
TheVaan
TheVaan
si-net
si-net
nsychev
nsychev
Mohib834
Mohib834
lc-soft
lc-soft
ATREAY
ATREAY
fuma-nama
fuma-nama
Edgaraszs
Edgaraszs
Duncanma
Duncanma
ledgersteve
ledgersteve
timheuer
timheuer
wilcoschoneveld
wilcoschoneveld
ykdojo
ykdojo
x-delfino
x-delfino
horpto
horpto
jpjpjp
jpjpjp
soulchild
soulchild
hex0id
hex0id
yshrsmz
yshrsmz
gsmcdonald
gsmcdonald
WDaan
WDaan
handrews
handrews
wilhelmer
wilhelmer
luke-hagar-sp
luke-hagar-sp
luc122c
luc122c
mason-at-pieces
mason-at-pieces
mouhannad-sh
mouhannad-sh
PrinceManfred
PrinceManfred
SebastianBienert
SebastianBienert
bobheadxi
bobheadxi
rbange
rbange
hrynevychroman
hrynevychroman
rpmccarter
rpmccarter
roryschadler
roryschadler
rmp135
rmp135
mirismaili
mirismaili
STP5940
STP5940
captainsafia
captainsafia
realsama
realsama
ventocis
ventocis
SamyPesse
SamyPesse
dotfortun
dotfortun
smoores-dev
smoores-dev
soGit
soGit
MarioGK
MarioGK
not-my-profile
not-my-profile
tinchoz49
tinchoz49
MatteoH2O1999
MatteoH2O1999
maxehmookau
maxehmookau
MaxBreida
MaxBreida
mvt147
mvt147
michielbdejong
michielbdejong
malinbranduse
malinbranduse
Lazialize
Lazialize
Olexandr88
Olexandr88
pkucmus
pkucmus
petercinibulk
petercinibulk
philsturgeon
philsturgeon
rhuanbarreto
rhuanbarreto
rickihastings
rickihastings
robert-dean
robert-dean
Huliiiiii
Huliiiiii
unnoq
unnoq
tsiwek-piwik
tsiwek-piwik
dunklesToast
dunklesToast
stefanprobst
stefanprobst
omerp-explorium
omerp-explorium
o-az
o-az
milksense
milksense
kwaichanz
kwaichanz
g-airey
g-airey
ga1az
ga1az
FotieMConstant
FotieMConstant
danwithabox
danwithabox
WilliamBonvini
WilliamBonvini
bsdayo
bsdayo
Chinlinlee
Chinlinlee
bingbeann
bingbeann
zakaria-shahen
zakaria-shahen
rolldeep-stepmerrily
rolldeep-stepmerrily
Wolf-Syndrome
Wolf-Syndrome
rotciw
rotciw
WesleySkeen
WesleySkeen
Ma-ve
Ma-ve
Mai0313
Mai0313
Courtcircuits
Courtcircuits
rektdeckard
rektdeckard
TomzBench
TomzBench
thijskok
thijskok
thibaultleouay
thibaultleouay
yokeTH
yokeTH
stratosblue
stratosblue
sinh117801
sinh117801
Smyrcu
Smyrcu
cactysman
cactysman
foxfriends
foxfriends
carstenlebek
carstenlebek
chadwhitacre
chadwhitacre
chrislearn
chrislearn
jensenbox
jensenbox
ClanEver
ClanEver
damiansan239
damiansan239
danjohnson95
danjohnson95
danp
danp
darekaze
darekaze
DavidNiessen
DavidNiessen
lundibundi
lundibundi
untiny
untiny
diegolopes
diegolopes
eltociear
eltociear
abdulamite
abdulamite
MathurAditya724
MathurAditya724
ahmadi-akbar
ahmadi-akbar
slash686
slash686
alewin
alewin
gizero
gizero
sigpwned
sigpwned
arashsheyda
arashsheyda
thisisarko
thisisarko
arthurfiorette
arthurfiorette
zsilbi
zsilbi
saithis
saithis
BenJeau
BenJeau
bdpiprava
bdpiprava
Borisich
Borisich
brianheineman
brianheineman
brunogrcsada
brunogrcsada
tltsutltsu
tltsutltsu
kevinand11
kevinand11
JacobCoffee
JacobCoffee
Tholdrim
Tholdrim
Jefwillems
Jefwillems
jqwn
jqwn
Jannchie
Jannchie
jonataw
jonataw
IHIutch
IHIutch
jlnslv
jlnslv
kaigritun
kaigritun
KevSlashNull
KevSlashNull
kyllian
kyllian
sanscontext
sanscontext
mrlubos
mrlubos
ShadiestGoat
ShadiestGoat
DmitriiKhudiakov
DmitriiKhudiakov
elliotnash
elliotnash
elliott-with-the-longest-name-on-github
elliott-with-the-longest-name-on-github
emmanuel-ferdman
emmanuel-ferdman
facus26
facus26
filiabel
filiabel
flovouin
flovouin
Fdawgs
Fdawgs
galah92
galah92
GreyXor
GreyXor
255kb
255kb
Hamidrzash
Hamidrzash
HelgeSverre
HelgeSverre
CJHwong
CJHwong
hpmouton
hpmouton
iagobalmeida
iagobalmeida
IceyWu
IceyWu