Is there a way to retrieve all places IDs from the charts via script?

The title asks it all.
I think its possible through Http requests to roproxy.com, but I have no clue how to realize this.
Any help would be appreciated! :smiley:

roproxy works exactly as if you were communicating to the roblox api, you just replace the url roblox.com with roproxy.com

and you should set up your own server if you want any large scale use, since any public proxy has limited traffic and the owner can see what youre doing

Incorrect Previous Response / Alternate Route

Hey! So unfortunately the legacy roblox web api for this endpoint has been deprecated as mentioned in a previous devforum post.

While an official Roblox endpoint doesn’t exist, – meaning you wouldn’t be able to use RoProxy, not that you’d want to for a production environment as @happya_x said – you could use unofficial or external API’s such as Rolimons.

Rolimons has the https://api.rolimons.com/games/v1/gamelist endpoint, which gives you a list of all of the games in their stored list. @Dan_foodz gave a good explanation as to how the API returns its data, so I’d start there with learning how to parse it’s data as Rolimons provides no official documentation for their API, and community made ones are incomplete.

Based on the wording of your post I’m assuming you aren’t too familiar with how web requests work, so I’d start by learning more about that. There are many good resources for learning about HTTP Requests and API calls, I’d start there. For implementing this on Roblox, You can use HTTP Service to make the actual requests.

Best of luck :waving_hand:

EDIT: I was wrong – There is an official API endpoint for using the charts as @Squidacy mentions below. The https://apis.roblox.com/explore-api/v1/get-sorts?device=computer&country=all&sessionId=randomguid endpoint is where you should look. Above information about web requests stands the same however.

Hello! :waving_hand:
Thanks for helping, that worked! Also, by the phrase ā€œbut I have no clue how to realize thisā€ I meant that I didn’t know where to find such an API. Just a small mistake :thinking:
However, thank you again! :wink:

An official endpoint does exist for charts
https://apis.roblox.com/explore-api/v1/get-sorts?device=computer&country=all&sessionId=randomguid
device and country are optional, sessionId is required.

If you are looking for a specific chart, such as the top playing:
https://apis.roblox.com/explore-api/v1/get-sort-content?sessionId=randomguid&sortId=top-playing-now