Skip to content
/ scalar Public
forked from scalar/scalar

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

License

Notifications You must be signed in to change notification settings

xC0dex/scalar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 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
xC0dex
xC0dex
antlio
antlio
marclave
marclave
hwkr
hwkr
cameronrohani
cameronrohani
geoffgscott
geoffgscott
DemonHa
DemonHa
tmastrom
tmastrom
inyourtime
inyourtime
marcalexiei
marcalexiei
bgrcs
bgrcs
gevann
gevann
federicobond
federicobond
ahmedrangel
ahmedrangel
matthyk
matthyk
Amorim33
Amorim33
baywet
baywet
liamdscalar
liamdscalar
Mason-Little
Mason-Little
ivanagas
ivanagas
adjsky
adjsky
RemcoGoy
RemcoGoy
mcollina
mcollina
mpminardi
mpminardi
nsychev
nsychev
Mohib834
Mohib834
lc-soft
lc-soft
fuma-nama
fuma-nama
Edgaraszs
Edgaraszs
ATREAY
ATREAY
soulchild
soulchild
yshrsmz
yshrsmz
TheVaan
TheVaan
hex0id
hex0id
x-delfino
x-delfino
ykdojo
ykdojo
timheuer
timheuer
ledgersteve
ledgersteve
SebastianBienert
SebastianBienert
mouhannad-sh
mouhannad-sh
mason-at-pieces
mason-at-pieces
luc122c
luc122c
WDaan
WDaan
gsmcdonald
gsmcdonald
Duncanma
Duncanma
handrews
handrews
rmp135
rmp135
mirismaili
mirismaili
STP5940
STP5940
captainsafia
captainsafia
realsama
realsama
ventocis
ventocis
dotfortun
dotfortun
smoores-dev
smoores-dev
soGit
soGit
si-net
si-net
sinh117801
sinh117801
stratosblue
stratosblue
yokeTH
yokeTH
roryschadler
roryschadler
rpmccarter
rpmccarter
hrynevychroman
hrynevychroman
rbange
rbange
rickihastings
rickihastings
rhuanbarreto
rhuanbarreto
petercinibulk
petercinibulk
Olexandr88
Olexandr88
Lazialize
Lazialize
malinbranduse
malinbranduse
mvt147
mvt147
MaxBreida
MaxBreida
tinchoz49
tinchoz49
not-my-profile
not-my-profile
MarioGK
MarioGK
Huliiiiii
Huliiiiii
unnoq
unnoq
tsiwek-piwik
tsiwek-piwik
dunklesToast
dunklesToast
omerp-explorium
omerp-explorium
o-az
o-az
milksense
milksense
kwaichanz
kwaichanz
jpjpjp
jpjpjp
horpto
horpto
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
wilcoschoneveld
wilcoschoneveld
rotciw
rotciw
WesleySkeen
WesleySkeen
Ma-ve
Ma-ve
Mai0313
Mai0313
Courtcircuits
Courtcircuits
rektdeckard
rektdeckard
thibaultleouay
thibaultleouay
DmitriiKhudiakov
DmitriiKhudiakov
diegolopes
diegolopes
untiny
untiny
lundibundi
lundibundi
DavidNiessen
DavidNiessen
darekaze
darekaze
danp
danp
danjohnson95
danjohnson95
yungwarlock
yungwarlock
ClanEver
ClanEver
chrislearn
chrislearn
chadwhitacre
chadwhitacre
carstenlebek
carstenlebek
cactysman
cactysman
brunogrcsada
brunogrcsada
brianheineman
brianheineman
Borisich
Borisich
bdpiprava
bdpiprava
BenJeau
BenJeau
saithis
saithis
zsilbi
zsilbi
arthurfiorette
arthurfiorette
arashsheyda
arashsheyda
sigpwned
sigpwned
gizero
gizero
alewin
alewin
slash686
slash686
ahmadi-akbar
ahmadi-akbar
MathurAditya724
MathurAditya724
abdulamite
abdulamite
luke-hagar-sp
luke-hagar-sp
ShadiestGoat
ShadiestGoat
mrlubos
mrlubos
sanscontext
sanscontext
kyllian
kyllian
jlnslv
jlnslv
IHIutch
IHIutch
jonataw
jonataw
Jannchie
Jannchie
jwangnz
jwangnz
Jefwillems
Jefwillems
Tholdrim
Tholdrim
JacobCoffee
JacobCoffee
kevinand11
kevinand11
tltsutltsu
tltsutltsu
eltociear
eltociear
IceyWu
IceyWu
iagobalmeida
iagobalmeida
hpmouton
hpmouton
CJHwong
CJHwong
HelgeSverre
HelgeSverre
Hamidrzash
Hamidrzash
255kb
255kb
GreyXor
GreyXor
Fdawgs
Fdawgs
filiabel
filiabel
facus26
facus26
emmanuel-ferdman
emmanuel-ferdman
elliott-with-the-longest-name-on-github
elliott-with-the-longest-name-on-github
elliotnash
elliotnash

About

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

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 49.6%
  • TypeScript 43.9%
  • C# 2.5%
  • Java 1.3%
  • Python 1.0%
  • CSS 0.8%
  • Other 0.9%