ROBLOX Web API

Inventory

See which limited items a player owns, whether their inventory is visible, what they own of one item, and their inventory by asset type.

Base rbx.jumpathy.dev/v2/api/inventory
GET /v1/users/{userId}/assets/collectibles inventory no key

Gets all collectible assets owned by the specified user.

Path parameters

NameTypeDescription
userIdrequired integer The userid of the owner of the collectibles.

Query parameters

NameTypeDescription
assetType Image | TShirt | Audio | Mesh | Lua | HTML | Text | Hat | Place | Model | Shirt | Pants | Decal | Avatar | Head | Face | Gear | Badge | GroupEmblem | Animation | Arms | Legs | Torso | RightArm | LeftArm | LeftLeg | RightLeg | Package | YouTubeVideo | GamePass | App | Code | Plugin | SolidModel | MeshPart | HairAccessory | FaceAccessory | NeckAccessory | ShoulderAccessory | FrontAccessory | BackAccessory | WaistAccessory | ClimbAnimation | DeathAnimation | FallAnimation | IdleAnimation | JumpAnimation | RunAnimation | SwimAnimation | WalkAnimation | PoseAnimation | LocalizationTableManifest | LocalizationTableTranslation | EmoteAnimation | Video | TexturePack The asset type for the collectibles you're trying to get.
sortOrder Asc | Desc Sorted by userAssetId
limit 10 | 25 | 50 | 100 The amount of results per request.
cursor string The paging cursor for the previous or next page.
Request
GET /v1/users/1/assets/collectibles?assetType=Hat&limit=10
200 Response
{
  "previousPageCursor": null,
  "nextPageCursor": null,
  "data": [
    {
      "userAssetId": 5410031,
      "serialNumber": 12,
      "assetId": 1029025,
      "name": "Domino Crown",
      "recentAveragePrice": 1000000,
      "originalPrice": 0,
      "assetStock": 25,
      "buildersClubMembershipType": "None"
    }
  ]
}

Errors

StatusCodeMessage
400 0 The specified asset type(s) are invalid.
403 0 The specified user's inventory is hidden.
GET /v1/users/{userId}/can-view-inventory inventory no key

Gets whether the specified user's inventory can be viewed.

Path parameters

NameTypeDescription
userIdrequired integer The user identifier.
Request
GET /v1/users/1/can-view-inventory
200 Response
{
  "canView": true
}

Errors

StatusCodeMessage
400 1 The specified user does not exist!
GET /v1/users/{userId}/items/{itemType}/{itemTargetId} inventory no key

Gets owned items of the specified item type. Game Servers can make requests for any user, but can only make requests for game passes that belong to the place sending the request. Place creators can make requests as if they were the Game Server.

Path parameters

NameTypeDescription
userIdrequired integer ID of the user in question
itemTyperequired Asset | GamePass | Badge | Bundle Type of the item in question (ie. Asset, GamePass)
itemTargetIdrequired integer ID of the item in question
Request
GET /v1/users/1/items/Asset/1029025
200 Response
{
  "previousPageCursor": null,
  "nextPageCursor": null,
  "data": [
    {
      "Id": 1029025,
      "Name": "Domino Crown",
      "Type": "Asset",
      "InstanceId": 5410031
    }
  ]
}

Errors

StatusCodeMessage
400 1 The specified user does not exist!
400 5 The specified game pass does not exist! Are you using the new game pass ID?
400 6 The specified item type does not exist.
400 7 The specified Asset does not exist!
400 10 The specified asset is not a badge!
400 12 The specified bundle does not exist!
403 4 You don't have permissions for the specificed user.
403 9 The game pass does not belong to this place.
GET /v2/users/{userId}/inventory/{assetTypeId} inventory no key

Gets user's inventory based on specific asset type

Path parameters

NameTypeDescription
userIdrequired integer The user Id of the inventory owner
assetTypeIdrequired integer The asset type Id of the items to get

Query parameters

NameTypeDescription
sortOrder Asc | Desc The order the results are sorted in.
limit 10 | 25 | 50 | 100 The amount of results per request.
cursor string The paging cursor for the previous or next page.
Request
GET /v2/users/1/inventory/8?limit=10
200 Response
{
  "previousPageCursor": null,
  "nextPageCursor": null,
  "data": [
    {
      "assetName": "Domino Crown",
      "userAssetId": 5410031,
      "assetId": 1029025,
      "serialNumber": 12,
      "owner": {
        "userId": 1,
        "username": "Roblox",
        "buildersClubMembershipType": "None"
      },
      "created": "2016-03-03T14:11:00Z",
      "updated": "2016-03-03T14:11:00Z"
    }
  ]
}

Errors

StatusCodeMessage
400 1 Invalid user Id.
400 2 Invalid asset type Id.
403 3 Insufficient permission.
403 4 You are not authorized to view this user's inventory.