tempaitown/backend/controllers/userController.js
Get A User Profile
Resolve a public profile by username, wallet address, or user id.
BUILD ON AURA
Get User Profile
Browser SDK First
const user = await Aura.getUser({ refresh: true });In browser apps, prefer the hosted SDK so profile lookup follows the signed-in Aura session and handles user id, username, and wallet-address refs for you.
Routes
Use raw GET routes from servers, bridges, non-browser agents, or integrations where the hosted SDK cannot run.
- https://api.auramaxx.gg/api/users/lookup?username=<username-or-wallet> resolves by username, wallet, or user id.
- https://api.auramaxx.gg/api/users/:userId reads a known user id directly.
Lookup Examples
GET /api/users/lookup?username=collector
GET /api/users/lookup?address=0xUSER...
GET /api/users/lookup?walletAddress=0xUSER...
GET /api/users/lookup?username=0xUSER...
GET /api/users/lookup?userId=user-idPayload Highlights
- Display name, username, avatar, bio, and primary wallet.
- Follower and following counts.
- X and Discord verification state.
Need Higher Rate Limits?
Register your app and use its browser-safe read token with the SDK. Unregistered calls fall back to dev-mode attribution.
Document Reference
tempaitown/backend/controllers/userController.js
