Getting player's avatar headshot link

Hello! I am trying to get the player’s avatar headshot as a link to an image, not as rbxthumb since i am trying to send this over to a discord server via a webhook, i was wondering if that’s even possible since i saw that you can achieve this with proxies although i heard proxies like roproxy can get you banned or send false info. Help would be appreciated!

You can use the thumbnails api that roblox provides.
An example:

https://thumbnails.roblox.com/v1/users/avatar-headshot?userIds=userId&size=420x420&format=Png&isCircular=false

Likely not. HTTP Request is there for a reason and a RoProxy thread in Resource wasn’t taken off of Devforum.

Roblox blocked using their HTTP Req API, so consider using RoProxy.

1 Like

To add to this, you need to proxy the request due to it being a roblox.com endpoint. A public proxy you can use is roproxy.com. So the link becomes:

https://thumbnails.roproxy.com/v1/users/avatar-headshot?userIds=userId&size=420x420&format=Png&isCircular=false
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.