Digikey Parts Scraper - Electronic Components, Prices and Stock
Digikey Parts Scraper — Electronic Components, Prices & Stock
Extract the complete Digikey.com parts catalog with structured price breaks, real-time stock quantities, lead times, datasheets, parametric specs, RoHS/REACH/MSL compliance, lifecycle status, country of origin, and HTS tariff codes.
Three scraping modes: browse by category, keyword search, or BOM part-number lookup for bill-of-materials workflows.
Built for hardware startups, BOM management tools, procurement teams, EMS/OEM buyers, and tariff-cost calculators. First comprehensive Apify actor for Digikey.
What You Get
Each record includes:
- Part identifiers — Digikey part number, manufacturer part number (MPN), manufacturer
- Product info — name, description, category/subcategory, family, series, packaging type
- Live pricing — price break tiers as
[{qty, price}, ...]JSON for every quantity break shown on the page - Stock & availability — current stock quantity, stock status (In Stock / Out of Stock / Back Order), lead time in weeks
- Order info — minimum order quantity, non-stock flag, currency
- Compliance — RoHS status, REACH status, MSL (Moisture Sensitivity Level)
- Traceability — lifecycle status (Active / Obsolete / NRND / Last Time Buy), country of origin, US HTS tariff code
- Assets — datasheet PDF URL, product image URL, product page URL
- Parametric specs — full key/value spec table (e.g. Resistance, Power Rating, Tolerance) as JSON string (optional, toggle with
extractParametrics)
Input
| Field | Type | Description | Default |
|---|---|---|---|
mode |
select | category, search, or bom |
category |
categoryUrl |
string | Category filter URL (e.g. https://www.digikey.com/en/products/filter/resistors/52) |
— |
partNumbers |
array | Part numbers for BOM lookup mode | — |
query |
string | Keyword search query | — |
manufacturer |
string | Filter by manufacturer name | — |
inStockOnly |
boolean | Return only in-stock parts | false |
extractParametrics |
boolean | Extract parametric spec table (slower per record) | true |
maxItems |
integer | Maximum records to return | 100 |
Modes
Category Browse
Scrapes all products from a Digikey category or filter URL, with automatic pagination.
{
"mode": "category",
"categoryUrl": "https://www.digikey.com/en/products/filter/resistors/52",
"inStockOnly": true,
"maxItems": 500
}
Keyword Search
Searches the Digikey catalog by keyword, with optional manufacturer filter.
{
"mode": "search",
"query": "STM32F103C8T6",
"manufacturer": "STMicroelectronics",
"maxItems": 50
}
BOM Part Number Lookup
Looks up a list of part numbers. Returns one record per part (matched by first search result). Ideal for bill-of-materials price/stock snapshots.
{
"mode": "bom",
"partNumbers": [
"RC0402FR-07100KL",
"GRM155R61A105KE15D",
"STM32F103C8T6"
],
"extractParametrics": false
}
Sample Output
{
"digikey_part_number": "RC0402FR-07100KL-ND",
"manufacturer": "YAGEO",
"manufacturer_part_number": "RC0402FR-07100KL",
"product_name": "RES 100K OHM 1% 1/16W 0402",
"category": "Chip Resistor - Surface Mount",
"family": "Resistors",
"series": "RC_L",
"packaging": "Cut Tape (CT)",
"stock_qty": 2483672,
"stock_status": "In Stock",
"lead_time_weeks": 14,
"price_breaks": "[{\"qty\":1,\"price\":0.10},{\"qty\":10,\"price\":0.033},{\"qty\":100,\"price\":0.016}]",
"currency": "USD",
"min_order_qty": 1,
"non_stock": false,
"rohs_status": "ROHS3 Compliant",
"reach_status": "REACH Unaffected",
"moisture_sensitivity_level": "Level 1",
"lifecycle_status": "Active",
"country_of_origin": "TW",
"tariff_code": "8533.10.00.40",
"datasheet_url": "https://www.yageo.com/upload/media/product/products/datasheet/rchip/PYu-RC_Group_51_RoHS_L_12.pdf",
"product_url": "https://www.digikey.com/en/products/detail/yageo/RC0402FR-07100KL/726533",
"parametric_attributes": "{\"Resistance\":\"100 kOhms\",\"Tolerance\":\"±1%\",\"Power\":\"63mW\",\"Composition\":\"Thick Film\"}"
}
Notes
- Anti-bot: Digikey uses Cloudflare managed challenge on product and search pages. This actor uses a residential proxy + CF bypass for reliable extraction. A CapSolver subscription and residential proxy entitlement are required — both handled automatically on paid plans.
- Rate limiting: Requests are spaced at ~1.5 seconds apart to respect Digikey's Akamai rate limits.
- Parametric specs: Enabling
extractParametrics: trueadds the full spec table per part. This is recommended for electronics datasheets and tariff-code workflows, but adds scraping time per record. - Price breaks: Returned as a JSON string array for easy downstream parsing. Multi-quantity tier pricing is fully captured.
- BOM mode: One HTTP round-trip per part number. Efficient for price/stock snapshots across a bill of materials.
Use Cases
- Hardware procurement: Monitor price/stock across Digikey for key BOM components
- Tariff calculators: Extract HTS codes + country of origin for component-level landed-cost models
- BOM management tools: Bulk price/stock lookup for 100s of part numbers
- Electronics intelligence: Track lifecycle status changes (Active → NRND → Obsolete) across the catalog
- Market research: Competitive part research — parametric specs + pricing for component selection