Skip to content

scalar/scalar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6,295 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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



Top Contributors (All Time)

hanspagel
hanspagel
amritk
amritk
bgrcs
bgrcs
xC0dex
xC0dex
DemonHa
DemonHa
liamdscalar
liamdscalar
antlio
antlio
hwkr
hwkr
marclave
marclave
cameronrohani
cameronrohani
geoffgscott
geoffgscott
marcalexiei
marcalexiei
tmastrom
tmastrom
inyourtime
inyourtime
gevann
gevann
federicobond
federicobond
ahmedrangel
ahmedrangel
matthyk
matthyk
AbdelhamidKhald
AbdelhamidKhald
Amorim33
Amorim33
baywet
baywet
ivanagas
ivanagas
Mason-Little
Mason-Little
RemcoGoy
RemcoGoy
adjsky
adjsky
mpminardi
mpminardi
mcollina
mcollina
TheVaan
TheVaan
cobyfrombrooklyn-bot
cobyfrombrooklyn-bot
si-net
si-net
paulomorgado
paulomorgado
nsychev
nsychev
Mohib834
Mohib834
lc-soft
lc-soft
wilhelmer
wilhelmer
fuma-nama
fuma-nama
Edgaraszs
Edgaraszs
ATREAY
ATREAY
gsmcdonald
gsmcdonald
timheuer
timheuer
wilcoschoneveld
wilcoschoneveld
ykdojo
ykdojo
x-delfino
x-delfino
horpto
horpto
jpjpjp
jpjpjp
trusta
trusta
hex0id
hex0id
yshrsmz
yshrsmz
soulchild
soulchild
WDaan
WDaan
Duncanma
Duncanma
handrews
handrews
luke-hagar-sp
luke-hagar-sp
luc122c
luc122c
mason-at-pieces
mason-at-pieces
mouhannad-sh
mouhannad-sh
PrinceManfred
PrinceManfred
SebastianBienert
SebastianBienert
ledgersteve
ledgersteve
cactysman
cactysman
bobheadxi
bobheadxi
rcollas
rcollas
rbange
rbange
hrynevychroman
hrynevychroman
rpmccarter
rpmccarter
roryschadler
roryschadler
rmp135
rmp135
mirismaili
mirismaili
STP5940
STP5940
captainsafia
captainsafia
realsama
realsama
ventocis
ventocis
SamyPesse
SamyPesse
SergioChan
SergioChan
dotfortun
dotfortun
smoores-dev
smoores-dev
not-my-profile
not-my-profile
tinchoz49
tinchoz49
MatteoH2O1999
MatteoH2O1999
maxehmookau
maxehmookau
MaxBreida
MaxBreida
mvt147
mvt147
michielbdejong
michielbdejong
1571min
1571min
malinbranduse
malinbranduse
Lazialize
Lazialize
Olexandr88
Olexandr88
pkucmus
pkucmus
petercinibulk
petercinibulk
petvas
petvas
philsturgeon
philsturgeon
rhuanbarreto
rhuanbarreto
rickihastings
rickihastings
robert-dean
robert-dean
bingbeann
bingbeann
Chinlinlee
Chinlinlee
bsdayo
bsdayo
WilliamBonvini
WilliamBonvini
danwithabox
danwithabox
FotieMConstant
FotieMConstant
ga1az
ga1az
g-airey
g-airey
kwaichanz
kwaichanz
milksense
milksense
o-az
o-az
omerp-explorium
omerp-explorium
stefanprobst
stefanprobst
dunklesToast
dunklesToast
tsiwek-piwik
tsiwek-piwik
dinwwwh
dinwwwh
Huliiiiii
Huliiiiii
soGit
soGit
sinh117801
sinh117801
stratosblue
stratosblue
yokeTH
yokeTH
thibaultleouay
thibaultleouay
thijskok
thijskok
TomzBench
TomzBench
rektdeckard
rektdeckard
Courtcircuits
Courtcircuits
mveselov-stack-wizard
mveselov-stack-wizard
Mai0313
Mai0313
Ma-ve
Ma-ve
WesleySkeen
WesleySkeen
rotciw
rotciw
Wolf-Syndrome
Wolf-Syndrome
rolldeep-stepmerrily
rolldeep-stepmerrily
zakaria-shahen
zakaria-shahen
foxfriends
foxfriends
carstenlebek
carstenlebek
chadwhitacre
chadwhitacre
chrislearn
chrislearn
jensenbox
jensenbox
ClanEver
ClanEver
damiansan239
damiansan239
danjohnson95
danjohnson95
danp
danp
darekaze
darekaze
DavidNiessen
DavidNiessen
delputnam
delputnam
lundibundi
lundibundi
untiny
untiny
diegolopes
diegolopes
DmitriiKhudiakov
DmitriiKhudiakov
elliotnash
elliotnash
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
Smyrcu
Smyrcu
kevinand11
kevinand11
JacobCoffee
JacobCoffee
Tholdrim
Tholdrim
Jefwillems
Jefwillems
jqwn
jqwn
Jannchie
Jannchie
jonataw
jonataw
IHIutch
IHIutch
jlnslv
jlnslv
kaigritun
kaigritun
KevSlashNull
KevSlashNull
kou029w
kou029w
krcm0209
krcm0209
kyllian
kyllian
sanscontext
sanscontext
ShadiestGoat
ShadiestGoat
marikaner
marikaner
MarioGK
MarioGK
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
silkfire
silkfire
galah92
galah92
GreyXor
GreyXor
255kb
255kb
Hamidrzash
Hamidrzash
HelgeSverre
HelgeSverre
CJHwong
CJHwong
hpmouton
hpmouton
iagobalmeida
iagobalmeida
IceyWu
IceyWu
eltociear
eltociear
tltsutltsu
tltsutltsu

About

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

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks