REST base URL: https://api.vendortools.net/v1
LEGO API
LEGO Xtra API
Every set in LEGO Xtra as JSON — names, numbers, images and details — from the same catalogue as the Vendor Tools database. Use the slug lego-xtra in the routes below.
Sets
13
Routes for this theme
GET /v1/lego/expansions/lego-xtraTheme details: name, code, release date and logo.GET /v1/lego/expansions/lego-xtra/cardsEvery set, paginated (up to 100 a page), with name and number filters.GET /v1/lego/expansions/lego-xtra/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.
curl https://api.vendortools.net/v1/lego/expansions/lego-xtra/cards/traffic-lights-40311 \
-H "X-Vendor-Tools-Key: vt_pk_…" \
-H "X-Vendor-Tools-Secret: vt_sk_…"Response (abridged)
{
"ok": true,
"data": {
"name": "Traffic Lights #40311",
"slug": "traffic-lights-40311",
"collectorNumber": "40311",
"attributes": {
"…": "…"
},
"pricing": {
"currency": "GBP",
"nearMintGbp": "…"
}
}
}First sets in LEGO Xtra

Traffic Lights #40311
#40311

Sea Accessories #40341
#40341

Christmas Accessories #40368
#40368

Sports Accessories #40375
#40375

Chinatown #40464
#40464

Road Tape #854048
#854048

Water Tape #854065
#854065

Bicycles #40313
#40313

Food Accessories #40309
#40309

Botanical Accessories #40310
#40310

Streetlamps #40312
#40312

Food #40465
#40465
More themes in the LEGO API
1 Jan 2005City Minifigures
1,937 sets
Theme value—
1 Jan 1999Star Wars Minifigures
1,434 sets
Theme value—
1 Jan 2011Ninjago Minifigures
1,015 sets
Theme value—
LEGO Star Wars
969 sets
Theme value—
1 Jan 1978More Minifigures
915 sets
Theme value—
1 Jan 2012Friends Minifigures
876 sets
Theme value—
LEGO DUPLO
869 sets
Theme value—
LEGO City
857 sets
Theme value—
1 Jan 2002Super Heroes Marvel Minifigures
747 sets
Theme value—
1 Jan 1978Town Minifigures
726 sets
Theme value—
LEGO Creator
656 sets
Theme value—
LEGO Friends
630 sets
Theme value—
Start building with the LEGO Xtra 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.
