You can use /api/username to get a json response and /user/username to get a html response. Example: /user/i0l
/api/username
/user/username
/user/i0l