Marketplace
LCSC logo

LCSC API

wmsc.lcsc.com

Electronic components marketplace - categories, part pricing, stock, and datasheets.

Actions
7
Category
Marketplace
Login
Not required
Output
JSON

Call the LCSC API

Submit a task, then poll the job until it settles. This example runs act_wmsc_lcsc_com_category_filter_facets.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_wmsc_lcsc_com_category_filter_facets",
    "params": {
      "catalog_id": "932"
    }
  }'

7 actions on wmsc.lcsc.com

Read

  • Category Product Listing

    act_wmsc_lcsc_com_category_product_listing_ssrread1 credit / call

    Returns products in a category with prices, brands, stock, and datasheet links.

    category_id
    string · required
  • Home Navigation Recommendations

    act_wmsc_lcsc_com_home_nav_recommendationsread1 credit / call

    Returns recommended brands and catalog dropdown entries for homepage category navigation.

  • Homepage Listing

    act_wmsc_lcsc_com_homepage_ssrread1 credit / call

    Returns featured products from the homepage with brand and price.

  • Product Schematic

    act_wmsc_lcsc_com_product_schematic_svgread1 credit / call

    Returns a part's schematic symbol, package, and component images.

    product_code
    string · required
  • Third Party Stock Flag

    act_wmsc_lcsc_com_third_party_stock_flagread1 credit / call

    Returns whether third-party marketplace stock exists for the given part number.

    product_code
    string · required

Write

Write actions change state on wmsc.lcsc.com and run as the account you connect.

  • Category Filter Facets

    act_wmsc_lcsc_com_category_filter_facetswrite2 credits / call

    Returns filter facet options like package and manufacturer and total product count for a category.

    catalog_id
    string · required
    keyword
    string
    is_stock
    boolean
    brand_id_list
    array
    encap_value_list
    array
    param_name_value_map
    object
  • Third Party Seller Listing

    act_wmsc_lcsc_com_third_party_seller_listingwrite2 credits / call

    Returns third-party seller offers with tiered USD pricing, stock, vendor codes, and delivery metadata.

    product_code
    string · required
    current_page
    integer · required

LCSC API questions

Is there an API for LCSC?
LCSC does not offer a public data API for this, but Anakin Wire provides 7 maintained endpoints for wmsc.lcsc.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape LCSC data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when wmsc.lcsc.com changes its markup, Anakin updates the action.
Do I need a LCSC account?
No. Every LCSC action listed here runs anonymously — no account and no credentials required.
What does the LCSC API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Marketplace APIs

All Marketplace sites