Website API

From LRREW
Jump to navigation Jump to search

Roblox uses various website API's for its functioning.

GET /currency/balance

This returns the current users balance.

{
 "robux": 1337,
 "tickets": 2337
}

GET /games/players/{user id}

This returns the ChatFilter for the specified user id.

{"ChatFilter":"whitelist"}

GET /ownership/hasasset/{asset id}/{user id}

This returns whether the specified user id has an asset id. This returns either true or false.

POST /moderation/filtertext

This returns a censored version of the text within POST field 'text'.

{"data": {"white": "{posted text}", "black": "ok"}}

GET /v1.1/avatar-fetch/{user id}

This returns the character appearance of the specified user id.

ASSETURL;ASSETURL;ASSETURL

Asset URL's are delimited by a semicolon.

If ?rcc is specified then it will return a JSON array with asset ids.

{"assetid", "assetid", "assetid"}

GET /my/economy-status

Returns the status of the economy.

{
 "robux": 1337,
 "tickets": 2337,
 "isMarketplaceEnabled": true,
 "isDeveloperProductPurchaseEnabled": true,
 "areInAppPurchasesEnabled": true
}

GET /users/{user id}/canmanage/{place id}

Returns whether the specified user id can manage the specified place id.

{"Success":true,"CanManage":true}

POST /marketplace/game-pass-product-info/

POST the gamepass ID. The website should respond with:

{
   "AssetId":[
      "GAMEPASSID"
   ],
   "ProductId":[
      "SITEPASSID"
   ],
   "Name":"[NAME]",
   "Description":"[DESC]",
   "AssetTypeId":[
      "TYPEID"
   ],
   "Creator":{
      "Id":[
         "CREATORID"
      ],
      "Name":"[CREATORNAME]",
      "CreatorType":"User",
      "CreatorTargetId":[
         "CREATORID"
      ]
   },
   "IconImageAssetId":[
      "PASSIMAGEID"
   ],
   "Created":"[UNIXTIMESTAMP]",
   "Updated":"[UNIXTIMESTAMP]",
   "PriceInRobux":[
      "ROBUXPRICE"
   ],
   "PriceInTickets":[
      "TIXPRICE"
   ],
   "Sales":0,
   "IsNew":[
      "ISNEW"
   ],
   "IsForSale":[
      "ONSALE"
   ],
   "IsPublicDomain":false,
   "IsLimited":false,
   "IsLimitedUnique":false,
   "Remaining":null,
   "MinimumMembershipLevel":0,
   "ContentRatingTypeId":0
}