Get your account
GET/v1/me
Who the key belongs to, and their balance. A good first request: it shows the key works.
Request
This route takes no parameters.
curl 'https://api.rockvel.store/v1/me' \
-H "Authorization: Bearer $ROCKVEL_KEY"Answer 200
userobjectThe key's holder.
Fields of user
steam_idstringSteamID64 of the account.
namestringName in Steam.
avatar_urlstringAvatar in Steam.
trade_urlstringoptionalWhere sellers send your purchases. Left out until you set it.
balanceobjectoptionalThe account's money. Left out if it can't be read right now.
Fields of balance
available_centsintegerWhat you can spend now.
held_centsintegerWhat is held until your deals end.
{
"user": {
"steam_id": "76561198087654321",
"name": "bluegem",
"avatar_url": "https://avatars.steamstatic.com/fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb_full.jpg",
"trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=127388593&token=kZ3xQ9aB"
},
"balance": { "available_cents": 125000, "held_cents": 3250 }
}Any route can also answer with the statuses on the Errors page.