You must have Javascript enabled to view this content.
Fetching new items...
Hi, Guest! (PSN|XBL|NSW)

MLB 24 API Documentation

Inventory API

User must be logged in to make this API call.

GET /apis/inventory.json?type=TYPE

  • Returns user inventory.
Required Parameters:
  • Type - mlb_card | stadium | equipment | sponsorship | unlockable | perk

Examples:

Sample Request:

GET /apis/inventory.json?type=perk

Sample Response:


      {
        "page": 1,
        "per_page": 25,
        "total_pages": 10,
        "inventory": [
          {
            "uuid": "d5cf030150efe2c3617bc8fd6c355230",
            "type": "perk",
            "name": "Velocity III",
            "rarity": "Diamond",
            "attribute_names": [
              "VELO",
              "PCLT",
              "ARM",
              "H/9"
            ],
            "attribute_values": [
              "+4",
              "+4",
              "+4",
              "+3"
            ],
            "is_sellable": true
          }
        ]
      }