Skip to content

Visitor Badge

Create a visitor badge that you can use on any website or GitHub profile.

ref-reporef-online-tool

Parameters

Click to show/close parameters

NameTypeRequiredDefaultDescriptionMore Description
ref-params
typestringtrueBadge typeSupported: visitors (total), daily (single day), combined (two combined).
ref-querys
pathstringtrueStatistics pathURL or username/repository to uniquely identify the link or string for statistics.
labelstringBadge label
labelColorstring#555555Badge label background colorSupported: HEX, for example: #FF0000.
countColorstring#263759Badge count background colorSupported: HEX, for example: #FF0000.
stylestringdefaultBadge styleSupported: default, flat, flat-square, plastic.
labelStylestringupperBadge label caseSupported: upper (uppercase) lower (lowercase).
txt
https://api.visitorbadge.io/api/{type}{?path,label,labelColor,countColor,style,labelStyle}

Examples

markdown
<!-- xiaohuohumax/badge-collection -->
![Visitors](https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fgithub.com%2Fxiaohuohumax%2Fbadge-collection&label=VISITORS&countColor=%23f3722c)
Visitors

Badge Collection (v3.0.5) MIT Licensed