Skip to content
scalarPublic

About

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

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

16.2k stars

Watchers

38 watching

Forks

Latest commit

 

History

7,790 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Browser └ Download (Windows, MacOS, Linux)

Trusted by:


Scalar API client Scalar API client

Quickstart

Set up with your coding agent

Copy this prompt into your coding agent from your project:

Set up Scalar API Reference in this project.

Inspect the project’s framework, package manager, routing, and existing
OpenAPI setup. Choose the appropriate framework integration from
https://scalar.com/products/api-references and install it using this
project’s conventions.

If no framework integration exists, render a route using the HTML/JS guide:
https://scalar.com/products/api-references/integrations/html-js
Also ask whether I want to request a framework integration here:
https://github.com/scalar/scalar/discussions/new?category=ideas

Serve the API reference at /scalar, or use an existing documentation route,
and connect it to the project’s OpenAPI document or generated endpoint.
If no OpenAPI document exists, ask me which source to use or whether
we need to add OpenAPI generation.

Use these guides for configuration and theming:
https://scalar.com/products/api-references/configuration
https://scalar.com/products/api-references/themes

Implement the setup, verify that the page loads and displays the API
documentation, and tell me how to run it locally and where to find it.

Set up with HTML

All you need is a single HTML file. Load the ESM build from our CDN, with no build step required:

