Issues with Inventory API

Im currently having some issues with the Inventory API returning the gamepasses that the user owns.

Firstly i tried using the Swagger UI Inventory API (https://inventory.roblox.com/v2/users/{userId}/inventory/{assetTypeId}), but i found out it has no support for gamepasses, or it just doesn’t work. Later i found another API (https://www.roproxy.com/users/inventory/list-json?assetTypeId=34&cursor=&itemsPerPage=100&pageNumber=1&userId=**{userId}) that does work and return the gamepasses, but the max page size is 100, that actually isn’t the problem, it’s because you can’t go through any other pages. Ill show an example on what i mean, i used my own UserID.

Even if i switch pages it stays the same gamepasses, no matter what i do.

So with that, i would like to know if theres any other API, because i don’t know what to do, and sorry if i was a little confusing, it’s because im kinda new messing with HTTPS.

You need to change the page cursor to move to the next page.

How could i do that? i actually don’t even know what a cursor is honestly.


After the cursor= you put the “nextPageCursor” from under the data, so in in that case it would be this number
image

Ill try that and ill see if it works, thanks.

1 Like

It worked! i appreciate your help!!

1 Like

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