Discover/BrickLink API
live

BrickLink APIbricklink.com

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

Endpoint health
verified 4d ago
get_item_details
search_catalog
get_color_guide
list_categories
4/4 passing latest checkself-healing
Endpoints
6
Updated
22d ago

What is the BrickLink 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.

Try it
Search keyword (e.g., 'brick 2x4', 'millennium falcon')
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.
Call it over HTTPgrab 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'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace bricklink-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""BrickLink catalog walkthrough: search parts, drill into details, browse colors."""
from parse_apis.bricklink_api import BrickLink, ItemType, ItemNotFound

client = BrickLink()

# Search for parts matching "brick 2x4" — limit caps total items fetched.
for part in client.itemsummaries.search(query="brick 2x4", item_type=ItemType.PARTS, limit=5):
    print(part.name, part.new_min_price, part.used_sellers)

# Drill into the first result to see for-sale listings.
summary = client.itemsummaries.search(query="plate 1x2", limit=1).first()
if summary:
    detail = summary.details()
    print(detail.name, detail.internal_id)
    for listing in detail.for_sale_preview[:3]:
        print(listing.strSellerUsername, listing.strColor, listing.mInvSalePrice)

# Fetch an item directly by catalog number.
try:
    item = client.items.get(item_no="3001")
    print(item.name, item.item_type, len(item.for_sale_preview))
except ItemNotFound as exc:
    print(f"Item not found: {exc.item_no}")

# List categories for sets.
for cat in client.categories.list(item_type=ItemType.SETS, limit=5):
    print(cat.id, cat.name)

# Browse the color guide — top colors by demand.
for color in client.colors.list(limit=10):
    print(color.name, color.parts, color.wanted, color.for_sale)

print("Exercised: itemsummaries.search / summary.details / items.get / categories.list / colors.list")
All endpoints · 6 totalmissing one? ·

Full-text search across the BrickLink catalog by keyword. Returns up to 25 items per page with pricing and availability counts for new and used conditions. Results are scoped to one item_type at a time. Each result includes min prices and seller counts sufficient for comparison without a detail fetch.

Input
ParamTypeDescription
queryrequiredstringSearch keyword (e.g., 'brick 2x4', 'millennium falcon')
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": 6216421,
          "used_qty": 2459479,
          "item_type": "P",
          "new_sellers": 6070,
          "used_sellers": 74791,
          "new_min_price": "US $0.007",
          "used_min_price": "US $0.0009"
        }
      ],
      "total": 1340
    },
    "status": "success"
  }
}

About the BrickLink API

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.

Reliability & maintenanceVerified

The BrickLink API is a managed, monitored endpoint for bricklink.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when bricklink.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official bricklink.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
4/4 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
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,000100 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.