I’m trying to find a better way to find creator data of a given marketplace item. All this code does is, given a marketplace item ID, prints the group/users name and the group/user’s ID. However, I keep getting bombarded with 429 rate limit errors when I run the code multiple times, and I have to use this backoff. Is there a different API I should use rather than economy.roblox, or something else I can do to make it fetch the creator data faster?
Untested, but you may be able to utilise the /v1/catalog/items/details endpoint within the Catalog V1 API. I’m not sure about rate limits, BUT it allows you to get the info of a large number of things, within a single request.
I’ve tried this before but I kept getting 403 errors… not sure if I need an API key or a cookie or how I should structure the header correctly
If you are using a Roblox API while unauthenticated then you’ll be hit with strong ratelimits like you are seeing now, you will need to fetch your .ROBLOSECURITY to put it inside of your Cookie header, you may also have to generate a CSRF token which you add as a X-CSRF-Token header.
You can generate it with the following JavaScript code:
async function generateCSRFToken() {
let CSRFToken: string = null;
await httpClient.post("https://auth.roblox.com/v2/logout").catch(err => { // make sure to add your account token but omit a CSRF-Token
if (err.response?.status === 403) {
CSRFToken = err.response.headers["x-csrf-token"];
return;
}
});
return CSRFToken;
}
I believe you can use a different auth endpoint to generate a CSRF token but this way works perfectly fine.
Decided to use the catalog.roblox.com API instead. I basically did this but in py by sending a dummy request:
and heres what the header template looks like:
This seemed to get rid of all rate limit issues, thanks for the help
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.


