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

LEGO API

LEGO Town Minifigures API

Every set in Town Minifigures as JSON — names, numbers, images and details — from the same catalogue as the Vendor Tools database. Use the slug town-minifigures in the routes below.

Sets

726

First release

1978

Routes for this theme

  • GET /v1/lego/expansions/town-minifiguresTheme details: name, code, release date and logo.
  • GET /v1/lego/expansions/town-minifigures/cardsEvery set, paginated (up to 100 a page), with name and number filters.
  • GET /v1/lego/expansions/town-minifigures/cards/{slug}One set with its attributes and, on paid plans, 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.

Example requestValues are examples
curl https://api.vendortools.net/v1/lego/expansions/town-minifigures/cards/policeman-black-jacket-with-zipper-white-helmet-3842a-helmet-fig-000039 \
  -H "X-Vendor-Tools-Key: vt_pk_…" \
  -H "X-Vendor-Tools-Secret: vt_sk_…"

Response (abridged)

{
  "ok": true,
  "data": {
    "name": "Policeman (Black Jacket with Zipper, White Helmet (3842a Helmet))",
    "slug": "policeman-black-jacket-with-zipper-white-helmet-3842a-helmet-fig-000039",
    "attributes": {
      "…": "…"
    },
    "pricing": {
      "currency": "GBP",
      "nearMintGbp": "…"
    }
  }
}

First sets in Town Minifigures

See all 726 on Vendor Tools

More themes in the LEGO API

Start building with the LEGO Town Minifigures 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.