Pixel-perfect Retina-ready Fast Consistent Hackable No tracking
Mozilla Add-on: | /amo/v/:addonId | |
---|---|---|
APM: | /apm/v/:packageName | |
Arch Linux package: | /archlinux/v/:repository/:architecture/:packageName | |
AUR version: | /aur/version/:packageName | |
Bower Version: | /bower/v/:packageName | |
Bower Version (including pre-releases): | /bower/v/:packageName?include_prereleases | |
Cdnjs: | /cdnjs/v/:library | |
Chocolatey Version: | /chocolatey/v/:packageName | |
Chocolatey Version (including pre-releases): | /chocolatey/v/:packageName?include_prereleases | |
Chrome Web Store: | /chrome-web-store/v/:storeId | |
Clojars Version: | /clojars/v/:clojar+ | |
Clojars Version (including pre-releases): | /clojars/v/:clojar+?include_prereleases | |
Cocoapods: | /cocoapods/v/:spec | |
Conan Center: | /conan/v/:packageName | |
Conda: | /conda/v/:channel/:package | |
Conda (channel only): | /conda/vn/:channel/:package | |
Chef cookbook: | /cookbook/v/:cookbook | |
CPAN: | /cpan/v/:packageName | |
CRAN/METACRAN: | /cran/v/:packageName | |
Crates.io: | /crates/v/:crate | |
CTAN: | /ctan/v/:library | |
Debian package: | /debian/v/:packageName/:distribution? | |
Docker Image Version (latest by date): | /docker/v/:user/:repo?arch=amd64&sort=date | |
Docker Image Version (latest semver): | /docker/v/:user/:repo?sort=semver | |
Docker Image Version (tag latest semver): | /docker/v/:user/:repo/:tag | |
DUB: | /dub/v/:packageName | |
Eclipse Marketplace: | /eclipse-marketplace/v/:name | |
Elm package: | /elm-package/v/:user/:packageName | |
F-Droid: | /f-droid/v/:appId | |
F-Droid (including pre-releases): | /f-droid/v/:appId?include_prereleases | |
Fedora package: | /fedora/v/:packageName/:branch? | |
Feedz: | /feedz/v/:organization/:repository/:packageName | |
Feedz (with prereleases): | /feedz/vpre/:organization/:repository/:packageName | |
Flathub: | /flathub/v/:packageName | |
Gem: | /gem/v/:gem | |
Gem (including prereleases): | /gem/v/:gem?include_prereleases | |
GitHub go.mod Go version: | /github/go-mod/go-version/:user/:repo | |
GitHub go.mod Go version (branch): | /github/go-mod/go-version/:user/:repo/:branch | |
GitHub go.mod Go version (subdirectory of monorepo): | /github/go-mod/go-version/:user/:repo?filename=src%2Fgo.mod | |
GitHub go.mod Go version (branch & subdirectory of monorepo): | /github/go-mod/go-version/:user/:repo/:branch?filename=src%2Fgo.mod | |
Github lerna version: | /github/lerna-json/v/:user/:repo | |
Github lerna version (branch): | /github/lerna-json/v/:user/:repo/:branch | |
GitHub manifest version: | /github/manifest-json/v/:user/:repo | |
GitHub manifest version: | /github/manifest-json/v/:user/:repo/:branch | |
GitHub manifest version (path): | /github/manifest-json/v/:user/:repo?filename=extension%2Fmanifest.json | |
GitHub manifest version (path): | /github/manifest-json/v/:user/:repo/:branch?filename=extension%2Fmanifest.json | |
GitHub package.json version: | /github/package-json/v/:user/:repo | |
GitHub package.json version (branch): | /github/package-json/v/:user/:repo/:branch | |
GitHub package.json version (subfolder of monorepo): | /github/package-json/v/:user/:repo?filename=packages%2Fchar-width-table-builder%2Fpackage.json | |
GitHub R package version: | /github/r-package/v/:user/:repo | |
GitHub R package version (branch): | /github/r-package/v/:user/:repo/:branch | |
GitHub R package version (subdirectory of monorepo): | /github/r-package/v/:user/:repo?filename=subdirectory%2FDESCRIPTION | |
GitHub R package version (branch & subdirectory of monorepo): | /github/r-package/v/:user/:repo/:branch?filename=subdirectory%2FDESCRIPTION | |
GitHub release (latest by date): | /github/v/release/:user/:repo?display_name=tag | |
GitHub release (latest by date including pre-releases): | /github/v/release/:user/:repo?display_name=tag&include_prereleases | |
GitHub release (latest SemVer): | /github/v/release/:user/:repo?display_name=tag&sort=semver | |
GitHub release (latest SemVer including pre-releases): | /github/v/release/:user/:repo?display_name=tag&include_prereleases&sort=semver | |
GitHub release (release name instead of tag name): | /github/v/release/:user/:repo?display_name=release&include_prereleases&sort=date | |
GitHub tag (latest by date): | /github/v/tag/:user/:repo | |
GitHub tag (latest SemVer): | /github/v/tag/:user/:repo?sort=semver | |
GitHub tag (latest SemVer pre-release): | /github/v/tag/:user/:repo?include_prereleases&sort=semver | |
GitLab Release (latest by date): | /gitlab/v/release/:project+?date_order_by=created_at&sort=date | |
GitLab Release (latest by SemVer): | /gitlab/v/release/:project+?sort=semver | |
GitLab Release (latest by SemVer pre-release): | /gitlab/v/release/:project+?include_prereleases&sort=semver | |
GitLab Release (custom instance): | /gitlab/v/release/:project+?date_order_by=created_at&gitlab_url=https%3A%2F%2Fgitlab.gnome.org&include_prereleases&sort=semver | |
GitLab Release (by release name): | /gitlab/v/release/:project+?date_order_by=created_at&display_name=release&gitlab_url=https%3A%2F%2Fgitlab.com&include_prereleases&sort=semver | |
GitLab tag (latest by date): | /gitlab/v/tag/:project+?sort=date | |
GitLab tag (latest by SemVer): | /gitlab/v/tag/:project+?sort=semver | |
GitLab tag (latest by SemVer pre-release): | /gitlab/v/tag/:project+?include_prereleases&sort=semver | |
GitLab tag (custom instance): | /gitlab/v/tag/:project+?gitlab_url=https%3A%2F%2Fgitlab.gnome.org&include_prereleases&sort=semver | |
Gradle Plugin Portal: | /gradle-plugin-portal/v/:pluginId?versionPrefix=0.10&versionSuffix=.1 | |
Hackage: | /hackage/v/:packageName | |
Hex.pm: | /hexpm/v/:packageName | |
homebrew cask: | /homebrew/cask/v/:cask | |
homebrew version: | /homebrew/v/:formula | |
iTunes App Store: | /itunes/v/:bundleId | |
Jenkins Plugins: | /jenkins/plugin/v/:plugin | |
JetBrains Plugins: | /jetbrains/plugin/v/:pluginId | |
JitPack: | /jitpack/v/:vcs/:user/:repo | |
LuaRocks: | /luarocks/v/:user/:moduleName/:version? | |
Maven Central: | /maven-central/v/:groupId/:artifactId?versionPrefix=29&versionSuffix=-android | |
Maven metadata URL: | /maven-metadata/v?metadataUrl=https%3A%2F%2Frepo1.maven.org%2Fmaven2%2Fcom%2Fgoogle%2Fguava%2Fguava%2Fmaven-metadata.xml&versionPrefix=29.&versionSuffix=-android | |
MyGet: | /myget/:feed/v/:packageName | |
MyGet (with prereleases): | /myget/:feed/vpre/:packageName | |
MyGet tenant: | /:tenant.myget/:feed/v/:packageName | |
Sonatype Nexus (Releases): | /nexus/r/:groupId/:artifactId?nexusVersion=3&server=https%3A%2F%2Fnexus.pentaho.org | |
Sonatype Nexus (Snapshots): | /nexus/s/:groupId/:artifactId?server=https%3A%2F%2Foss.sonatype.org | |
Sonatype Nexus (Repository): | /nexus/:repo/:groupId/:artifactId?server=https%3A%2F%2Frepository.jboss.org%2Fnexus | |
Sonatype Nexus (Query Options): | /nexus/:repo/:groupId/:artifactId?queryOpt=%3Ac%3Dagent-apple-osx%3Ap%3Dtar.gz&server=https%3A%2F%2Frepository.jboss.org%2Fnexus | |
npm: | /npm/v/:packageName | |
npm (scoped): | /npm/v/:scope/:packageName | |
npm (tag): | /npm/v/:packageName/:tag | |
npm (custom registry): | /npm/v/:packageName/:tag?registry_uri=https%3A%2F%2Fregistry.npmjs.com | |
npm (scoped with tag): | /npm/v/:scope/:packageName/:tag | |
Nuget: | /nuget/v/:packageName | |
Nuget (with prereleases): | /nuget/vpre/:packageName | |
Open VSX Version: | /open-vsx/v/:namespace/:extension | |
OPM: | /opm/v/:user/:moduleName | |
Ore Version: | /ore/v/:pluginId | |
Packagist Version: | /packagist/v/:user/:repo | |
Packagist Version (including pre-releases): | /packagist/v/:user/:repo?include_prereleases | |
Packagist Version (custom server): | /packagist/v/:user/:repo?server=https%3A%2F%2Fpackagist.org | |
PowerShell Gallery Version: | /powershellgallery/v/:packageName | |
PowerShell Gallery Version (including pre-releases): | /powershellgallery/v/:packageName?include_prereleases | |
Pub Version: | /pub/v/:packageName | |
Pub Version (including pre-releases): | /pub/v/:packageName?include_prereleases | |
Puppet Forge version: | /puppetforge/v/:user/:moduleName | |
PyPI: | /pypi/v/:packageName | |
JetBrains ReSharper plugins Version: | /resharper/v/:packageName | |
JetBrains ReSharper plugins Version (including pre-releases): | /resharper/v/:packageName?include_prereleases | |
Scoop Version: | /scoop/v/:app | |
Scoop Version (extras bucket): | /scoop/v/:app?bucket=extras | |
Spack: | /spack/v/:packageName | |
Spiget Version: | /spiget/version/:resourceId | |
Twitch Extension Version: | /twitch/extension/v/:extensionId | |
Ubuntu package: | /ubuntu/v/:packageName/:series? | |
Vaadin Directory: | /vaadin-directory/v/:packageName | |
Visual Studio App Center (Minimum) OS Version: | /visual-studio-app-center/releases/osver/:owner/:app/:token | |
Visual Studio App Center Releases: | /visual-studio-app-center/releases/version/:owner/:app/:token | |
Visual Studio Marketplace Version: | /visual-studio-marketplace/v/:extensionId | |
WordPress Theme Version: | /wordpress/theme/v/:slug | |
WordPress Plugin Version: | /wordpress/plugin/v/:slug |
Using dash "-" separator
/badge/<LABEL>-<MESSAGE>-<COLOR>
Dashes -- | → | - Dash |
Underscores __ | → | _ Underscore |
_ or Space | → | Space |
Using query string parameters
/static/v1?label=<LABEL>&message=<MESSAGE>&color=<COLOR>
/endpoint?url=<URL>&style<STYLE>
Create badges from your own JSON endpoint.
/badge/dynamic/json?url=<URL>&label=<LABEL>&query=<$.DATA.SUBDATA>&color=<COLOR>&prefix=<PREFIX>&suffix=<SUFFIX>
/badge/dynamic/xml?url=<URL>&label=<LABEL>&query=<//data/subdata>&color=<COLOR>&prefix=<PREFIX>&suffix=<SUFFIX>
/badge/dynamic/yaml?url=<URL>&label=<LABEL>&query=<$.DATA.SUBDATA>&color=<COLOR>&prefix=<PREFIX>&suffix=<SUFFIX>
The following styles are available. Flat is the default. Examples are shown with an optional logo:
?style=plastic&logo=appveyor | |
?style=flat&logo=appveyor | |
?style=flat-square&logo=appveyor | |
?style=for-the-badge&logo=appveyor | |
?style=social&logo=appveyor |
Here are a few other parameters you can use: (connecting several with "&" is possible)
?label=healthinesses | Override the default left-hand-side text (URL-Encoding needed for spaces or special characters!) |
?logo=appveyor | Insert one of the named logos from (bitcoin, dependabot, gitlab, npm, paypal, serverfault, stackexchange, superuser, telegram, travis) or simple-icons. Simple-icons are referenced using icon slugs which can be found on the simple-icons site or in the slugs.md file in the simple-icons repository. |
?logo=data:image/png;base64,… | Insert custom logo image (≥ 14px high). There is a limit on the total size of request headers we can accept (8192 bytes). From a practical perspective, this means the base64-encoded image text is limited to somewhere slightly under 8192 bytes depending on the rest of the request header. |
?logoColor=violet | Set the color of the logo (hex, rgb, rgba, hsl, hsla and css named colors supported). Supported for named logos but not for custom logos. |
?logoWidth=40 | Set the horizontal space to give to the logo |
?link=http://left&link=http://right | Specify what clicking on the left/right of a badge should do. Note that this only works when integrating your badge in an<object> HTML tag, but not an<img> tag or a markup language. |
?labelColor=abcdef | Set background of the left part (hex, rgb, rgba, hsl, hsla and css named colors supported). The legacy name "colorA" is also supported. |
?color=fedcba | Set background of the right part (hex, rgb, rgba, hsl, hsla and css named colors supported). The legacy name "colorB" is also supported. |
?cacheSeconds=3600 | Set the HTTP cache lifetime (rules are applied to infer a default value on a per-badge basis, any values specified below the default will be ignored). The legacy name "maxAge" is also supported. |
We support .svg
and .json
. The default is .svg
, which can be omitted from the URL.
While we highly recommend using SVG, we also support .png
for use cases where SVG will not work. These requests should be made to our raster server https://raster.shields.io
. For example, the raster equivalent of https://img.shields.io/npm/v/express
is https://raster.shields.io/npm/v/express
. For backward compatibility, the badge server will redirect .png
badges to the raster server.
Have an idea for an awesome new badge?
Tell us about it and we might bring it to you!