How to make an API request on Marketplace

I’m pretty new to api and web development, but I think I have an idea what to do with the returned data, but I’m not sure how to simply get the data (not even through code) but just literally the url to get it. how would i make this request:

http://api.roblox.com/docs#Marketplace

it says

GET /marketplace/productinfo

so does that mean api.roblox.com/marketplace/productinfo but where does the ID go

thanks for the help!

You would first enable HTTPService, then construct the urls like this:

http://api.roblox.com//marketplace/productinfo?assetId=########

Send a get request with that url and it will return json data. Roblox used to deny access to its own apis through the HTTPService but I’m not sure if that limitation still exists or not.

2 Likes

i’m considering just using python to get this data since it’s not a game but a bot/service

I get bad request when sending the following request just in a browser:

http://api.roblox.com/marketplace/productinfo?assetId=295

Works with a different assetid however

http://api.roblox.com//marketplace/productinfo?assetId=2312423
1 Like

welp i’m pretty stupid that’s a bundle there’s a different api for that