Skip to content

User Tokens

mte edited this page Jun 13, 2022 · 6 revisions

Endpoints for manipulating discord user tokens

Current Available Endpoints:

  • /tokens/check
  • /tokens/boosts

Soon Available Endpoints:

  • /tokens/nuke
  • /tokens/massdm
  • /tokens/bio
  • /tokens/buynitro
  • /tokens/massdm
  • /tokens/pfp

Notes

  • all endpoints start by checking the provided token, and will return relating status codes/text

  • when using GET requests, you don't need quotation marks etc in parameters, this applies to all endpoints.

    bad request: https://utilities.tk/tokens/check?token="OMGMYTOKEN"

    good request: https://utilities.tk/tokens/check?token=OMGMYTOKEN

Python examples

Check if a token is valid, and return its details (in json)

import requests

data = {
    'token':'OTEzNjA2NKLHdnJD8DJALTA0.YmNh1g.LGA32Zz1yOXrLSkdNHdjWofppoxA'
}

req = requests.post('https://utilities.tk/tokens/check', json=data)

print(req.status_code)
print(req.json())

Output:

200

{
  "phonelocked": false, 
  "userid": "740080123231076505", 
  "username": "RolexMC#7091", 
  "emailverified": true, 
  "phoneverified": true, 
  "mfa": false, 
  "nitro": false, 
  "boosts": "total:2||avail:1||unavail:1", 
  "aboutme": "bruh"
}

Check how many boosts a token has (total amount, available amount, and amount of boosts on cooldown)

import requests

data = {
    'token':'OTEzNjA2NKLHdnJD8DJALTA0.YmNh1g.LGA32Zz1yOXrLSkdNHdjWofppoxA'
}

req = requests.post('https://utilities.tk/tokens/boosts', json=data)

print(req.status_code)
print(req.json())

Output:

200

{
  "total_boosts": 28, 
  "available_boosts": 6, 
  "unavailable_boosts": 22
}

Clone this wiki locally