Discover/BrickLink API
live

BrickLink APIbricklink.com ↗

Search LEGO parts, sets, and minifigures on BrickLink. Get pricing, availability, color guides, and category listings via a clean REST API.

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

What is the BrickLink API?

This API exposes 4 endpoints covering the BrickLink LEGO catalog and marketplace, letting you search items by keyword, retrieve detailed price guides and for-sale listings for specific parts or sets, enumerate catalog categories by item type, and pull the full color reference. The get_item_details endpoint returns both a 6-month sales history and a live preview of up to 10 current listings, making it practical for pricing and sourcing workflows.

This call costs1 credit / call— charged only on success
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'
All endpoints · 4 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

Search and Browse the Catalog

The search_catalog endpoint accepts a free-text query and an optional item_type filter (P for Parts, S for Sets, M for Minifigures, and several others). Each result in the items array carries item_no, name, item_type, and separate availability figures for new and used conditions: new_qty, new_sellers, new_min_price, used_qty, used_sellers, and used_min_price. Pagination returns up to 25 items per page, and total tells you the full match count. To browse by category rather than keyword, list_categories returns an alphabetically sorted array of id and name objects for a given item_type.

Item Details and Price Guides

get_item_details takes an item_no (e.g. 3001 for a classic brick, 75192-1 for a set including its variant suffix) plus optional color_id and item_type parameters. The response includes the item's name, internal_id, and a colors array listing every color variant BrickLink tracks for that item — each row has color_id, color_name, and lots_for_sale. The price_guide object breaks down last_6_months_sales into new and used buckets, each with times_sold, total_qty, and min/max/average price fields. When a color_id is supplied, for_sale_total and the for_sale_preview array (up to 10 listings with seller username, country, quantity, and price) are scoped to that color.

Color Guide

get_color_guide takes no parameters and returns the complete BrickLink color reference. Each entry in the colors array carries a numeric id, a name, and four market-depth integers: parts (how many distinct parts exist in that color), in_sets, a wanted-list demand count, and a for-sale inventory count. This is the canonical place to resolve a color name to its BrickLink color_id before calling get_item_details.

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
5d 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 to monitor cost trends over time.
  • Populate an inventory management app with per-color lot counts from the colors array returned by get_item_details.
  • Identify the cheapest sellers for a specific part-color combination using for_sale_preview with a scoped color_id.
  • Generate a set completion cost estimate by querying get_item_details for each part in a build and aggregating price_guide averages.
  • Map BrickLink color names to numeric IDs for downstream data pipelines using get_color_guide as a lookup table.
  • Drive a catalog browsing UI by fetching category names and IDs from list_categories filtered by item type.
  • Assess market liquidity for a specific minifigure by reading times_sold and total_qty from the price_guide new/used breakdown.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. 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 publishes an official REST API documented at https://www.bricklink.com/v3/api.page. It requires registering an application for OAuth credentials and covers store inventory management, orders, and catalog reads. The Parse API covers catalog search and pricing data without requiring you to manage OAuth tokens.
What does `get_item_details` return when no `color_id` is provided?+
Without a color_id, the response returns the full colors array listing every color variant for the item, but for_sale_preview and for_sale_total reflect aggregate inventory rather than a single-color view. Supplying a numeric color_id (obtainable from get_color_guide) scopes both the preview listings and the for-sale count to that specific color.
Can I retrieve a user's BrickLink store inventory or order history?+
Not currently. The API covers catalog search, item price guides, category listings, and the color reference. Store inventory management, order data, and wanted-list contents are not exposed. You can fork this API on Parse and revise it to add those endpoints if your use case requires seller-side data.
How many results does `search_catalog` return per call, and can I page through them?+
Each call returns up to 25 items. The total field in the response indicates the full match count for the query. Searches are scoped to one item_type at a time, so a search for parts will not return sets in the same response.
Does the API cover BrickLink's MOC (My Own Creation) marketplace?+
Not currently. The API covers official LEGO catalog items across Parts, Sets, Minifigures, Books, Gear, Catalogs, Instructions, and Original Boxes. MOC listings are a separate section of BrickLink and are not included in the current endpoints. You can fork this API on Parse and revise it to add MOC coverage.
Page content last updated . Spec covers 4 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.
brico.be API
Search for home improvement products available at Brico.be, Belgium's leading retailer, and access detailed product information including prices, availability, and specifications. Quickly find tools, materials, and supplies across all categories to compare options and make informed purchasing decisions.
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.
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.
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.
littletoncoin.com API
Search and browse coins, currency, and collectibles from Littleton Coin Company's catalog to find products by category or keyword. Retrieve detailed product information to compare specs, prices, and availability across their collection.
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.