<!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>

    <script type="module">
      import { createApiReference } from 'https://cdn.jsdelivr.net/npm/@scalar/api-reference/esm.js'

      createApiReference('#app', {
        // The URL of the OpenAPI 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 Contributors (Last Month)

Top contributors in September 2026 Top contributors in September 2026



Top Contributors (All Time)

hanspagel
hanspagel
amritk
amritk
hwkr
hwkr
marclave
marclave
DemonHa
DemonHa
cameronrohani
cameronrohani
xC0dex
xC0dex
geoffgscott
geoffgscott
marcalexiei
marcalexiei
tmastrom
tmastrom
antlio
antlio
inyourtime
inyourtime
liamdscalar
liamdscalar
bgrcs
bgrcs
bielu
bielu
lazerg
lazerg
AbdelhamidKhald
AbdelhamidKhald
alonfaraj
alonfaraj
gevann
gevann
AshishKumarPathak
AshishKumarPathak
federicobond
federicobond
ahmedrangel
ahmedrangel
matthyk
matthyk
Amorim33
Amorim33
wilhelmer
wilhelmer
baywet
baywet
YagUber
YagUber
Mason-Little
Mason-Little
ivanagas
ivanagas
Edgaraszs
Edgaraszs
guillaume-flambard
guillaume-flambard
adjsky
adjsky
RemcoGoy
RemcoGoy
TheVaan
TheVaan
mpminardi
mpminardi
mcollina
mcollina
cobyfrombrooklyn-bot
cobyfrombrooklyn-bot
si-net
si-net
paulomorgado
paulomorgado
nsychev
nsychev
Mohib834
Mohib834
lc-soft
lc-soft
fuma-nama
fuma-nama
ATREAY
ATREAY
SebastianBienert
SebastianBienert
SimonVadier
SimonVadier
ledgersteve
ledgersteve
timheuer
timheuer
wilcoschoneveld
wilcoschoneveld
ykdojo
ykdojo
x-delfino
x-delfino
horpto
horpto
jpjpjp
jpjpjp
trusta
trusta
hex0id
hex0id
yshrsmz
yshrsmz
soulchild
soulchild
aqeelat
aqeelat
WDaan
WDaan
Duncanma
Duncanma
silkfire
silkfire
gsmcdonald
gsmcdonald
handrews
handrews
kou029w
kou029w
luke-hagar-sp
luke-hagar-sp
luc122c
luc122c
mason-at-pieces
mason-at-pieces
mouhannad-sh
mouhannad-sh
PrinceManfred
PrinceManfred
cyphercodes
cyphercodes
ryux1
ryux1
rmp135
rmp135
roryschadler
roryschadler
rpmccarter
rpmccarter
hrynevychroman
hrynevychroman
rbange
rbange
rcollas
rcollas
bobheadxi
bobheadxi
robert-dean
robert-dean
marikaner
marikaner
mirismaili
mirismaili
STP5940
STP5940
captainsafia
captainsafia
realsama
realsama
ventocis
ventocis
SamyPesse
SamyPesse
scottamain
scottamain
SergioChan
SergioChan
medz
medz
dotfortun
dotfortun
smoores-dev
smoores-dev
MarioGK
MarioGK
not-my-profile
not-my-profile
tinchoz49
tinchoz49
MatteoH2O1999
MatteoH2O1999
maxehmookau
maxehmookau
MaxBreida
MaxBreida
mvt147
mvt147
michielbdejong
michielbdejong
1571min
1571min
fitchmultz
fitchmultz
malinbranduse
malinbranduse
Lazialize
Lazialize
Olexandr88
Olexandr88
pat-s
pat-s
pkucmus
pkucmus
petercinibulk
petercinibulk
petvas
petvas
philsturgeon
philsturgeon
pdjohntony
pdjohntony
Fjandin
Fjandin
rhuanbarreto
rhuanbarreto
rickihastings
rickihastings
soGit
soGit
Chinlinlee
Chinlinlee
bsdayo
bsdayo
WilliamBonvini
WilliamBonvini
danwithabox
danwithabox
demingongo
demingongo
eightdeekay
eightdeekay
FotieMConstant
FotieMConstant
ga1az
ga1az
g-airey
g-airey
gary5
gary5
kwaichanz
kwaichanz
lavagri
lavagri
milksense
milksense
o-az
o-az
omerp-explorium
omerp-explorium
stefanprobst
stefanprobst
dunklesToast
dunklesToast
tsiwek-piwik
tsiwek-piwik
dinwwwh
dinwwwh
zgcalebp
zgcalebp
Huliiiiii
Huliiiiii
sidsri14
sidsri14
sinh117801
sinh117801
stratosblue
stratosblue
taljeon
taljeon
yokeTH
yokeTH
Thiago-Mausbach
Thiago-Mausbach
thibaultleouay
thibaultleouay
thijskok
thijskok
TomzBench
TomzBench
rektdeckard
rektdeckard
Courtcircuits
Courtcircuits
ubay1
ubay1
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
bingbeann
bingbeann
abdulamite
abdulamite
foxfriends
foxfriends
carstenlebek
carstenlebek
chadwhitacre
chadwhitacre
charan-rathore
charan-rathore
chrislearn
chrislearn
jensenbox
jensenbox
ClanEver
ClanEver
damiansan239
damiansan239
danjohnson95
danjohnson95
danp
danp
benedekdaniel
benedekdaniel
darekaze
darekaze
DavidNiessen
DavidNiessen
delputnam
delputnam
lundibundi
lundibundi
untiny
untiny
diegolopes
diegolopes
DmitriiKhudiakov
DmitriiKhudiakov
Garfielk
Garfielk
elliotnash
elliotnash
elliott-with-the-longest-name-on-github
elliott-with-the-longest-name-on-github
emmanuel-ferdman
emmanuel-ferdman
MathurAditya724
MathurAditya724
ahmadi-akbar
ahmadi-akbar
slash686
slash686
alewin
alewin
gizero
gizero
sigpwned
sigpwned
vixalien
vixalien
AniketR10
AniketR10
arashsheyda
arashsheyda
thisisarko
thisisarko
arthurfiorette
arthurfiorette
zsilbi
zsilbi
saithis
saithis
BenJeau
BenJeau
bdpiprava
bdpiprava
Borisich
Borisich
xmrfate
xmrfate
bmanth60
bmanth60
brianheineman
brianheineman
brunogrcsada
brunogrcsada
Smyrcu
Smyrcu
cactyx
cactyx
IsaacJenkinsTPZ
IsaacJenkinsTPZ
andthexi
andthexi
JacobCoffee
JacobCoffee
jan-krueger
jan-krueger
Tholdrim
Tholdrim
Jefwillems
Jefwillems
jqwn
jqwn
Jannchie
Jannchie
Joab0
Joab0
jonataw
jonataw
IHIutch
IHIutch
JosiahParry
JosiahParry
Gulum
Gulum
jlnslv
jlnslv
kaigritun
kaigritun
KevSlashNull
KevSlashNull
krcm0209
krcm0209
kyllian
kyllian
sanscontext
sanscontext
ShadiestGoat
ShadiestGoat
momomuchu
momomuchu
da411d
da411d
froggy1014
froggy1014
facus26
facus26
filiabel
filiabel
flovouin
flovouin
Fdawgs
Fdawgs
fredrik-aschehoug
fredrik-aschehoug
galah92
galah92
GavinPizza
GavinPizza
ff-gerard
ff-gerard
GreyXor
GreyXor
255kb
255kb
haidargit
haidargit
Hamidrzash
Hamidrzash
haydenbleasel
haydenbleasel
HelgeSverre
HelgeSverre
CJHwong
CJHwong
hpmouton
hpmouton
iagobalmeida
iagobalmeida
IceyWu
IceyWu
Poliklot
Poliklot
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

Code of conduct

Contributing

Security policy

Stars

16.2k stars

Watchers

38 watching

Forks

Releases

Used by

Contributors

Languages