BrickLink+API.SH

BrickLink API

Get BrickLink price guides, items for sale, set inventories and catalog data for any LEGO set, part or minifigure as clean JSON.

The API.SH BrickLink API returns public BrickLink catalog and marketplace data as structured JSON. Search sets, parts, minifigures, gear and instructions; pull an item's catalog entry with year, weight, dimensions, category and colors; read the price guide with six months of sales and the current items for sale, new and used; list every store lot offering an item with condition, quantity, price and store; and get a set's full parts inventory.

  • 5 endpoints
  • from $1 / 1,000 calls
  • 1,000 free credits / month
  • failed calls free
BrickLink catalog search
GET https://api.api.sh/bricklink/v1/search
{"query": "millennium falcon","type": "set","sort": "relevance","total": 31,"counts": {"set": 31},"page": 1,"next_page": 2,"count": 25,"items": [{"item_id": 5500,"type": "set","no": "7190-1","name": "Millennium Falcon","new": {"quantity": 5,"sellers": 5,"min_price": 420.29,"max_price": 615.18,"currency": "GBP"},"used": {"quantity": 20,"sellers": 20,"min_price": 126.76,"max_price": 699.95,"currency": "GBP"},"category": "65.258","image": "https://img.bricklink.com/ItemImage/SN/0/7190-1.png","url": "https://www.bricklink.com/v2/catalog/catalogitem.page?S=7190-1"},{"item_id": 98767,"type": "set","no": "7965-1","name": "Millennium Falcon","new": {"quantity": 62,"sellers": 57,"min_price": 121.06,"max_price": 559.25,"currency": "GBP"},"used": {"quantity": 55,"sellers": 52,"min_price": 67.52,"max_price": 506.31,"currency": "GBP"},"category": "65.258","image": "https://img.bricklink.com/ItemImage/SN/0/7965-1.png","url": "https://www.bricklink.com/v2/catalog/catalogitem.page?S=7965-1"},"… 23 more"],"cached": false,"credits_used": 1}
1 credit · $1 per 1,000 calls

What you can build with the BrickLink API

LEGO set valuation

Value a set or minifigure from the last six months of new and used sales (average, quantity average, min and max) and the prices of current listings.

Buying parts at the best price

List every store selling a part or set, filtered by condition, color, ships-to country and quantity, sorted by price, to plan the cheapest order.

Part-out analysis

Get a set's full inventory (parts, minifigures, extras and alternates) and price each piece to see whether parting out beats selling the set whole.

Collection and catalog apps

Search the catalog by name or number and fill in each item's year, weight, dimensions, category path, known colors and images.

Price tracking in spreadsheets

Pull price guide summaries for a list of sets into Google Sheets every week and chart how retired sets gain value.

BrickLink data you get

Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.

BrickLink catalog item/bricklink/v1/item
item_id157691typesetno75192-1nameMillennium Falcon - UCS {2nd edi…year_released2017weight13150gdimensions54 x 45 x 39 cminstructionsYescategory_id607default_color_id0has_inventorytrueimagehttps://img.bricklink.com/ItemIm…urlhttps://www.bricklink.com/v2/cat…
category_path[]name · url
consists_of[]text · count · url
BrickLink items for sale/bricklink/v1/item/for-sale
item_id68171typesetno10179-1nameMillennium Falcon - UCSsortprice_asccondalltotal65page1next_page2count25
listings[]lot_id · condition · completeness · quantity · price · price_display · store_price · sale_percent · tiers · description · color_id · color
BrickLink set inventory/bricklink/v1/item/inventory
item_id68171typesetno10179-1nameMillennium Falcon - UCSviewstandardcount298
summary[]section · kind · lots · quantity
items[]section · kind · quantity · type · no · item_id · color_id · name · description · match_id · image

BrickLink API endpoints and prices

Every BrickLink endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing

Search and discovery1
BrickLink catalog search
/bricklink/v1/search
params q +14 optionaldocstry
$1 · $2 PAYG
1 credit
Products, listings and places4
BrickLink catalog item
/bricklink/v1/item
params no +2 optionaldocstry
$1 · $2 PAYG
1 credit
BrickLink items for sale
/bricklink/v1/item/for-sale
params no +15 optionaldocstry
$1 · $2 PAYG
1 credit
BrickLink set inventory
/bricklink/v1/item/inventory
params no +4 optionaldocstry
$1 · $2 PAYG
1 credit
BrickLink price guide
/bricklink/v1/item/price-guide
params no +8 optionaldocstry
$1 · $2 PAYG
1 credit

Call the BrickLink API

BrickLink catalog search: GET https://api.api.sh/bricklink/v1/search

curl "https://api.api.sh/bricklink/v1/search?q=millennium+falcon&type=set" \
  -H "x-api-key: $APISH_KEY"
  1. Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
  2. Create an API keyOne key works for all 918 platforms.
  3. Send the requestJSON back in one call. Add output=csv or output=ndjson for files.

Why API.SH for BrickLink data

  • Public data only: no BrickLink login, cookies or account needed
  • One key and one response shape for BrickLink and 917 other platforms
  • Built and maintained by API.SH, not third-party publishers
  • Pay per call; errors on our side cost nothing
  • No rate limits: run as many calls in parallel as you need
  • Live status for every endpoint

API.SH vs the official BrickLink API

BrickLink has an official Store API (OAuth with a consumer key from a seller account) that includes a price guide and catalog lookups, meant for stores managing their own inventory and orders. API.SH needs no account or consumer key and returns public catalog, price guide, for-sale and inventory data in one JSON shape.

Skip registering a store and handling OAuth, or maintaining a BrickLink scraper: API.SH gives you one key and a fixed price per call.

BrickLink API questions

What BrickLink data can I get?+

Catalog search (/bricklink/v1/search), catalog items (/bricklink/v1/item), the price guide with six months of sales and current listings (/bricklink/v1/item/price-guide), every store lot for sale (/bricklink/v1/item/for-sale) and set inventories (/bricklink/v1/item/inventory).

How much does the BrickLink API cost?+

Every BrickLink endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.

Is there a free trial?+

Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /bricklink/v1/item at 1 credit each.

Is there an official BrickLink API?+

Yes. BrickLink's Store API uses OAuth with a consumer key from a BrickLink account and is aimed at sellers. API.SH needs no account or key and returns the public data directly.

Do I need a BrickLink account or consumer key?+

No. API.SH reads public BrickLink pages only. No endpoint uses a login, a key or anyone's account.

Can I get BrickLink prices for a part in one color?+

Yes. Pass the color id (from known_colors on /bricklink/v1/item) to /bricklink/v1/item/price-guide or /bricklink/v1/item/for-sale.

Can I use BrickLink prices in Google Sheets?+

Yes. Use the API.SH Google Sheets add-on or a plain HTTPS call with your key to pull price guide summaries into a sheet.

How do I get started?+

1. Sign up at api.sh. 2. Copy your API key. 3. Call /bricklink/v1/item/price-guide with type=set and no=75192-1. Every parameter is in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.

Does the BrickLink API have a rate limit?+

No. API.SH puts no rate limit on your key: send as many BrickLink calls in parallel as you need and pay only for the calls that run. If BrickLink itself slows down, the call returns 503 with a retry-after header and is not charged.

More e-commerce APIs all e-commerce APIs →

Start with 1,000 free credits
Every month, on every account. One key works for all 918 platforms.
Get a free API key