REST base URL: https://api.vendortools.net/v1

Vendor Tools Data API

LEGO set API

LEGO sets grouped by theme — Star Wars, Technic, City and the rest — with set numbers, barcodes, release dates and box images.

Themes

290

Sets

30,678

LEGO API

What's in the data

  • Sets by theme

    Each theme is a set list you can page through.

  • Set numbers and barcodes

    Set number, UPC / EAN, ASIN and release date in attributes.

  • Box images

    A product image for each set.

  • Minifigures

    Minifigures are in the catalogue too, where we have them.

Prices

The market price is for a new, sealed set from UK eBay sales, with the PriceCharting price guide as a reference. Prices are on Beginner and above.

Free keys get everything else. Compare plans

Example requestValues are examples
curl https://api.vendortools.net/v1/lego/expansions/{theme}/cards/{set} \
  -H "X-Vendor-Tools-Key: vt_pk_…" \
  -H "X-Vendor-Tools-Secret: vt_sk_…"

Response (abridged)

{
  "ok": true,
  "data": {
    "name": "Millennium Falcon",
    "attributes": {
      "number": "75192",
      "releaseDate": "2017-10-01"
    },
    "pricing": {
      "currency": "GBP",
      "nearMintGbp": 649,
      "source": "market",
      "marketSources": [
        "ebay"
      ]
    }
  }
}

Themes in this API

Each has its own page with its routes and first sets. Use the slug in /v1/lego/expansions/{expansionSlug}, or list them all with GET /v1/lego/expansions. Browse them on Vendor Tools

What people build with it

  • LEGO resellers

    Price sealed stock from UK sold prices.

  • Collection apps

    Let fans track sets by theme and see their value.

  • Scanning stock in

    Match box barcodes to sets.

  • Marketplace listings

    Fill in names, set numbers and images.

Questions

What does the LEGO market price mean?
It's the price of a new, sealed set from UK eBay sales. The PriceCharting price guide is included as a reference.
Can I search by set number?
The set number is in attributes.number on every set. List a theme and match numbers on your side.

Start building with the LEGO API

The Free plan gives you 1,000 requests a month to build with — no card needed. Upgrade when you need prices or more requests.