Skip to main content
GET
/
stats
/
visitors
cURL
curl --request GET \
  --url https://api.vaultcord.com/stats/visitors \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "state": [
      {
        "value": "US",
        "counter": "12"
      },
      {
        "value": "PT",
        "counter": "1"
      }
    ],
    "device": [
      {
        "value": "Chrome, Linux br",
        "counter": "2"
      },
      {
        "value": "undefined, undefined br",
        "counter": "1"
      }
    ],
    "referrer": [
      {
        "value": "https://discord.com/",
        "counter": "1"
      }
    ],
    "region": [
      {
        "value": "Florida",
        "counter": "9"
      },
      {
        "value": "[REDACTED BY USER]",
        "counter": "4"
      }
    ],
    "server": [
      {
        "value": "Imported Tokens",
        "counter": "86"
      },
      {
        "value": "RestoreBot Services 26",
        "counter": "3"
      },
      {
        "value": "VaultCord Callback",
        "counter": "2"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Visitor stats

success
boolean
Example:

true

data
object
Example:
{
"state": [
{ "value": "US", "counter": "12" },
{ "value": "PT", "counter": "1" }
],
"device": [
{
"value": "Chrome, Linux br",
"counter": "2"
},
{
"value": "undefined, undefined br",
"counter": "1"
}
],
"referrer": [
{
"value": "https://discord.com/",
"counter": "1"
}
],
"region": [
{ "value": "Florida", "counter": "9" },
{
"value": "[REDACTED BY USER]",
"counter": "4"
}
],
"server": [
{
"value": "Imported Tokens",
"counter": "86"
},
{
"value": "RestoreBot Services 26",
"counter": "3"
},
{
"value": "VaultCord Callback",
"counter": "2"
}
]
}
I