Is there a API for a players inventory?

Hey there,
I didn’t really know where else to ask this but I’m just curious if there is an API for somebody’s Roblox inventory like there hats and stuff.

https://inventory.roblox.com/docs#!/v2

1 Like

oh thank you so much, do you know any tutorials on how to use the api like get all the assets somebody has just by touching a part??

1 Like

well, you can look into BasePart.Touched to detect when a player touches a part

then to get their items, since you cant use the roblox api in roblox servers, you’ll need to use a proxy, here’s a good one that I found on the DevForum: roproxy.com

it follows the same way as the normal roblox api, so for example you’d do http://inventory.roproxy.com/v2/users/{userid}/inventory instead of https://inventory.roblox.com/v2/users/{userid}/inventory

Not 100% sure how this API works, however this should explain it pretty simply Inventory Api (roblox.com)

1 Like