Everything you need to integrate Vanguard into your game.
All API requests require a JWT token obtained via Discord OAuth through Exoliner.
/api/v1/loginExchange an OAuth code from Exoliner for a JWT token. Called automatically during the login flow.
POST /api/v1/login
Content-Type: application/json
{
"code": "<exoliner-oauth-code>"
}Include your JWT token in the Authorization header of every request. No "Bearer" prefix — just the raw token.
GET /api/v1/user/me
Authorization: <your-jwt-token>/api/v1/user/meReturns the authenticated user's profile, subscription rank, and balance.
{
"id": 1,
"username": "player123",
"email": "[email protected]",
"rank": "PRO",
"balance": 25,
"discordid": "123456789012345",
"sellerAuthorization": false,
"avatar": "https://cdn.discordapp.com/avatars/..."
}NONEFree tier — limited featuresPRO$10/mo — advanced features, 100K requestsMAX$20/mo — unlimited requests, early accessSTAFFStaff memberOWNERPlatform owner/api/v1/user/limitReturns the user's current request limits and usage.