BrickLink Scraper - LEGO Catalog & Price Guide avatar

BrickLink Scraper - LEGO Catalog & Price Guide

Pricing

from $1.00 / 1,000 results

Go to Apify Store
BrickLink Scraper - LEGO Catalog & Price Guide

BrickLink Scraper - LEGO Catalog & Price Guide

Scrape the BrickLink LEGO catalog + price guide: item no, name, type, category, image, and current-market New/Used min, average, qty-average & max prices with quantities and seller counts. Search by keyword and item type (Set/Part/Minifig/Book). No account or API key.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

James Scott

James Scott

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

3 days ago

Last modified

Share

Scrape the BrickLink LEGO catalog and its price guide into clean, structured data - no BrickLink account or API key required. For every catalog item you get its identity (number, name, type, category, image) plus the current-market price guide: New and Used min / average / qty-average / max prices, quantities and seller counts, computed from every live listing.

What you get (per item)

  • Item number (75300-1, 3001, sw0599), name, type (Set / Part / Minifig / Book / Gear / ...), BrickLink category id
  • Canonical catalog URL and image URL
  • Currency (USD - all prices are BrickLink's US$-normalized figures)
  • New price guide: newMinPrice, newAvgPrice, newQtyAvgPrice, newMaxPrice, newTotalQty, newLots, newSellerCount
  • Used price guide: usedMinPrice, usedAvgPrice, usedQtyAvgPrice, usedMaxPrice, usedTotalQty, usedLots, usedSellerCount
  • priceGuideSource - current_market when the detailed per-item price guide was fetched, else search_summary (min/max/qty only)

The New/Used min-average-qty-average-max figures mirror BrickLink's "Current Items for Sale" price-guide tables - the numbers resellers price against day to day.

Input

  • Search keyword - e.g. star wars, millennium falcon, 75300, or a part number like 3001.
  • Item type - Set, Part, Minifig, Book, Gear, Catalog, Instruction, or Any (scans Set/Part/Minifig/Book).
  • BrickLink search URLs - or paste catalog/search URLs; the keyword is read from each URL's ?q= parameter.
  • Fetch detailed price guide per item - ON (default) computes exact averages from every live listing (one extra bounded request per item); OFF keeps only the search min/max/qty summary (faster/cheaper).
  • Max items caps the run.

Example input

{
"query": "star wars",
"itemType": "S",
"priceGuideDetail": true,
"maxItems": 200,
"proxyConfiguration": { "useApifyProxy": true }
}

Example output record (real, live)

{
"itemNo": "75407-1",
"itemName": "Brick-Built Star Wars Logo",
"itemType": "Set",
"itemTypeCode": "S",
"categoryId": "65.169",
"yearReleased": null,
"url": "https://www.bricklink.com/v2/catalog/catalogitem.page?S=75407-1",
"imageUrl": "https://img.bricklink.com/ItemImage/SN/0/75407-1.png",
"currency": "USD",
"newMinPrice": 38.34,
"newAvgPrice": 67.1586,
"newQtyAvgPrice": 65.4792,
"newMaxPrice": 120.55,
"newTotalQty": 272,
"newLots": 104,
"newSellerCount": 101,
"usedMinPrice": 29.99,
"usedAvgPrice": 41.268,
"usedQtyAvgPrice": 41.268,
"usedMaxPrice": 57.16,
"usedTotalQty": 5,
"usedLots": 5,
"usedSellerCount": 4,
"priceGuideSource": "current_market",
"priceGuideSampled": false,
"soldPriceGuide": null,
"scrapedFrom": "bricklink.com"
}

How it works

  • Search - GET /ajax/clone/search/searchproduct.ajax paginates the catalog for your keyword + item type. Each row already carries a current New/Used min-max-qty-seller summary.
  • Price guide - for each item, one bounded GET /ajax/clone/catalogifs.ajax pulls the whole current for-sale book (up to 500 listings, price-sorted), and the actor computes the New/Used min/avg/qty-avg/max/total-qty/lots.

Both are BrickLink's own internal JSON handlers, so the actor parses structured JSON, not brittle CSS, and runs on Apify's default datacenter proxy (no pricey residential proxy).

Known limitation - historical "sold" data

BrickLink's "Last 6 Months Sold" price-guide quadrants live only on the classic catalogPG.asp page, which is protected by an AWS WAF JavaScript challenge and cannot be reached by a plain HTTP client. This actor therefore captures the current-market price guide (live listings) and emits soldPriceGuide as null. Adding sold data would require a headless browser to solve the WAF challenge and mint an aws-waf-token cookie before calling catalogPG.asp; it is intentionally out of scope for this JSON-only, proxy-light actor.

yearReleased is likewise only on the WAF-gated detail page and is emitted as null; categoryId is BrickLink's stable catalog category identifier (name resolution also requires the gated catalog).

Why this actor

  • Real price intelligence: New/Used averages, ranges, quantities and seller depth for any LEGO set, part or minifig.
  • Fast + cheap: BrickLink's own JSON, one bounded request per item, default datacenter proxy.
  • Durable: structured JSON handlers, not CSS selectors.
  • Export as JSON, CSV, or Excel, or pull via the Apify API.

Great for LEGO resellers, collectors and analysts doing pricing, sell-through and inventory-valuation research.

This is public catalog data provided for research; it is not affiliated with or endorsed by BrickLink or the LEGO Group.