Getting users on-sale items

I’ve seen a few forums for this but none seem to work for me, I am trying to use this but I can’t figure out how to work it.

I want to get the users on sale items/gamepasses and store them in a table
How would I go about doing so?

Something like this?

Something similar yes
I’ve tried this one, it just gives me a HTTP 400 bad request error
I tried the gamepass one too, but it doesn’t count any of my gamepasses

Have you tested it outside of studio, or turned on HTTPs requests?

Did both, no difference [char limit]

That thread is a few months old now, at the time it worked but the proxy and/or API endpoint used may no longer be functional.

Oh alright, do you know another way for gamepasses?

If anyone is still having this issue, the solution is at the bottom of the post TheSpecialNone referenced, answered by Mastermight01, just change your baseUrl variable from v1 to v2

from

local baseUrl = "https://catalog.roproxy.com/v1/search/items/details?Category=3&Subcategory=13&Limit=30&CreatorName=%s&cursor=%s"

to

local baseUrl = "https://catalog.roproxy.com/v2/search/items/details?Category=3&Subcategory=13&Limit=30&CreatorName=%s&cursor=%s"

(sorry for necropost)