Simple API to fetch Discord user avatars using Lanyard API
GET /api/avatar?id=USERID
Redirects directly to the Discord avatar image.
Example: /api/avatar?id=1263110378666065944
GET /api/json?id=USERID
Returns a JSON response containing the avatar URL:
{
"success": true,
"avatar_url": "https://cdn.discordapp.com/avatars/..."
}
Example: /api/json?id=1263110378666065944
Made By Jessi Flessi, Powered by Lanyard API