You must have Javascript enabled to view this content.

Please Wait

Hi, Guest! (Login)

MLB 20 API Documentation

Items API

GET /mlb20/apis/items.json

  • Returns a collection of items.

Parameters:

  • Name: type

    Value: mlb_card | stadium | equipment | sponsorship | unlockable

    Default: mlb_card

  • Name: page

    Value: integer greater than 0

    Default: 1

Examples:

Request:

GET /mlb20/apis/items.json?type=stadium&page=1

Response:

{
  "page": 1,
  "total_pages": 64,
  "items": [
    {
      "name": "Highland Park",
      "rarity": "Bronze",
      "team": "Free Agents",
    },
    {
      "name": "Hubert H. Humphrey Metrodome",
      "rarity": "Diamond",
      "team": "Free Agents",
    },
    {
      "name": "Industry Center Stadium",
      "rarity": "Bronze",
      "team": "Free Agents",
    }
  ]
}