Retrieve public profile information about a specific user by their username.
Endpoint
GET /api/users/{username}
Path Parameters
usernamerequiredstringThe username of the user.
Request Headers
| Header | Value | Description |
|---|---|---|
| Authorization | Bearer YOUR_API_KEY | Your API key. Required for all requests. |
Example Request
curl https://miwa.lol/api/users/username \
-H "Authorization: Bearer YOUR_API_KEY"Response
Returns a JSON object with the user's profile data.
Example Response
{
"uid": 12345,
"username": "username",
"alias": "abc",
"assets": {
"audios": [
{
"id": "0f18b939-1d63-402e-8b7c-f022abf3a18a",
"name": "My cool audio",
"duration": 253,
"cover_id": null
}
],
"avatar_url": "https://cdn.miwa.lol/avatars/ea199cc3-77c3-4f41-9215-d3689da55d63.webp",
"background_url": "https://cdn.miwa.lol/backgrounds/f9457e67-e89a-4645-85d7-cb1beba04f5e.webp",
"cursor_url": null
},
"colors": {
"accent": "#000000",
"background": "#000000",
"badges": "#FFFFFF",
"links": "#000000",
"text": "#ffffff"
},
"config": {
"avatar_shape": "circle",
"bio": null,
"font": "Roboto",
"join_date": "2025-07-11",
"layout": "default",
"likes": 2,
"location": "Earth",
"page_enter_text": null,
"page_views": 56,
"profile_blur": 25,
"profile_opacity": 30,
"shuffle_audios": true,
"use_discord_avatar": false,
"volume_control": false
},
"effects": {
"background": "snowflakes",
"badges_glow": true,
"cursor": null,
"links_glow": true,
"username": "rainbow",
"username_glow": false
},
"tab": {
"animated_title": "typewriter",
"use_avatar": false
},
"typewriter": {
"enabled": false,
"texts": []
}
}
Response Fields
Top-level
uidnumberUnique numeric identifier for the user.
usernamestringThe user's username.
aliasstringA short display alias for the user.
assets
audiosarrayList of audio tracks on the profile.
audios[].idstringUUID of the audio track.
audios[].namestringDisplay name of the audio track.
audios[].durationnumberDuration of the audio track in seconds.
audios[].cover_idstringnullUUID of the cover image, or null if none.
avatar_urlstringnullCDN URL of the user's avatar image.
background_urlstringnullCDN URL of the profile background image.
cursor_urlstringnullCDN URL of the custom cursor, or null if none.
colors
accentstringAccent color as a hex value.
backgroundstringBackground color as a hex value.
badgesstringBadge color as a hex value.
linksstringLink button color as a hex value.
textstringPrimary text color as a hex value.
config
avatar_shapestringShape of the avatar (circle, square, etc.).
biostringnullProfile bio text, or null if not set.
fontstringFont family used on the profile.
join_datestringDate the user joined, in YYYY-MM-DD format.
layoutstringProfile layout style (e.g. default).
likesnumbernullTotal number of likes received, or null if hidden by the user.
locationstringnullUser's location, or null if not set.
page_enter_textstringnullCustom text shown on the page enter screen, or null if none.
page_viewsnumbernullTotal profile page view count, or null if hidden by the user.
profile_blurnumberBackground blur level (0–100).
profile_opacitynumberBackground opacity level (0–100).
shuffle_audiosbooleanWhether audio tracks are shuffled.
use_discord_avatarbooleanWhether the Discord avatar is used instead of the custom one.
volume_controlbooleanWhether the volume control is visible on the profile.
effects
backgroundstringnullBackground particle effect (e.g. snowflakes), or null.
badges_glowbooleanWhether badges have a glow effect.
cursorstringnullCustom cursor effect name, or null if none.
links_glowbooleanWhether link buttons have a glow effect.
usernamestringnullUsername text effect (e.g. rainbow), or null.
username_glowbooleanWhether the username has a glow effect.
tab
animated_titlestringnullBrowser tab title animation style, or null.
use_avatarbooleanWhether the avatar is shown as the browser tab icon.
typewriter
enabledbooleanWhether the typewriter effect is enabled.
textsarrayList of strings cycled through by the effect.
Error Responses
| Status | Description |
|---|---|
401 | Missing or invalid API key. |
404 | No user found with the given username. |
429 | Rate limit exceeded. Wait before retrying. |