wmsc.lcsc.com APIwmsc.lcsc.com ↗
Access LCSC component data via API: product details, tiered pricing, stock levels, specs, and 3-level category hierarchy. 7 endpoints.
curl -X GET 'https://api.parse.bot/scraper/880c45e3-2545-435c-a879-8c1a478f4dc4/get_product_detail?product_code=C14663' \ -H 'X-API-Key: $PARSE_API_KEY'
Fetches complete product details for a given LCSC product code, including pricing, stock, specifications, images, and compliance data.
| Param | Type | Description |
|---|---|---|
| product_coderequired | string | The LCSC product code (e.g., C14663). |
{
"type": "object",
"fields": {
"result": "object containing full product details including pricing, stock, specifications, images, and compliance data"
},
"sample": {
"data": {
"result": {
"brandNameEn": "YAGEO",
"productCode": "C14663",
"stockNumber": 5854600,
"productModel": "CC0603KRX7R9BB104",
"encapStandard": "0603",
"productNameEn": "CAP CER 100nF 50V X7R 0603",
"productPriceList": [
{
"ladder": 100,
"currencyPrice": 0.0031
}
]
}
},
"status": "success"
}
}About the wmsc.lcsc.com API
The LCSC API provides 7 endpoints for retrieving electronics component data from LCSC's marketplace, covering product details, tiered pricing, stock availability, technical specifications, and category hierarchy. The get_product_detail endpoint returns a full record for any LCSC product code, including compliance data and images, while search_products lets you query by keyword and page through results with MPN, brand, and live stock counts.
Product Lookup and Search
The get_product_detail endpoint accepts a single product_code (e.g., C14663) and returns the complete product record: pricing tiers, current stock, technical parameters, images, and compliance data in one call. For open-ended discovery, search_products takes a query string and an optional page integer, returning totalCount plus a productList array where each item carries productCode, productModel, brandNameEn, stockNumber, and a productPriceList.
Focused Parse Endpoints
Four dedicated endpoints parse specific slices of a product record without fetching the full detail payload. parse_product_pricing returns a pricingLadder array — each tier includes ladder (minimum quantity), unitPrice, usdPrice, currency, and discountRate — plus a reelPrice for full-reel orders. parse_product_stock breaks availability into totalStock and a domesticStock object with total, shipImmediately, and ship3Days counts. parse_product_specifications returns a specs object keyed by parameter name, each entry containing nameEn, valueEn, and an isMain flag that indicates whether the parameter is a primary specification. parse_product_identification surfaces core identity fields: mpn, title, productCode, and productName.
Category Hierarchy
The get_categories endpoint requires no inputs and returns the full 3-level category tree. Each node exposes categoryId, categoryNameEn, productNumber, and a childCategoryList for nesting. This is useful for building browse interfaces or filtering search results by category segment.
Coverage Notes
All product-code-based endpoints operate on the same LCSC code format (prefixed with C). Stock figures reflect LCSC's own warehouse breakdown between immediate-ship and 3-day-ship inventory, which is useful for lead-time estimation in BOM tooling.
- BOM (bill of materials) cost estimation using tiered pricing from
parse_product_pricing - Real-time stock monitoring for critical components using
parse_product_stockshipment breakdowns - Component cross-reference tools that resolve an LCSC code to MPN and brand via
parse_product_identification - Parametric search and filtering by querying
get_categoriesto map category IDs to product segments - Automated datasheet and spec ingestion pipelines using
parse_product_specificationsparameter values - Distributor comparison tools that pull LCSC pricing and stock alongside other supplier feeds
- Inventory alerting systems that poll
totalStockandshipImmediatelycounts for supply chain risk signals
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 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.
Does LCSC have an official developer API?+
What does `parse_product_stock` return beyond a total stock number?+
totalStock as an integer and a domesticStock object with three sub-fields: total (domestic warehouse total), shipImmediately (units ready for same-day dispatch), and ship3Days (units available within three days). This breakdown is useful for distinguishing lead times when building procurement logic.Can I filter `search_products` results by category, package type, or other parameters?+
search_products endpoint currently accepts a query keyword and a page number. Filtering by category ID, package, or other technical attributes is not supported in the current endpoint. You can fork the API on Parse and revise it to add a category- or parameter-filtered search endpoint.