Discover/LCSC API
live

LCSC APIwmsc.lcsc.com

Access LCSC component data via API: product details, tiered pricing, stock levels, specs, and 3-level category hierarchy. 7 endpoints.

Endpoint health
verified 13h ago
search_products
get_categories
get_product_detail
parse_product_identification
parse_product_pricing
7/7 passing latest checkself-healing
Endpoints
7
Updated
22d ago

What is the LCSC 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.

Try it
The LCSC product code (e.g., C14663).
api.parse.bot/scraper/880c45e3-2545-435c-a879-8c1a478f4dc4/<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/880c45e3-2545-435c-a879-8c1a478f4dc4/get_product_detail?product_code=C14663' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace wmsc-lcsc-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: LCSC Electronics API — search components, inspect details, check pricing and stock."""
from parse_apis.lcsc_electronics_api import Lcsc, ProductNotFound

client = Lcsc()

# Search for capacitors — limit= caps total items fetched across pages.
for summary in client.productsummaries.search(query="NE555", limit=3):
    print(summary.product_code, summary.brand_name_en, summary.stock_number)

# Drill into one result's full detail via the summary→detail navigation.
hit = client.productsummaries.search(query="capacitor", limit=1).first()
if hit:
    full = hit.details()
    print(full.title, full.product_desc_en, full.encap_standard)

# Fetch a known product directly by code and inspect sub-views.
product = client.products.get(product_code="C14663")
print(product.title, product.brand_name_en)

pricing = product.get_pricing()
for tier in pricing.pricing_ladder:
    print(tier.ladder, tier.usd_price, tier.currency)

stock = product.get_stock()
print(stock.total_stock, stock.domestic_stock.ship_immediately)

specs = product.get_specifications()
for name, spec in specs.specs.items():
    print(spec.name_en, spec.value_en, spec.is_main)

# Typed error handling: catch ProductNotFound on a bad code.
try:
    client.products.get(product_code="C0000000")
except ProductNotFound as exc:
    print(f"not found: {exc.product_code}")

# Browse top-level categories.
for cat in client.categories.list(limit=3):
    print(cat.category_id, cat.category_name_en, cat.product_number)

print("exercised: search / details / get / get_pricing / get_stock / get_specifications / categories.list")
All endpoints · 7 totalmissing one? ·

Fetches complete product details for a given LCSC product code. Returns the full upstream record including pricing tiers, stock breakdown, specifications, images, PDF datasheet link, category path, and compliance data (ECCN, HTS codes). A single round-trip; no pagination.

Input
ParamTypeDescription
product_coderequiredstringThe LCSC product code (e.g., C14663).
Response
{
  "type": "object",
  "fields": {
    "title": "string composite brand + MPN title",
    "pdfUrl": "string datasheet PDF URL or null",
    "reelPrice": "number reel price or null",
    "brandNameEn": "string brand name",
    "paramVOList": "array of specification parameter objects",
    "productCode": "string LCSC product code",
    "stockNumber": "integer total stock",
    "productModel": "string manufacturer part number",
    "productImages": "array of image URLs",
    "productNameEn": "string English product name",
    "domesticStockVO": "object with domestic stock breakdown",
    "productPriceList": "array of pricing tier objects"
  },
  "sample": {
    "data": {
      "eccn": "EAR99",
      "split": 100,
      "title": "YAGEO CC0603KRX7R9BB104",
      "pdfUrl": "https://datasheet.lcsc.com/datasheet/pdf/23ccee80ee542e7cf156a772bb589942.pdf?productCode=C14663",
      "reelPrice": 3,
      "brandNameEn": "YAGEO",
      "catalogName": "Ceramic Capacitors",
      "paramVOList": [
        {
          "isMain": true,
          "paramNameEn": "Capacitance",
          "paramValueEn": "100nF"
        }
      ],
      "productCode": "C14663",
      "stockNumber": 0,
      "minBuyNumber": 100,
      "productModel": "CC0603KRX7R9BB104",
      "encapStandard": "0603",
      "isEnvironment": true,
      "productDescEn": "100nF ±10% 50V Ceramic Capacitor X7R 0603",
      "productImages": [
        "https://assets.lcsc.com/images/lcsc/900x900/20250715_YAGEO-CC0603KRX7R9BB104_C14663_front.jpg"
      ],
      "productNameEn": "CAP CER 100nF 50V X7R 0603",
      "domesticStockVO": {
        "total": 0,
        "ship3Days": 0,
        "shipImmediately": 0
      },
      "productPriceList": [
        {
          "ladder": 100,
          "usdPrice": 0.0107,
          "discountRate": "1",
          "currencyPrice": 0.0107,
          "currencySymbol": "$"
        }
      ]
    },
    "status": "success"
  }
}

