How to get t-shirt/shirt/pants price in robux using https?
for example to get gamepass price in robux using https i need this “https://apis.roblox.com/game-passes/v1/game-passes/%s/product-info”
How to get t-shirt/shirt/pants price in robux using https?
for example to get gamepass price in robux using https i need this “https://apis.roblox.com/game-passes/v1/game-passes/%s/product-info”
I think you’ll want to use this:
https://catalog.roblox.com/v1/catalog/items/<ID>/details?itemType=Asset
Where ID (ignoring the <>) is the asset you want to find out the price for. Then from there, it should be the ‘Price’ property of the JSON that gets returned.
Take this item for example, this is the response I get from that GET request:
{
"expectedSellerId": 260915126,
"owned": false,
"isPurchasable": true,
"id": 1842037413,
"itemType": "Asset",
"assetType": 12,
"name": "Dominus",
"description": "Pants\nSet https://web.roblox.com/catalog/1842095026/DOMINUS",
"productId": 255314074,
"genres": [
"All"
],
"itemStatus": [],
"itemRestrictions": [],
"creatorHasVerifiedBadge": false,
"creatorType": "User",
"creatorTargetId": 260915126,
"creatorName": "Luizaand",
"price": 5,
"favoriteCount": 186,
"offSaleDeadline": null,
"saleLocationType": "NotApplicable"
}
I hope this helps.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.