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

Mission 6: Mobile Command Center #8635
#8635

Mission 1: Jetpack Pursuit #8631
#8631

Gold Tooth's Getaway #8967
#8967

River Heist #8968
#8968

4-Wheeling Pursuit #8969
#8969

Robo Attack #8970
#8970

Mission 8: Volcano Base #8637
#8637

Mission 3: Gold Hunt #8630
#8630

Mission 7: Deep Sea Quest #8636
#8636

Mission 2: Swamp Raid #8632
#8632

Mission 4: Speedboat Rescue #8633
#8633

Mission 5: Turbocar Chase #8634
#8634
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 Agents 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.
