You must have Javascript enabled to view this content.

Please Wait

Hi, Guest! (Login)

MLB 20 API Documentation

Listings API

GET /mlb20/apis/listings.json

  • Returns a collection of listings.

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/listings.json?type=stadium&page=1

Response:

{
  "page": 1,
  "total_pages": 64,
  "listings": [
    {
      "name": "Highland Park",
      "best_sell_price": 28,
      "best_buy_price": 0
    },
    {
      "name": "Hubert H. Humphrey Metrodome",
      "best_sell_price": 2988,
      "best_buy_price": 2374
    },
    {
      "name": "Industry Center Stadium",
      "best_sell_price": 19,
      "best_buy_price": 0
    }
  ]
}