# Arrow Electronics Parts Scraper (`pyronets/arrow-electronics-parts-scraper`) Actor

Electronic components from arrow.com by part number, link or keyword: stock, price breaks, lead time, MOQ, lifecycle, RoHS and datasheets.

- **URL**: https://apify.com/pyronets/arrow-electronics-parts-scraper.md
- **Developed by:** [Pyronets](https://apify.com/pyronets) (community)
- **Categories:** E-commerce, Business, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.20 / 1,000 parts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Arrow Electronics Parts Scraper

Get electronic component data from arrow.com: manufacturer, part number, description,
category, stock, price breaks, lead time, minimum and multiple order quantities,
lifecycle, RoHS, datasheet and product links. Look up part numbers or product links, or
run a keyword search, press Start, and download the results as JSON, CSV or Excel, or pull
them through the API.

### What you get

One result per part:

| Field | Example | Meaning |
|---|---|---|
| `manufacturer` | `Texas Instruments` | The manufacturer |
| `mpn` | `LM358DR` | The manufacturer part number |
| `description` | `Op Amp Dual GP ±16V/32V 8-Pin SOIC T/R` | The part's description |
| `category` | `Operational Amplifiers - Op Amps` | The product category |
| `stock` | `1514` | Units in stock across all of the part's offers |
| `unitPrice` | `0.22` | The price at the smallest order quantity |
| `priceBreakQuantities` | `[1, 10, 25, 100, 250]` | Quantity breaks, smallest first |
| `priceBreakPrices` | `[0.22, 0.149, 0.132, 0.113, 0.0925]` | Unit price from each quantity break |
| `currency` | `USD` | Currency of the prices |
| `minimumOrderQuantity`, `orderMultiple` | `1`, `1` | The smallest order, and the step above it |
| `leadTime`, `leadTimeWeeks` | `20 weeks`, `20` | The factory lead time |
| `lifecycle` | `Active` | `Active`, `NRND`, `LTB`, `Obsolete` ... |
| `rohs`, `eccn` | `Compliant`, `EAR99` | Compliance and export class |
| `packaging`, `offerStock`, `availability` | `Cut Strip`, `431`, `In Stock` | The offer the prices belong to |
| `shipsFrom`, `countryOfOrigin`, `dateCode`, `inventoryRegion` | `United States of America` | Where that offer ships from |
| `offerCount` | `4` | How many offers the part has |
| `datasheetUrl`, `productUrl`, `imageUrl` | | Links, when given |
| `arrowPartId`, `offerId` | | Arrow's own ids |

A part often has several offers (cut strip, reel, other regions), each with its own stock
and prices. By default you get one result per part, priced from the first offer in stock.
Turn on **All offers** to get one result per offer instead.

Every result also carries `site`, `query` (what you asked for), `queryType`
(`partNumber`, `productUrl` or `keyword`) and `scrapedAt`. Unknown values are `null`.

### How to use it

1. Paste **Part numbers or product links**, one per line: `LM358DR`, `2N7002`, or a link
   such as `https://www.arrow.com/en/products/lm358dr/texas-instruments`. A part number returns every manufacturer's part with exactly that
   number.
2. Or add **Search keywords** such as `op amp dual` and set **Results per search**.
3. Optionally keep one **Manufacturer** (part of its name is enough, such as `texas`).
4. Click **Start**. Results appear in the **Output** tab as they are collected.

Example input:

```json
{"partNumbers": ["LM358DR", "2N7002", "https://www.arrow.com/en/products/lm358dr/texas-instruments"],
 "searchKeywords": ["op amp dual"], "maxResultsPerSearch": 50}
```

### How long it takes

About a second per part number, and several are looked up at the same time
(**Lookups at the same time**): 1,000 part numbers take a few minutes. A search of 100
results takes a few seconds.

### Pricing

You pay per result plus a small charge when the run starts. A part number usually gives
one result (one per manufacturer that makes it); a search gives up to **Results per
search**. Use **Max results** or a maximum cost per run to cap a run.

### Good to know

- Prices and stock are live, current at `scrapedAt`, in US dollars.
- A part number matches exactly: `2N7002` does not return `2N7002K`. Use a search for
  similar parts.
- Part numbers not listed on arrow.com are reported in the run's **RUN_SUMMARY** record.
- Parts without a public price (quote only) have empty price breaks.
- On the free Apify plan, results are limited to a daily sample.

### Integrations

Send results to Google Sheets, Slack, Zapier, Make or your own webhook with Apify's
integrations, or call the actor from your code through the Apify API.

### Questions and issues

Open an issue on this actor's **Issues** tab and include the run link.

Running at a high volume, or need another site or field? Ask in an issue.

This actor collects publicly available product information. You are responsible for using
the data in line with the law and the terms that apply to you.

# Actor input Schema

## `partNumbers` (type: `array`):

One per line: a manufacturer part number such as LM358DR, or an arrow.com product link.

## `searchKeywords` (type: `array`):

Optional: searches such as op amp dual. Each returns up to Results per search parts, in arrow.com's order.

## `maxResultsPerSearch` (type: `integer`):

How many parts each search keyword returns at most.

## `manufacturer` (type: `string`):

Optional: keep only parts whose manufacturer name contains this, such as texas or onsemi.

## `allOffers` (type: `boolean`):

One result per offer (packaging, region) instead of one per part.

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

Stop after this many results in total. Leave empty for no limit.

## `maxConcurrency` (type: `integer`):

How many part numbers or searches are looked up in parallel.

## Actor input object example

```json
{
  "partNumbers": [
    "LM358DR",
    "2N7002"
  ],
  "maxResultsPerSearch": 100,
  "allOffers": false,
  "maxItems": 20,
  "maxConcurrency": 4
}
```

# Actor output Schema

## `results` (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 = {
    "partNumbers": [
        "LM358DR",
        "2N7002"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("pyronets/arrow-electronics-parts-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 = {
    "partNumbers": [
        "LM358DR",
        "2N7002",
    ],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("pyronets/arrow-electronics-parts-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 '{
  "partNumbers": [
    "LM358DR",
    "2N7002"
  ],
  "maxItems": 20
}' |
apify call pyronets/arrow-electronics-parts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pyronets/arrow-electronics-parts-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/6OL2DGjzFa93dO8SC/builds/QLPa2b1FzWdcKzP4K/openapi.json
