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

Lion Knights' Castle #10305
#10305

King's Castle #6080
#6080

Black Knight's Castle #6086
#6086

Royal Knight's Castle #6090
#6090

Giant Chess #852293
#852293

Black Falcon's Fortress #10039
#10039

Camouflaged Outpost #6066
#6066

Black Monarch's Castle #6085
#6085

Fright Force #6031
#6031

Black Monarch's Ghost #6034
#6034

Skeleton Surprise #6036
#6036

Fright Knights Catapult Cart #2540
#2540
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 Castle 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.
