Discover/bricklink.com API
live

bricklink.com APIbricklink.com

Search LEGO parts, sets, and minifigures on BrickLink. Get pricing, availability, categories, color guide data, and wanted lists via 6 API endpoints.

Endpoints
6
Updated
27d ago
Try it
Search keyword (e.g., 'brick 2x4')
Item type filter: P (Parts), S (Sets), M (Minifigures), B (Books), G (Gear), C (Catalogs), I (Instructions), O (Original Boxes)
api.parse.bot/scraper/780098fe-28a1-4efb-8c4e-adbcea1a29c4/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/780098fe-28a1-4efb-8c4e-adbcea1a29c4/search_catalog?query=brick+2x4&item_type=P' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 6 totalclick to expand

Search for LEGO items in the BrickLink catalog by keyword. Returns up to 25 results per page with pricing and availability information.

Input
ParamTypeDescription
queryrequiredstringSearch keyword (e.g., 'brick 2x4')
item_typestringItem type filter: P (Parts), S (Sets), M (Minifigures), B (Books), G (Gear), C (Catalogs), I (Instructions), O (Original Boxes)
Response
{
  "type": "object",
  "fields": {
    "items": "array of item objects with item_no, name, item_type, new_qty, new_sellers, new_min_price, used_qty, used_sellers, used_min_price",
    "total": "integer total count of matching items"
  },
  "sample": {
    "data": {
      "items": [
        {
          "name": "Brick 2 x 4",
          "item_no": "3001",
          "new_qty": 6575125,
          "used_qty": 2278420,
          "item_type": "P",
          "new_sellers": 6162,
          "used_sellers": 74811,
          "new_min_price": "US $0.0055",
          "used_min_price": "US $0.0007"
        }
      ],
      "total": 1338
    },
    "status": "success"
  }
}

About the bricklink.com API

The BrickLink API exposes 6 endpoints covering the full BrickLink LEGO catalog and marketplace, including live pricing and availability. The search_catalog endpoint returns up to 25 items per page with new and used seller counts, minimum prices, and quantity available. Additional endpoints cover item details, category listings, the complete color guide, and authenticated access to user wanted lists.

Catalog Search and Item Details

The search_catalog endpoint accepts a query string and an optional item_type filter (P for Parts, S for Sets, M for Minifigures, B for Books, G for Gear, C for Catalogs, I for Instructions, O for Original Boxes). Each result in the items array includes item_no, name, item_type, and split new/used market data: new_qty, new_sellers, new_min_price, used_qty, used_sellers, and used_min_price. The total field indicates the full result count across pages.

The get_item_details endpoint takes an item_no and optional item_type and returns the item's name, item_no, item_type, internal_id, and a for_sale_preview array with current seller listings and pricing snapshots. This is useful for building item pages or populating price-check tools without running a broad search.

Categories and Color Guide

The list_categories endpoint accepts an item_type parameter and returns an array of category objects with id and name. This lets you build navigation trees or filter UIs that mirror BrickLink's taxonomy. The get_color_guide endpoint requires no inputs and returns the full BrickLink color reference: each color object carries an id, name, and integer counts for parts, in_sets, wanted, and for_sale. This is the canonical BrickLink color inventory across the entire catalog.

Wanted Lists (Authenticated)

The get_wanted_lists endpoint returns all wanted lists for an authenticated user as an array of objects with id and name. The get_wanted_list_items endpoint accepts a list_id (use 0 for the default list) and returns a wantedItems array alongside a wantedListInfo object. Both endpoints require valid session credentials tied to a BrickLink account.

Common use cases
  • Build a LEGO part price tracker using new_min_price and used_min_price from search_catalog.
  • Populate a set inventory tool by querying get_item_details for each set number and reading the for_sale_preview.
  • Generate a color availability dashboard using parts, in_sets, and for_sale from get_color_guide.
  • Create a category browser for LEGO parts or sets using the id and name fields from list_categories.
  • Sync a user's BrickLink wanted list into an external shopping or collection management app via get_wanted_list_items.
  • Cross-reference new vs. used seller depth on a specific part by comparing new_sellers and used_sellers from search results.
  • Build a minifigure lookup tool by filtering search_catalog with item_type=M and surfacing pricing and availability.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does BrickLink have an official developer API?+
Yes. BrickLink offers an official REST API documented at https://www.bricklink.com/v3/api.page. It requires OAuth 1.0a credentials and covers orders, inventory management, and catalog data for registered sellers and developers.
What does `search_catalog` return for pricing, and does it include historical price data?+
Each result includes current marketplace figures: new_min_price, used_min_price, new_qty, used_qty, new_sellers, and used_sellers. Historical price data such as six-month averages or past sale prices is not currently covered. The API covers live catalog and marketplace snapshots. You can fork it on Parse and revise to add endpoints targeting historical price ranges.
What is the pagination behavior for `search_catalog`?+
The endpoint returns up to 25 results per call along with a total integer indicating the full match count. There is no built-in page parameter exposed in the current endpoint definition, so results beyond the first 25 are not directly accessible through this endpoint as documented.
Does the API return part-out values or set investment data?+
Not currently. The API covers per-item new and used marketplace prices, seller counts, and catalog metadata. Part-out value calculations (aggregate value of all parts in a set) are not exposed as a dedicated field. You can fork it on Parse and revise to add an endpoint that aggregates part prices for a given set number.
Are store inventory or seller profile details available?+
The get_item_details endpoint includes a for_sale_preview array with seller info and pricing for a specific item, but full store inventory browsing and seller profile pages are not currently covered as standalone endpoints. You can fork it on Parse and revise to add seller-specific or store-level endpoints.
Page content last updated . Spec covers 6 endpoints from bricklink.com.
Related APIs in MarketplaceSee all →
brickset.com API
Search and browse thousands of LEGO sets by theme, year, or keyword. Retrieve detailed data for any set including piece count, minifigure count, dimensions, RRP, and more. Explore the full catalog of themes and yearly releases available on Brickset.
joueclub.fr API
Browse LEGO sets and toys from JouéClub's French catalog, discovering product details, pricing, and current promotions all in one place. Filter by category and brand to find the perfect LEGO set or toy for your needs.
leroymerlin.fr API
Search and browse Leroy Merlin France's complete product catalog to find items by category, view pricing, product details, and compare offerings from Leroy Merlin and their online partners. Access real-time product information including names, IDs, URLs, and seller details to help you discover and evaluate home improvement and DIY products.
ruby-lane.com API
Search and browse antiques, collectibles, and jewelry listings on Ruby Lane, view detailed item information including prices and descriptions, and discover shop profiles and inventory. Find exactly what you're looking for across multiple shops or explore specific categories to compare items and sellers.
dba.dk API
Search and retrieve detailed listings from Denmark's largest marketplace DBA.dk, including product information, pricing, and seller details across general goods and car categories. Browse marketplace categories, find specific items, and access comprehensive data on both regular listings and automotive inventory.
blocket.se API
Search and browse second-hand items, cars, and housing listings across Blocket.se and Qasa.se, then retrieve detailed information about any listing that interests you. Get instant access to comprehensive product details, pricing, and categorized inventory across multiple marketplaces in one unified interface.
lista.mercadolivre.com.br API
Search and browse products from Mercado Livre Brazil, view detailed pricing and offers, and explore categories to find daily deals and product information. Get comprehensive product details including specifications and current market offers all in one place.
ikea.com API
Search and browse IKEA's full product catalog to find items by category, compare measurements, read customer reviews, and check real-time store availability and current deals. Discover new arrivals and best-selling products to help you shop smarter and find exactly what you need.