# DigiKey Product Search

**Use case:** 

Search the DigiKey catalog by keyword or product name. Save matching parts, stock, prices, and product details.

## Input

```json
{
  "target": "keywordSearch",
  "keyword": "microcontroller",
  "categoryUrls": [
    {
      "url": "https://www.digikey.com/en/products/filter/programmable-timers-and-oscillators/689"
    }
  ],
  "enrichment": "listing",
  "inStockOnly": false,
  "maxItems": 25
}
```

## Output

```json
{
  "resultType": {
    "label": "Result type",
    "format": "text"
  },
  "digiKeyPartNumber": {
    "label": "DigiKey part number",
    "format": "text"
  },
  "manufacturer": {
    "label": "Manufacturer",
    "format": "text"
  },
  "manufacturerPartNumber": {
    "label": "Manufacturer part number",
    "format": "text"
  },
  "name": {
    "label": "Product name",
    "format": "text"
  },
  "stockQuantity": {
    "label": "Stock quantity",
    "format": "number"
  },
  "stockStatus": {
    "label": "Stock status",
    "format": "text"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "unitPrice": {
    "label": "Unit price",
    "format": "number"
  },
  "lifecycleStatus": {
    "label": "Lifecycle status",
    "format": "text"
  },
  "productUrl": {
    "label": "Product page",
    "format": "link"
  },
  "keyword": {
    "label": "Search keyword",
    "format": "text"
  },
  "relatedCategories": {
    "label": "Related categories",
    "format": "array"
  },
  "sourceReference": {
    "label": "Source reference",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  },
  "failedAt": {
    "label": "Failed at",
    "format": "date"
  }
}
```

## About this Actor

This example demonstrates how to use [DigiKey Parts Scraper - Prices and Stock](https://apify.com/maximedupre/digikey) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/digikey) to learn more, explore other use cases, and run it yourself.