scalar

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

10064
347
Vue

CI
Contributors
GitHub License
Discord
Scalar App

Scalar

Scalar API client Scalar API Reference

An offline first API Client built for OpenAPI

└ Minimal, powerful & open-source

└ Integrates with dozens of API Frameworks (Elysia, Hono, FastAPI, etc)

└ Syncs directly with your server frameworks with our Watch Mode

└ First class OpenAPI (formerly Swagger) support

└ Environment variables and dynamic parameters

└ Save and organize requests into collections

Download (Windows, MacOS, Linux)

Try Online Demo

Interactive API Reference from OpenAPI/Swagger

└ Uses OpenAPI/Swagger documents
└ Request examples for many favorite languages and frameworks
└ Comes with an integrated API playground
└ Integrates with your favorite framework
└ Doesn't look like 2011
Try Demo

Trusted by:


Quickstart

You’re just one HTML file away from having an awesome 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://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.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 your API references (free)
  • Get SSL and a super cool *.apidocumentation.com subdomain (free)
  • Write free text documentation (paid)
  • Collaborate with your whole team (paid)
  • Use any domain (paid)

Ready? Create your account on scalar.com.


Projects

Project Description
Scalar API Client API client
Scalar CLI Command-line interface
Scalar Galaxy OpenAPI Example
Scalar Play Button Quick API Client Embed
Scalar Mock Server OpenAPI Mock Server
Scalar Void Server HTTP Request Mirror
Scalar Open API Parser OpenAPI SDK
Scalar Sandbox Online OpenAPI Editor

Documentation

Topic Description
Themes Themes, layouts & styling
Configuration The universal configuration object
OpenAPI OpenAPI and our extensions to it
Markdown Markdown syntax

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 (November 2024)



Top Contributors (All Time)

hanspagel
hanspagel
amritk
amritk
xC0dex
xC0dex
antlio
antlio
marclave
marclave
hwkr
hwkr
cameronrohani
cameronrohani
tmastrom
tmastrom
geoffgscott
geoffgscott
inyourtime
inyourtime
Amorim33
Amorim33
ivanagas
ivanagas
Mason-Little
Mason-Little
RemcoGoy
RemcoGoy
adjsky
adjsky
ATREAY
ATREAY
Edgaraszs
Edgaraszs
fuma-nama
fuma-nama
lc-soft
lc-soft
Mohib834
Mohib834
mcollina
mcollina
soulchild
soulchild
yshrsmz
yshrsmz
mpminardi
mpminardi
hex0id
hex0id
x-delfino
x-delfino
ykdojo
ykdojo
timheuer
timheuer
SebastianBienert
SebastianBienert
DemonHa
DemonHa
mouhannad-sh
mouhannad-sh
matthyk
matthyk
mason-at-pieces
mason-at-pieces
bgrcs
bgrcs
WDaan
WDaan
gsmcdonald
gsmcdonald
federicobond
federicobond
hrynevychroman
hrynevychroman
rpmccarter
rpmccarter
rmp135
rmp135
STP5940
STP5940
captainsafia
captainsafia
realsama
realsama
dotfortun
dotfortun
soGit
soGit
Huliiiiii
Huliiiiii
rbange
rbange
rickihastings
rickihastings
petercinibulk
petercinibulk
malinbranduse
malinbranduse
MaxBreida
MaxBreida
MarioGK
MarioGK
luc122c
luc122c
ShadiestGoat
ShadiestGoat
sanscontext
sanscontext
Duncanma
Duncanma
tsiwek-piwik
tsiwek-piwik
dunklesToast
dunklesToast
o-az
o-az
kwaichanz
kwaichanz
g-airey
g-airey
ga1az
ga1az
FotieMConstant
FotieMConstant
danwithabox
danwithabox
WilliamBonvini
WilliamBonvini
bsdayo
bsdayo
Chinlinlee
Chinlinlee
bingbeann
bingbeann
Wolf-Syndrome
Wolf-Syndrome
wilcoschoneveld
wilcoschoneveld
rotciw
rotciw
Mai0313
Mai0313
Courtcircuits
Courtcircuits
thibaultleouay
thibaultleouay
sinh117801
sinh117801
diegolopes
diegolopes
lundibundi
lundibundi
darekaze
darekaze
danp
danp
danjohnson95
danjohnson95
chrislearn
chrislearn
chadwhitacre
chadwhitacre
carstenlebek
carstenlebek
cactysman
cactysman
brunogrcsada
brunogrcsada
bdpiprava
bdpiprava
saithis
saithis
zsilbi
zsilbi
arthurfiorette
arthurfiorette
arashsheyda
arashsheyda
sigpwned
sigpwned
gizero
gizero
alewin
alewin
slash686
slash686
abdulamite
abdulamite
kyllian
kyllian
KiARC
KiARC
IHIutch
IHIutch
jonataw
jonataw
Jannchie
Jannchie
jwangnz
jwangnz
Jefwillems
Jefwillems
TheVaan
TheVaan
JacobCoffee
JacobCoffee
kevinand11
kevinand11
eltociear
eltociear
IceyWu
IceyWu
CJHwong
CJHwong
HelgeSverre
HelgeSverre
Hamidrzash
Hamidrzash
GreyXor
GreyXor
Fdawgs
Fdawgs
facus26
facus26
emmanuel-ferdman
emmanuel-ferdman
elliott-with-the-longest-name-on-github
elliott-with-the-longest-name-on-github
elliotnash
elliotnash