Pixel-perfect   Retina-ready   Fast   Consistent   Hackable   No tracking

Rating

Mozilla Add-on:Mozilla Add-on badge/amo/rating/:addonId
Mozilla Add-on:Mozilla Add-on badge/amo/stars/:addonId
AUR votes:AUR votes badge/aur/votes/:packageName
Chrome Web Store:Chrome Web Store badge/chrome-web-store/rating/:storeId
Chrome Web Store:Chrome Web Store badge/chrome-web-store/rating-count/:storeId
Chrome Web Store:Chrome Web Store badge/chrome-web-store/stars/:storeId
Docker Stars:Docker Stars badge/docker/stars/:user/:repo
Greasy Fork:Greasy Fork badge/greasyfork/rating-count/:scriptId
JetBrains Plugins:JetBrains Plugins badge/jetbrains/plugin/r/rating/:pluginId
JetBrains Plugins:JetBrains Plugins badge/jetbrains/plugin/r/stars/:pluginId
Libraries.io SourceRank:Libraries.io SourceRank badge/librariesio/sourcerank/:platform/:packageName
Libraries.io SourceRank, scoped npm package:Libraries.io SourceRank, scoped npm package badge/librariesio/sourcerank/:platform/:scope/:packageName
Open VSX Rating:Open VSX Rating badge/open-vsx/rating/:namespace/:extension
Open VSX Rating (Stars):Open VSX Rating (Stars) badge/open-vsx/stars/:namespace/:extension
Ore Stars:Ore Stars badge/ore/stars/:pluginId
Packagist Stars:Packagist Stars badge/packagist/stars/:user/:repo
Packagist Stars (custom server):Packagist Stars (custom server) badge/packagist/stars/:user/:repo?server=https%3A%2F%2Fpackagist.org
Polymart Stars:Polymart Stars badge/polymart/stars/:resourceId
Polymart Rating:Polymart Rating badge/polymart/rating/:resourceId
Pub Likes:Pub Likes badge/pub/likes/:packageName
Pub Points:Pub Points badge/pub/points/:packageName
Pub Popularity:Pub Popularity badge/pub/popularity/:packageName
Puppet Forge endorsement:Puppet Forge endorsement badge/puppetforge/e/:user/:moduleName
Puppet Forge feedback score:Puppet Forge feedback score badge/puppetforge/f/:user/:moduleName
Plugin on redmine.org:Plugin on redmine.org badge/redmine/plugin/rating/:plugin
Plugin on redmine.org:Plugin on redmine.org badge/redmine/plugin/stars/:plugin
Spiget Stars:Spiget Stars badge/spiget/stars/:resourceId
Spiget Rating:Spiget Rating badge/spiget/rating/:resourceId
Steam Favorites:Steam Favorites badge/steam/favorites/:fileId
Steam Subscriptions:Steam Subscriptions badge/steam/subscriptions/:fileId
Vaadin Directory:Vaadin Directory badge/vaadin-directory/rating-count/:packageName
Vaadin Directory:Vaadin Directory badge/vaadin-directory/:format/:packageName
Visual Studio Marketplace Rating:Visual Studio Marketplace Rating badge/visual-studio-marketplace/r/:extensionId
Visual Studio Marketplace Rating (Stars):Visual Studio Marketplace Rating (Stars) badge/visual-studio-marketplace/stars/:extensionId
WordPress Plugin Rating:WordPress Plugin Rating badge/wordpress/plugin/rating/:slug
WordPress Theme Rating:WordPress Theme Rating badge/wordpress/theme/rating/:slug
WordPress Plugin Rating:WordPress Plugin Rating badge/wordpress/plugin/stars/:slug
WordPress Theme Rating:WordPress Theme Rating badge/wordpress/theme/stars/:slug

Your Badge

Static


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>

Colors

brightgreengreenyellowgreenyelloworangeredbluelightgrey
successimportantcriticalinformationalinactive
bluevioletff69b49cf

Endpoint

/endpoint?url=<URL>&style<STYLE>

Create badges from your own JSON endpoint.

Dynamic

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


Styles

The following styles are available. Flat is the default. Examples are shown with an optional logo:

?style=plastic&logo=appveyorplastic
?style=flat&logo=appveyorflat
?style=flat-square&logo=appveyorflat-square
?style=for-the-badge&logo=appveyorfor-the-badge
?style=social&logo=appveyorsocial

Here are a few other parameters you can use: (connecting several with "&" is possible)

?label=healthinessesOverride the default left-hand-side text (URL-Encoding needed for spaces or special characters!)
?logo=appveyorInsert one of the named logos from (bitcoin, dependabot, gitlab, npm, paypal, serverfault, stackexchange, superuser, telegram, travis) or simple-icons. All simple-icons are referenced using icon slugs. You can click the icon title on simple-icons to copy the slug or they can be found 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=violetSet the color of the logo (hex, rgb, rgba, hsl, hsla and css named colors supported). Supported for named logos and Shields logos but not for custom logos. For multicolor Shields logos, the corresponding named logo will be used and colored.
?logoWidth=40Set the horizontal space to give to the logo
?link=http://left&link=http://rightSpecify 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=abcdefSet background of the left part (hex, rgb, rgba, hsl, hsla and css named colors supported). The legacy name "colorA" is also supported.
?color=fedcbaSet background of the right part (hex, rgb, rgba, hsl, hsla and css named colors supported). The legacy name "colorB" is also supported.
?cacheSeconds=3600Set 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.

Like This?

Have an idea for an awesome new badge?
Tell us about it and we might bring it to you!

CommunityStatusMetricsGitHub