Check a GitHub Account's Health

PythonDeveloper Tools
POST api.upapi.io/github-account-health.get

Check whether a GitHub token still authenticates and whether its account has been suspended. Returns the account's login/id and a verdict (active / suspended / auth-expired / forbidden). Bring your own GitHub token: it is used for this one call, never stored; sent only to api.github.com.

githubaccounthealthauthpython
AuthAPI key
Cost1 unit
Timeout30s
CacheNone

Request schema

FieldTypeDescription
tokenreq
stringGitHub token of the account to health-check
proxyUrl
Optional proxy URL. Use the same one across related calls when the upstream expects a consistent IP.· default: null

Response schema

FieldTypeDescription
login
The authenticated account's login· default: null
verdictreq
stringactive | suspended | auth-expired | forbidden
accountId
The account's numeric GitHub id· default: null
checkedAtreq
string
createdAt
Account creation timestamp· default: null
rateLimit
Rate-limit block from the /user response, when one was received· default: null
twoFactorAuthentication
Whether 2FA is enabled (only present when the token can read it)· default: null

Try it

Try it

GitHub token of the account to health-check

Optional proxy URL. Use the same one across related calls when the upstream expects a consistent IP.

Run this endpoint live

Jump in as a guest — no signup — and run github-account-health.get with your own inputs. Create a free account anytime to get your own API key.

Sign in

Code examples

curl -X POST https://api.upapi.io/github-account-health.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "token": "example" }'

Developer tools

OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.