# DigiKey Scraper (`parsebird/digikey-scraper`) Actor

Scrape DigiKey electronic components: prices and price breaks, stock, lead time, specs, datasheets, RoHS/REACH/ECCN/HTS, substitutes. Search by keyword, category or part number. Export JSON, CSV, Excel.

- **URL**: https://apify.com/parsebird/digikey-scraper.md
- **Developed by:** [ParseBird](https://apify.com/parsebird) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.69 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### DigiKey Scraper

**DigiKey Scraper** extracts electronic component data from [DigiKey](https://www.digikey.com) (digikey.com): manufacturer and DigiKey part numbers, price breaks for every package option, stock, lead time, lifecycle status, technical specifications, datasheets, RoHS, REACH, ECCN and HTS codes, and substitute parts. Search by keyword, scrape whole categories or filtered listings, or look up a list of part numbers.

<table><tr>
<td style="border-left:4px solid #1C1917;padding:12px 16px;font-weight:600">
Turn any DigiKey search, category or bill of materials into clean pricing and availability data: up to 100 products per request in listing mode, or 35+ fields per part with full product details.
</td>
</tr></table>

##### Copy to your AI assistant

Copy this block into ChatGPT, Claude, Cursor, or any LLM to start using this actor.

```
Apify Actor: parsebird/digikey-scraper. Scrapes DigiKey (digikey.com) electronic components: prices in USD with quantity price breaks per package option, stock, lead time, lifecycle status, specifications, datasheets, compliance codes (RoHS, REACH, MSL, ECCN, HTS) and substitutes. Call via ApifyClient: client.actor("parsebird/digikey-scraper").call(run_input={"target": "keywordSearch", "keyword": "NE555", "enrichment": "listing", "maxItems": 100}). Inputs: target ("categoryListing" | "keywordSearch" | "products", default "categoryListing"), categoryUrls (array of {url}: DigiKey category or filtered listing URLs such as https://www.digikey.com/en/products/filter/programmable-timers-and-oscillators/689; used for categoryListing), keyword (string: part number, product name or phrase; used for keywordSearch), productInputs (array of strings: DigiKey product URLs, manufacturer part numbers or DigiKey part numbers, mixed; used for products, always full details), enrichment ("listing" | "details", default "listing": details also reads every spec, compliance codes, lead time, documents and substitutes), maxItems (integer, empty = all; for keywordSearch and categoryListing), manufacturers (array of maker names, e.g. ["Texas Instruments"]), inStockOnly (boolean, default false). Output: rows with resultType "product": productUrl, productId, digiKeyPartNumber, manufacturer, manufacturerPartNumber, name, description, detailedDescription, category, subcategory, family, breadcrumbs, series, packaging, lifecycleStatus, stockQuantity, marketplaceQuantity, stockStatus, leadTime, nonStock, backorderAvailable, currency, unitPrice, minimumOrderQuantity, pricing[{packageType, digiKeyPartNumber, minimumOrderQuantity, offerMessage, priceBreaks[{quantity, unitPrice, formattedPrice}]}], specifications[{name, value}], compliance{rohsStatus, reachStatus, moistureSensitivityLevel, eccn, htsCode}, imageUrl, datasheetUrl, documents[{title, name, url}], substitutes[{manufacturer, manufacturerPartNumber, productUrl, relationship}], dataSource ("listing" | "detail"). A keyword with no matches returns one row with resultType "categorySuggestions": keyword, relatedCategories[{name, parentCategory, url, productCount}]. Pricing: pay per event, $0.89 per 1,000 listing products or $1.29 per 1,000 products with full details on the Free plan, plus a $0.005 run start fee. Full API spec: https://apify.com/parsebird/digikey-scraper/api. Get your token: https://console.apify.com/settings/integrations.
```

### What is DigiKey Scraper?

**DigiKey Scraper** turns DigiKey's product catalog into a spreadsheet-ready dataset. Paste a category URL, type a keyword such as `NE555`, or list the part numbers from your bill of materials, then click **Start**. To try it, keep the prefilled **Programmable Timers and Oscillators** category, which saves 20 timer ICs with prices and stock in a few seconds.

DigiKey's official API needs a developer account and OAuth credentials. DigiKey Scraper works as a **DigiKey API alternative** with no account, key or setup. Download your component data as **JSON, CSV or Excel**, or read it through the [Apify API](https://docs.apify.com/api/v2).

### What can DigiKey Scraper do?

- 🔎 **Keyword search** across every DigiKey category, the way DigiKey's search box works: part numbers, product names or phrases such as `10k resistor 0603`.
- 📂 **Category listing** from any DigiKey category URL. Filters and sorting you set on DigiKey stay applied, and a top-level category page such as *Clock/Timing* is expanded into every product category below it.
- 🧾 **Product lookup** for a list of DigiKey product URLs, manufacturer part numbers (`NE555S-13`) or DigiKey part numbers (`296-6501-1-ND`), mixed in one run. Useful for BOM pricing.
- 💲 **Full price breaks** for every package option: cut tape, tape and reel, Digi-Reel®, tube, tray or bulk, each with its minimum order quantity.
- 📦 **Stock and availability**: DigiKey stock, Marketplace stock, stock status, standard lead time, non-stock and backorder flags.
- 🧪 **Technical specifications** as name/value pairs, plus RoHS, REACH, moisture sensitivity level, ECCN and HTS codes.
- 📄 **Datasheets and documents**: datasheet, environmental statements, PCNs, EDA/CAD models and more.
- 🔁 **Substitutes**: DigiKey's substitute parts and "You May Also Be Interested In" alternatives.
- 🏭 **Filters**: keep only chosen manufacturers or in-stock parts.

Because it runs on Apify, you also get:

- [Scheduling](https://docs.apify.com/platform/schedules) to track prices and stock daily or weekly
- [API access](https://docs.apify.com/api/v2) with [Python](https://docs.apify.com/api/client/python) and [JavaScript](https://docs.apify.com/api/client/js) clients
- [Integrations](https://docs.apify.com/platform/integrations) with Make, Zapier, Google Sheets, Slack and webhooks
- Export to JSON, CSV, Excel, XML and HTML

### What data can you extract from DigiKey?

| Field | Description |
|-------|-------------|
| `manufacturerPartNumber`, `manufacturer` | Maker's part number and maker name |
| `digiKeyPartNumber`, `digiKeyPartNumbers` | DigiKey orderable part number, and every DigiKey number for the part's package options (details) |
| `description`, `detailedDescription` | DigiKey's short description and its longer one (details) |
| `category`, `subcategory`, `family`, `breadcrumbs` | DigiKey category path, from the broadest group to the product category |
| `unitPrice`, `currency`, `minimumOrderQuantity` | Price for one unit of the package with the smallest minimum order, in USD |
| `pricing` | Every package option with its DigiKey part number (details), minimum order, order note and quantity price breaks |
| `stockQuantity`, `marketplaceQuantity`, `stockStatus` | Quantity available, DigiKey Marketplace quantity (listing), and status such as In Stock, Available To Order or Obsolete |
| `leadTime`, `nonStock`, `backorderAvailable` | Manufacturer standard lead time, whether DigiKey normally stocks the part, and whether backorders are accepted (details) |
| `lifecycleStatus`, `series`, `packaging` | Part status (Active, Obsolete, Last Time Buy and so on), maker series and package |
| `specifications` | Technical parameters as name/value pairs. Listing mode returns the columns DigiKey shows for the category |
| `compliance` | `rohsStatus`, `reachStatus`, `moistureSensitivityLevel`, `eccn`, `htsCode` (listing mode: RoHS only) |
| `datasheetUrl`, `documents`, `imageUrl` | Datasheet link, other documents (details) and product photo |
| `substitutes` | Substitute and related parts with maker, part number, DigiKey link and relationship (details) |
| `partNumberAliases`, `manufacturerStandardPackage` | Other part numbers DigiKey knows the part by, and the maker's standard package quantity (details) |
| `dataSource` | `detail` when the row comes from the product page, `listing` when it comes from a listing |

Fields marked "details" need **Full product details**, or the **Products** method. Fields DigiKey doesn't show for a part are left out of its row.

### How to scrape DigiKey step by step

1. Open [DigiKey Scraper](https://apify.com/parsebird/digikey-scraper) and sign in to Apify.
2. Choose **Scrape by**: Category listing, Keyword search or Products.
3. Fill in that method's field: paste DigiKey category URLs, type a keyword, or list product URLs and part numbers.
4. Pick **Data detail**: fast listing data, or full product details.
5. Set **Max products**, or leave it empty for every product. Optionally add **Manufacturers** or turn on **In-stock parts only**.
6. Click **Start**, then download the data as JSON, CSV or Excel from the **Output** tab.

To get a filtered listing URL, open a category on [digikey.com](https://www.digikey.com/en/products), apply filters such as manufacturer, package or voltage, and copy the URL from your browser.

### Input parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| target | string | **Yes** | `categoryListing` | `categoryListing`, `keywordSearch` or `products`. Fields for the other methods are ignored |
| categoryUrls | array of `{url}` | For Category listing | — | DigiKey category or filtered listing URLs |
| keyword | string | For Keyword search | — | Part number, product name or search phrase |
| productInputs | array of strings | For Products | — | DigiKey product URLs, manufacturer part numbers or DigiKey part numbers, mixed |
| enrichment | string | No | `listing` | `listing` for fast listing data, `details` to also read each product page. Products always return full details |
| maxItems | integer | No | empty (all) | Most products to save for Keyword search and Category listing |
| manufacturers | array of strings | No | — | Keep only these makers, e.g. `Texas Instruments`. Case doesn't matter, and a name also matches makers that start with it |
| inStockOnly | boolean | No | `false` | Keep only parts DigiKey marks as in stock |
| proxyConfiguration | object | No | none | Leave empty. The scraper switches to Apify Proxy by itself if DigiKey blocks |

Category listing, listing data:

```json
{
    "target": "categoryListing",
    "categoryUrls": [
        { "url": "https://www.digikey.com/en/products/filter/programmable-timers-and-oscillators/689" }
    ],
    "enrichment": "listing",
    "maxItems": 100
}
```

Keyword search for one maker's in-stock parts, with full details:

```json
{
    "target": "keywordSearch",
    "keyword": "buck converter",
    "manufacturers": ["Texas Instruments"],
    "inStockOnly": true,
    "enrichment": "details",
    "maxItems": 200
}
```

BOM lookup by part number:

```json
{
    "target": "products",
    "productInputs": [
        "NE555S-13",
        "296-6501-1-ND",
        "https://www.digikey.com/en/products/detail/texas-instruments/NE555P/277057"
    ]
}
```

### Output example

A product with full details (price breaks, specifications, documents and substitutes shortened):

```json
{
    "resultType": "product",
    "dataSource": "detail",
    "productId": "2921391",
    "productUrl": "https://www.digikey.com/en/products/detail/diodes-incorporated/NE555S-13/2921391",
    "digiKeyPartNumber": "NE555S-13DICT-ND",
    "digiKeyPartNumbers": ["NE555S-13DITR-ND", "NE555S-13DICT-ND", "NE555S-13DIDKR-ND"],
    "manufacturer": "Diodes Incorporated",
    "manufacturerPartNumber": "NE555S-13",
    "name": "NE555S-13",
    "description": "IC OSC SNGL TIMER 500KHZ 8-SOIC",
    "detailedDescription": "555 Type, Timer/Oscillator (Single) IC 500kHz 8-SO",
    "category": "Programmable Timers and Oscillators",
    "subcategory": "Clock/Timing",
    "family": "Integrated Circuits (ICs)",
    "breadcrumbs": ["Integrated Circuits (ICs)", "Clock/Timing", "Programmable Timers and Oscillators"],
    "packaging": "Cut Tape (CT) & Digi-Reel®",
    "lifecycleStatus": "Active",
    "stockQuantity": 45856,
    "stockStatus": "In Stock",
    "leadTime": "40 Weeks",
    "nonStock": false,
    "backorderAvailable": true,
    "marketplaceProduct": false,
    "newProduct": false,
    "currency": "USD",
    "unitPrice": 0.29,
    "minimumOrderQuantity": 1,
    "manufacturerStandardPackage": 2500,
    "pricing": [
        {
            "packageType": "Cut Tape (CT) & Digi-Reel®",
            "digiKeyPartNumber": "NE555S-13DICT-ND",
            "minimumOrderQuantity": 1,
            "offerMessage": "* All Digi-Reel orders will add a $7.00 reeling fee.",
            "priceBreaks": [
                { "quantity": 1, "unitPrice": 0.29, "formattedPrice": "$0.29000" },
                { "quantity": 10, "unitPrice": 0.2, "formattedPrice": "$0.20000" },
                { "quantity": 25, "unitPrice": 0.1772, "formattedPrice": "$0.17720" }
            ]
        },
        {
            "packageType": "Tape & Reel (TR)",
            "digiKeyPartNumber": "NE555S-13DITR-ND",
            "minimumOrderQuantity": 2500,
            "priceBreaks": [
                { "quantity": 2500, "unitPrice": 0.11948, "formattedPrice": "$0.11948" },
                { "quantity": 7500, "unitPrice": 0.11369, "formattedPrice": "$0.11369" }
            ]
        }
    ],
    "specifications": [
        { "name": "Type", "value": "555 Type, Timer/Oscillator (Single)" },
        { "name": "Frequency", "value": "500kHz" },
        { "name": "Voltage - Supply", "value": "4.5V ~ 16V" },
        { "name": "Operating Temperature", "value": "0°C ~ 70°C" }
    ],
    "compliance": {
        "rohsStatus": "ROHS3 Compliant",
        "moistureSensitivityLevel": "1 (Unlimited)",
        "reachStatus": "REACH Unaffected",
        "eccn": "EAR99",
        "htsCode": "8542.39.0070"
    },
    "imageUrl": "https://mm.digikey.com/Volume0/opasdata/d220001/medias/images/5741/31%7E8SO-3.9%7E%7E8.jpg?hidebanner=true",
    "datasheetUrl": "https://www.diodes.com/assets/Datasheets/NE555_SA555_NA555.pdf",
    "documents": [
        { "title": "Datasheets", "name": "NE555, SA555, NA555", "url": "https://www.diodes.com/assets/Datasheets/NE555_SA555_NA555.pdf" },
        { "title": "EDA Models", "name": "NE555S-13 Models", "url": "https://www.digikey.com/en/models/2921391" }
    ],
    "substitutes": [
        { "manufacturerPartNumber": "NA555DR", "manufacturer": "Texas Instruments", "productUrl": "https://www.digikey.com/en/products/detail/texas-instruments/NA555DR/1571933", "digiKeyPartNumber": "296-21752-2-ND", "relationship": "Similar" },
        { "manufacturerPartNumber": "NE555DR", "manufacturer": "Texas Instruments", "productUrl": "https://www.digikey.com/en/products/detail/texas-instruments/NE555DR/372491", "relationship": "You May Also Be Interested In" }
    ],
    "partNumberAliases": ["NE555S-13DITR", "NE555S13", "NE555S-13DIDKR", "NE555S-13DICT"],
    "input": "NE555S-13",
    "scrapedAt": "2026-11-10T11:48:02Z"
}
```

A product from listing data (price breaks and specifications shortened):

```json
{
    "resultType": "product",
    "dataSource": "listing",
    "productId": "372491",
    "productUrl": "https://www.digikey.com/en/products/detail/texas-instruments/NE555DR/372491",
    "digiKeyPartNumber": "296-6501-1-ND",
    "manufacturer": "Texas Instruments",
    "manufacturerPartNumber": "NE555DR",
    "name": "NE555DR",
    "description": "IC OSC SNGL TIMER 100KHZ 8-SOIC",
    "category": "Programmable Timers and Oscillators",
    "subcategory": "Clock/Timing",
    "family": "Integrated Circuits (ICs)",
    "breadcrumbs": ["Integrated Circuits (ICs)", "Clock/Timing", "Programmable Timers and Oscillators"],
    "packaging": "Cut Tape (CT)",
    "lifecycleStatus": "Active",
    "stockQuantity": 40800,
    "marketplaceQuantity": 130433,
    "stockStatus": "In Stock",
    "currency": "USD",
    "unitPrice": 0.33,
    "minimumOrderQuantity": 1,
    "pricing": [
        {
            "packageType": "Cut Tape (CT)",
            "minimumOrderQuantity": 1,
            "priceBreaks": [
                { "quantity": 1, "unitPrice": 0.33, "formattedPrice": "$0.33000" },
                { "quantity": 10, "unitPrice": 0.231, "formattedPrice": "$0.23100" }
            ]
        }
    ],
    "specifications": [
        { "name": "Product Status", "value": "Active" },
        { "name": "Type", "value": "555 Type, Timer/Oscillator (Single)" },
        { "name": "Frequency", "value": "100kHz" }
    ],
    "compliance": { "rohsStatus": "RoHS Compliant" },
    "imageUrl": "https://mm.digikey.com/Volume0/opasdata/d220001/medias/images/8900/MFG_296%7E4040047-3%7ED%7E8.jpg",
    "datasheetUrl": "https://www.ti.com/lit/ds/symlink/na555.pdf",
    "sourceUrl": "https://www.digikey.com/en/products/filter/programmable-timers-and-oscillators/689",
    "scrapedAt": "2026-11-10T11:48:03Z"
}
```

When a keyword matches no products, the run saves one row of related DigiKey categories instead (shortened). `productCount` is the total number of products DigiKey lists in that category:

```json
{
    "resultType": "categorySuggestions",
    "keyword": "perovskite solar cell controller",
    "relatedCategories": [
        { "name": "Solar Cells", "parentCategory": "Sensors, Transducers", "url": "https://www.digikey.com/en/products/filter/solar-cells/514", "productCount": 600 },
        { "name": "Photovoltaic (Solar Panel) Connector Assemblies", "parentCategory": "Photovoltaic (Solar Panel) Connectors", "url": "https://www.digikey.com/en/products/filter/photovoltaic-solar-panel-connector-assemblies/326", "productCount": 420 }
    ],
    "scrapedAt": "2026-11-10T11:48:10Z"
}
```

Rows also carry where they came from: `sourceUrl` (Category listing), `searchKeyword` (Keyword search) or `input` (Products).

### How to use the DigiKey API in Python and JavaScript

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")

run = client.actor("parsebird/digikey-scraper").call(run_input={
    "target": "products",
    "productInputs": ["NE555S-13", "296-6501-1-ND", "LM358"],
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    if item["resultType"] == "product":
        print(item["manufacturerPartNumber"], item.get("unitPrice"), item.get("stockQuantity"), item.get("leadTime"))
```

**JavaScript**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });

const run = await client.actor('parsebird/digikey-scraper').call({
    target: 'keywordSearch',
    keyword: 'ESP32',
    inStockOnly: true,
    maxItems: 200,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((row) => console.log(row.manufacturerPartNumber, row.unitPrice, row.stockQuantity));
```

Get your token in [Apify Console](https://console.apify.com/settings/integrations). See every option on the [API tab](https://apify.com/parsebird/digikey-scraper/api).

### Use cases

- **BOM costing:** price a bill of materials at each order quantity and package option.
- **Stock and lead time monitoring:** schedule runs to catch shortages, restocks and lead time changes for critical parts.
- **Component sourcing:** compare makers and package options in a category, and find in-stock alternatives through `substitutes`.
- **Lifecycle and obsolescence tracking:** flag parts that move to Last Time Buy, Discontinued at DigiKey or Obsolete.
- **Compliance and trade data:** collect RoHS, REACH, MSL, ECCN and HTS codes for export and customs paperwork.
- **Market research:** count parts, makers and price ranges in a product category.
- **Parts databases:** feed specifications, images and datasheet links into a PLM, ERP or internal catalog.

### How does DigiKey Scraper work?

1. **Category listing** opens each category or filtered listing and reads it 100 products at a time, keeping the filters and sorting in your URL. Top-level category pages are expanded into their product categories.
2. **Keyword search** runs DigiKey's search, then reads every matching category, starting with the ones DigiKey ranks first. An exact part number goes straight to that product.
3. **Products** looks up each URL or part number. A part number that several makers use, such as `NE555P`, returns every exact match.
4. With **Full product details**, it also reads each product's page, five at a time.
5. Manufacturer and in-stock filters are applied by DigiKey itself, so the counts match what you see on the site.
6. Rows are saved as the run goes, so a stopped run keeps its results, and no product is saved twice in one run.

### How much does it cost to scrape DigiKey?

DigiKey Scraper uses pay-per-event pricing. Compute and proxy costs are included in the event price.

| Event | Free | Bronze | Silver | Gold |
|-------|------|--------|--------|------|
| `apify-actor-start`, per run | **$0.005** | **$0.005** | **$0.005** | **$0.005** |
| `product` (listing data), per 1,000 | **$0.89** | **$0.79** | **$0.69** | **$0.69** |
| `product-details` (full details), per 1,000 | **$1.29** | **$1.19** | **$1.09** | **$0.99** |

Each saved product is charged once: as **product-details** when its row has full product page data, or as **product** when it holds listing data. Products from the **Products** method always come with full details. If a product page can't be read, the row keeps its listing data and is charged as **product**. Related-category rows for keywords with no matches aren't charged.

For example, 1,000 parts from a category cost $0.89 with listing data on the Free plan, or $1.29 with full details. A start event fires once per run for each GB of run memory, and the default memory stays within one. To cap your spending, set a maximum cost per run in the run options. The run stops at that limit and keeps what it saved.

### Is it legal to scrape DigiKey?

DigiKey Scraper only collects product information that digikey.com shows publicly, without logging in: part numbers, prices, stock, specifications and links to documents. It doesn't collect personal data. Web scraping of public data is generally legal, but what you may do with the data depends on your purpose and your country. Datasheets and images belong to their makers, and DigiKey's terms of use apply. You can read more in [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/) This section is not legal advice.

### Other scrapers you may like

- [Made-in-China.com Scraper & API](https://apify.com/parsebird/made-in-china-scraper): Chinese suppliers and wholesale products
- [1688 Products Wholesale Scraper](https://apify.com/parsebird/1688-wholesale-scraper): factory prices and suppliers from 1688.com
- [AliExpress Scraper](https://apify.com/parsebird/aliexpress-scraper): AliExpress products and sellers
- [Amazon Search Scraper](https://apify.com/parsebird/amazon-search-scraper): Amazon search results with prices
- [Google Shopping Scraper](https://apify.com/parsebird/google-shopping-scraper): price comparison across online stores
- [eBay Sold Listings Scraper](https://apify.com/parsebird/ebay-sold-listings-scraper): real selling prices on eBay

### FAQ

**Do I need a DigiKey account, API key or proxy?**
No. The scraper needs no login and no setup. If DigiKey starts blocking, it switches to Apify Proxy by itself.

**Should I use listing data or full product details?**
Listing data is fastest and cheapest: part numbers, price breaks, stock, the category's key specs and the datasheet link. Choose full details when you need every spec, lead time, compliance and trade codes, all documents, substitutes or the DigiKey part number of each package option. In our tests on Apify, listing mode read all 2,212 products for `buck converter` in about 90 seconds, and full details took 38 seconds for 500 chip resistors.

**How many products can I get?**
Every product in a listing. DigiKey shows them in pages, and the scraper reads all of them: one category, Chip Resistor - Surface Mount, lists over 1.1 million parts. Leave **Max products** empty for everything, or set a number to keep runs short.

**Which currency are prices in?**
US dollars, as shown on digikey.com. Product URLs from other DigiKey sites, such as digikey.de, are read from digikey.com.

**Why do some products have no price?**
DigiKey doesn't show a price for some parts, such as obsolete ones or parts sold only in large quantities. Those rows have no `unitPrice`. When a part has several package options, `unitPrice` is the one-unit price of the option with the smallest minimum order, and `pricing` lists them all.

**What's the difference between `stockQuantity` and `marketplaceQuantity`?**
In listing data, `stockQuantity` is DigiKey's own stock and `marketplaceQuantity` is stock from DigiKey Marketplace sellers. Product pages show one quantity: the part's available stock. DigiKey's in-stock filter counts Marketplace stock too, so **In-stock parts only** can return parts with `stockQuantity` 0 and Marketplace stock.

**Why did a part number return two products?**
Different makers can use the same part number. `NE555P`, for example, is sold by both Texas Instruments and GOODWORK, so the scraper saves both. Use a DigiKey part number or product URL to get exactly one.

**What happens when a keyword has no matches?**
The run saves one `categorySuggestions` row with related DigiKey categories, taken from DigiKey's search suggestions, so you can browse those categories instead.

**Can I use filters from the DigiKey website?**
Yes. Apply them on digikey.com and paste the resulting URL into **Category URLs**. Parametric filters, manufacturer, stock options and sorting in the URL are all kept. The **Manufacturers** and **In-stock parts only** fields add to them.

**Can I schedule recurring runs?**
Yes. Use [Apify Schedules](https://docs.apify.com/platform/schedules) to run daily, weekly or at any interval, and send the results to Google Sheets, Slack or your ERP with [integrations](https://docs.apify.com/platform/integrations).

**Something doesn't work. Where do I report it?**
Open a ticket on the [Issues tab](https://apify.com/parsebird/digikey-scraper/issues). Include your run link so we can look into it.

# Changelog

This Actor's version history is a separate document: https://apify.com/parsebird/digikey-scraper/changelog.md

# Actor input Schema

## `target` (type: `string`):

Choose how to find parts. Only the field for the chosen method is used; the others are ignored.

## `categoryUrls` (type: `array`):

Add DigiKey category or filtered listing URLs. Filters and sorting you set on DigiKey are kept. Top-level category pages are expanded into every product category below them. Used only for Category listing.

## `keyword` (type: `string`):

Enter a part number, product name or search phrase, as you would in DigiKey's search box, e.g. NE555, ESP32 or 10k resistor 0603. Products from every matching category are returned. Used only for Keyword search.

## `productInputs` (type: `array`):

Add DigiKey product URLs, manufacturer part numbers (e.g. NE555S-13) or DigiKey part numbers (e.g. 296-6501-1-ND). Values can be mixed. Every product is saved with full product page details. Used only for Products.

## `enrichment` (type: `string`):

Listing data is fast: part numbers, price breaks, stock and the category's key specs, as DigiKey's result tables show them. Full product details also open each product page for every spec, compliance and trade codes, lead time, documents and substitutes. Used for Keyword search and Category listing; Products always return full details.

## `maxItems` (type: `integer`):

Stop after this many products for Keyword search and Category listing. Leave empty to get every product DigiKey lists.

## `manufacturers` (type: `array`):

Keep only these makers, written as DigiKey shows them, e.g. Texas Instruments or Analog Devices. Case doesn't matter, and a name also matches DigiKey makers that start with it. Leave empty for all manufacturers.

## `inStockOnly` (type: `boolean`):

Keep only parts DigiKey marks as in stock.

## `proxyConfiguration` (type: `object`):

Optional. Without a proxy, the scraper starts with a direct connection and moves to Apify datacenter, then US residential proxies, if it's blocked.

## Actor input object example

```json
{
  "target": "categoryListing",
  "categoryUrls": [
    {
      "url": "https://www.digikey.com/en/products/filter/programmable-timers-and-oscillators/689"
    }
  ],
  "keyword": "NE555",
  "productInputs": [
    "https://www.digikey.com/en/products/detail/diodes-incorporated/NE555S-13/2921391",
    "296-6501-1-ND"
  ],
  "enrichment": "listing",
  "maxItems": 20,
  "inStockOnly": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "target": "categoryListing",
    "categoryUrls": [
        {
            "url": "https://www.digikey.com/en/products/filter/programmable-timers-and-oscillators/689"
        }
    ],
    "keyword": "NE555",
    "productInputs": [
        "https://www.digikey.com/en/products/detail/diodes-incorporated/NE555S-13/2921391",
        "296-6501-1-ND"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("parsebird/digikey-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "target": "categoryListing",
    "categoryUrls": [{ "url": "https://www.digikey.com/en/products/filter/programmable-timers-and-oscillators/689" }],
    "keyword": "NE555",
    "productInputs": [
        "https://www.digikey.com/en/products/detail/diodes-incorporated/NE555S-13/2921391",
        "296-6501-1-ND",
    ],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("parsebird/digikey-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "target": "categoryListing",
  "categoryUrls": [
    {
      "url": "https://www.digikey.com/en/products/filter/programmable-timers-and-oscillators/689"
    }
  ],
  "keyword": "NE555",
  "productInputs": [
    "https://www.digikey.com/en/products/detail/diodes-incorporated/NE555S-13/2921391",
    "296-6501-1-ND"
  ],
  "maxItems": 20
}' |
apify call parsebird/digikey-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parsebird/digikey-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/QbkUMmotkU6IHuFxe/builds/jDp4cep0aKCi4grrQ/openapi.json
