BrickLink API
bricklink.com
LEGO parts and sets catalog - item details, listings, and price-guide data.
- Actions
- 8
- Category
- Marketplace
- Login
- Not required
- Output
- JSON
Call the BrickLink API
Submit a task, then poll the job until it settles. This example runs act_bricklink_catalog_category_tree.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_bricklink_catalog_category_tree",
"params": {
"item_type": "P"
}
}'8 actions on bricklink.com
Read
Catalog Category Tree
act_bricklink_catalog_category_treeread1 credit / callReturns the parts or sets catalog category hierarchy with subcategory names, IDs, and listing URLs.
- item_type
- string · required
Catalog Item Images
act_bricklink_catalog_item_imagesread1 credit / callReturns image URLs and color variants for a catalog item and color.
- id_item
- string · required
- color_id
- string · required
Marketplace Items For Sale
act_bricklink_marketplace_items_for_saleread2 credits / callReturns marketplace seller listings with prices, quantities, condition, and seller details for an item.
- itemid
- string · required
- color
- string · required
Parts Catalog Listing
act_bricklink_parts_catalog_listingread2 credits / callReturns a paginated parts list for a catalog subcategory with IDs, names, thumbnails, and links.
- cat_type
- string · required
- category_id
- string · required
- page
- string
Price Guide Details
act_bricklink_price_guide_detailread1 credit / callReturns price-guide details with historical sales and for-sale summaries for a part and color.
- part_id
- string · required
- color_id
- string · required
Price Guide Summary
act_bricklink_price_guide_summaryread2 credits / callReturns min, average, and max price-guide tiers for an item, color, and currency.
- id_item
- string · required
- color_id
- string · required
- currency
- string · required
Site Header Navigation
act_bricklink_site_header_navigationread1 credit / callReturns the header navigation tree with catalog section links for Parts, Sets, and Minifigures.
Site Homepage
act_bricklink_site_homepageread1 credit / callReturns featured homepage sets with titles, prices, images, and wanted counts.
BrickLink API questions
- Is there an API for BrickLink?
- BrickLink does not offer a public data API for this, but Anakin Wire provides 8 maintained endpoints for bricklink.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape BrickLink data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when bricklink.com changes its markup, Anakin updates the action.
- Do I need a BrickLink account?
- No. Every BrickLink action listed here runs anonymously — no account and no credentials required.
- What does the BrickLink API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Marketplace APIs
130point
Trading card price tracker - recent and sold listings with full price history.
1stDibs
Search luxury and antiques, browse categories (furniture, jewelry, art, fashion), view item details, and browse USA dealer listings.
2dehands (Belgium)
Belgian second-hand classifieds - listings, item details, sellers, and categories.
AbeBooks
Used and rare book marketplace - collections, listings, details, and pricing.
Abound
B2B wholesale marketplace for independent retailers - categories, products, and brands.
Adlandpro
Classifieds marketplace - category browse, listing search, and detail pages.