About the LCSC API

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.

Reliability & maintenanceVerified

The LCSC API is a managed, monitored endpoint for wmsc.lcsc.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when wmsc.lcsc.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 wmsc.lcsc.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
13h ago
Latest check
7/7 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
  • BOM (bill of materials) cost estimation using tiered pricing from parse_product_pricing
  • Real-time stock monitoring for critical components using parse_product_stock shipment 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_categories to map category IDs to product segments
  • Automated datasheet and spec ingestion pipelines using parse_product_specifications parameter values
  • Distributor comparison tools that pull LCSC pricing and stock alongside other supplier feeds
  • Inventory alerting systems that poll totalStock and shipImmediately counts for supply chain risk signals
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 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.

Frequently asked questions
Does LCSC have an official developer API?+
LCSC does not publish a general-purpose public developer API for component data. This API on Parse provides structured access to LCSC product, pricing, stock, and category data.
What does `parse_product_stock` return beyond a total stock number?+
It returns 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?+
The 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.
Does the API return product reviews or seller ratings for LCSC listings?+
No reviews or ratings fields are exposed. The API covers product specifications, pricing tiers, stock levels, compliance data, and category hierarchy. You can fork the API on Parse and revise it to add a reviews or ratings endpoint if that data is accessible.
How fresh is the pricing and stock data returned by these endpoints?+
The data reflects what is currently available on LCSC's marketplace at the time of the request. LCSC stock and pricing can change frequently for high-demand parts, so applications with strict freshness requirements should avoid caching responses for extended periods.
Page content last updated . Spec covers 7 endpoints from wmsc.lcsc.com.
Related APIs in MarketplaceSee all →
mouser.com API
mouser.com API
we-online.com API
Search and access detailed specifications for electronic components from Würth Elektronik's catalog, including product categories, series information, and comprehensive article details. Quickly find the right components by browsing categories or looking up specific products with full technical data.
cityelectricsupply.com API
Search and browse City Electric Supply's product catalog across categories, view detailed product information with localized pricing and inventory based on a ZIP code, and manage a shopping cart. Access product details and real-time stock availability for any area.
pccomponentes.com API
Search and browse PC components across categories and retrieve detailed product information including technical specifications, pricing, availability, and customer reviews. Ideal for comparing hardware options across processors, graphics cards, laptops, and more.
element14.com API
Search and browse Newark (element14)'s electronic components catalog to find product details, pricing, stock levels, and technical documentation. Retrieve specifications, explore categories and manufacturers, and access real-time inventory information to compare components.
componentsearchengine.com API
Search for electronic components and access detailed specifications including pricing, datasheets, and 3D models from a comprehensive component database. Browse top trending components, retrieve in-depth metadata, and integrate real-time component information into your sourcing and design workflows.
lowes.com API
Search and browse products from Lowe's, including product listings by category, detailed product information, and pricing. Retrieve comprehensive details on specific items to compare options and make informed purchasing decisions.
mcmaster.com API
Search McMaster-Carr's industrial supply catalog to discover products by category, view detailed listings with part numbers and prices, and apply filters to find exactly what you need. Look up specific part numbers to get complete product information and pricing in seconds.