+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
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} 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 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
| BrickLink catalog search /bricklink/ | $1 · $2 PAYG 1 credit |
| BrickLink catalog item /bricklink/ | $1 · $2 PAYG 1 credit |
| BrickLink items for sale /bricklink/ | $1 · $2 PAYG 1 credit |
| BrickLink set inventory /bricklink/ | $1 · $2 PAYG 1 credit |
| BrickLink price guide /bricklink/ | $1 · $2 PAYG 1 credit |
Call the BrickLink API
BrickLink catalog search: GET https://api.api.sh/bricklink/
curl "https://api.api.sh/bricklink/v1/search?q=millennium+falcon&type=set" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/bricklink/v1/search",
params={"q": "millennium falcon", "type": "set"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/bricklink/v1/search");
url.searchParams.set("q", "millennium falcon");
url.searchParams.set("type", "set");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/bricklink/v1/search", "q", "millennium falcon", "type", "set")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "BrickLink" and "BrickLink catalog search".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 918 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor 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.