DigiKey API

Every DigiKey part, with its price breaks, stock and specifications, searchable the way the site searches

This API reads digikey.com, the electronic-component distributor, as JSON, logged out.

endpoints
9
credits per call
1–2

1 credit per call≈ $1/1,000 calls1,000 free credits, no card

9 active endpoints, on 1 and 2 credit tiers.

  • POST/digikey/v1/search1 credit
  • POST/digikey/v1/products2 credits
  • POST/digikey/v1/product1 credit
  • POST/digikey/v1/product_family2 credits
  • POST/digikey/v1/categories1 credit
  • POST/digikey/v1/category1 credit
  • POST/digikey/v1/manufacturers1 credit
  • POST/digikey/v1/manufacturer2 credits
Try it live

Run the call yourself, on the real endpoint

Change a parameter and press Try it. The response on the right is what your code will receive.

DigiKey API

5 of 9 endpoints, ready to run

View docs ↗

One part: price breaks per packaging, stock, specs

1 credit0 required · 3 optional
POST/digikey/v1/product
idle
// Press "Try it" and this pane shows exactly what the
// live site returned this second — including an empty
// result, if that is the truth. No key, no account.

Try every endpoint in the playground

Endpoints

What DigiKey endpoints does ReefAPI ship?

9 live read endpoints. Read-only data API: no writes, no account actions, no dashboard access on the target site.

9 endpoints

search

1 cr

Keyword or part-number search across the whole DigiKey catalogue, as the site's own search pa…

required
query
optional
country, currency, language

products

2 cr

The product table of one DigiKey category (the site's parametric search page).

required
category_id
optional
query, manufacturer, in_stock, normally_stocking, new_products, rohs, exclude_marketplace, exclude_tariffed, has_datasheet, has_photo, has_eda_models, filters, ranges, sort, sort_by, sort_order, page, page_size, include_facets, country, currency, language

product

1 cr

The full DigiKey product record.

required
—
optional
product_id, url, part_number, manufacturer, quantity, country, currency, language

product_family

2 cr

A DigiKey base product (product family).

required
—
optional
base_product_id, manufacturer_id, url, country, currency, language

categories

1 cr

The whole DigiKey category tree (50 top categories, 1 060 product-listing categories) with pr…

required
—
optional
country, currency, language

category

1 cr

One DigiKey category.

required
category_id
optional
query, country, currency, language

manufacturers

1 cr

Every manufacturer DigiKey carries (3 718 measured) with its product count, optionally filter…

required
—
optional
query, country, currency, language

manufacturer

2 cr

One manufacturer at DigiKey.

required
—
optional
manufacturer_id, name, slug, country, currency, language

suggest

1 cr

The site's search-box autocomplete.

required
query
optional
limit, country, currency, language

Every parameter, every allowed value →

Missing a DigiKey endpoint, or need a source we don't have yet?Contact us real people · same-day reply.
How it works

How the DigiKey API works

DigiKey is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.

01
Authenticate
x-api-key header

No OAuth app, no request signing, no per-site account. One key covers all 746 engines.

02
Call
POST /digikey/v1/…

Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.

03
Pay
1 or 2 credits per call

Credits, not seats. Failed and blocked calls are never charged, and nothing is cached: every call reads the source live.

04
Read
{ ok, data, meta, error }

One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.

Recipe

From a part family to the cheapest stocked part and its price at your quantity

Search DigiKey, open the category that holds the matches, keep the parts in stock sorted by price, then read the chosen part's price at your order quantity.

01search?query=lm317
GET/digikey/v1/search?query=lm317

229 matching parts; the top category is linear voltage regulators (id 699) with 214 of them.

02products?category_id=699&query=lm317&in_stock=true&sort=price_asc
GET/digikey/v1/products?category_id=699&query=lm317&in_stock=true&sort=price_asc

131 LM317 parts in stock at DigiKey or its Marketplace, cheapest first, each with price breaks per packaging and both stock figures.

03product?product_id=1476803&quantity=1000
GET/digikey/v1/product?product_id=1476803&quantity=1000

onsemi LM317LBDR2G: at 1,000 pieces $0.12516 each ($125.16) on cut tape; the reel starts at 2,500, so it is marked below_minimum.

04product?product_id=727535&country=DE
GET/digikey/v1/product?product_id=727535&country=DE

YAGEO RC0805FR-0710KL from digikey.de: €0.09 at 1 piece instead of $0.10 on digikey.com.

A sourcing table with live prices at your quantity, stock and lead time, in the currency you buy in.

request
curl -X POST https://api.reefapi.com/digikey/v1/product \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"product_id":"4503183"}'
response envelope
{
  "ok": true,
  "data": { … },
  "meta": {
    "api": "digikey",
    "endpoint": "product",
    "mode": "live",
    "latency_ms": …,
    "record_count": …
  },
  "error": null
}
Fields

What a DigiKey field actually contains

Fields that read differently from how they look. Every row was measured against live digikey.com on 2026-11-19.

FieldWhat it holds
pricing[].tiers[]The price-break table the product page prints for one packaging: quantity, unit price and extended price, as numbers and as the site prints them ("$0.10000", "0,12000 €"). Cut Tape and Digi-Reel share one table; Tape & Reel has its own, starting at the reel quantity. Equal to the page's tables on 68 of 68 rows across 8 products.
quantity_availableThe "In-Stock" figure on the product page (DigiKey's own stock). Equal to the page on 8 of 8 products. Null on parts the page shows as obsolete.
stock[] / marketplace_quantity / alternate_quantity / factory_quantity (listing rows)A listing row can carry four numbers: In Stock (DigiKey), Marketplace (third-party sellers on DigiKey), Alternate Stock (non-cancellable, non-returnable stock DigiKey offers for some discontinued parts) and Factory (the supplier's stock, "may be available upon receipt of order"). The site's in-stock filter also keeps rows whose only stock is Marketplace or Alternate Stock, and its stock sort counts Marketplace too.
price (listing rows)The unit price the listing's Price column shows: the first offer's price at its minimum quantity (price_minimum_quantity: 1 for most parts, 51,000 for one regulator). price_suspect_low is true when that price is below 1% of another offer on the same row: ZSR485GTA prints "1,000 : $0.00010" beside "1,000 : $0.37500" on DigiKey's own page, and the site's price sort puts it first.
price_at_quantityOnly when you pass quantity: for each packaging, the unit price of the highest price break at or below that quantity, times the quantity. Packaging with a higher minimum is marked below_minimum. Read off the site's own breaks, not a price the site prints for that exact quantity.
product_idDigiKey's product number in the URL. A packaging variant (the cut-tape id of a reeled resistor) returns its parent product, so the id you get back can differ from the one you sent.
standard_lead_timeThe "Standard Lead Time" the product page prints, such as "24 Weeks". Filled on 9 of 12 products checked; obsolete parts have none.
product_count / result_count (categories)The catalogue's two totals as the site gives them: result_count 15,801,123 is what the category and manufacturer lists add up to; product_count 17,165,849 is the site's larger headline figure.

Filters were checked by comparing the unfiltered and filtered count in the same minute, and every returned row was checked against the filter. A filter value the category does not use returns an error that lists the values it does use.

Coverage

DigiKey coverage, measured

Every number below was read from live digikey.com on 2026-11-19.

Catalogue

15,801,123 listed products (the site's headline count is 17,165,849) in 50 top categories and 1,060 product categories, from 3,718 manufacturers.

Countries

46 DigiKey country sites, each in its own currency and usually USD; the European sites also in EUR.

Accuracy

On 8 product pages: manufacturer part number 8 of 8, stock 8 of 8 and the price-break tables 68 of 68 rows equal to what the page shows.

Filters that bite

Linear regulators 67,387 → Texas Instruments 8,992, in stock 19,736, non-RoHS 8,929, TO-220-3 1,385, TO-220-3 and adjustable 179, quiescent current 1-50 µA 26,384. Chip resistors 1,210,093 → 10 kOhms 4,166.

Paging

25, 50 or 100 rows per call, pages 1-500 (the site's limit, 50,000 rows per filter combination). Three consecutive pages shared no part; a 214-part search walked to the end gave 214 different parts.

Limits

No customer-specific pricing, cart or order data (those need a DigiKey account). Obsolete parts carry no price table, as on the site. Top-level categories have no product count of their own.

Use cases

What people build with DigiKey

The jobs this data is most often used for.

9

endpoints

1/2

credits per call

01

Price a bill of materials at real order quantities, per packaging, in your own currency.

02

Monitor stock and lead times of the parts your products depend on.

03

Find drop-in substitutes for obsolete or out-of-stock parts.

04

Run parametric searches (package, voltage, current, tolerance…) across DigiKey's catalogue for sourcing tools.

Pricing

What DigiKey data costs

The cheapest call here is 1 credit, so $15/mo (Pro) buys 10,000 of them — $1.50 per 1,000 credits. Credits roll over and never expire, and failed or blocked calls are not charged.

Full pricing →
$0.67–$1.50 / 1,000 credits
  • 1,000 free credits on signup, no card
  • One key, all 746 APIs, one credit pool
  • Failed and blocked calls are never charged
  • Credits roll over and never expire
no credit card1,000 free credits · instant API key · pay by card or crypto
Quickstart

Call it in two lines

Sign up, get 1,000 credits and one key that works on every engine. Then this is the whole protocol.

curl
curl -X POST https://api.reefapi.com/digikey/v1/product \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"product_id":"4503183"}'
python
import os
import requests

REEF_KEY = os.environ["REEF_KEY"]

r = requests.post(
    "https://api.reefapi.com/digikey/v1/product",
    headers={"x-api-key": REEF_KEY},
    json={
        "product_id": "4503183"
    },
    timeout=90,
)
print(r.json()["data"])
FAQ

Have a question? We got answers.

The questions people actually ask before wiring up DigiKey.

Do I need a DigiKey account or API key?▾

No DigiKey account and no DigiKey developer key. Everything is read logged out, as any visitor sees digikey.com.

Does it return price breaks for every packaging?▾

Yes. For RC0805FR-0710KL (YAGEO, 10 kOhm 0805) on 2026-11-19: Cut Tape from 1 piece at $0.10000 down to $0.01108 at 1,000, and Tape & Reel from 5,000 at $0.00824 down to $0.00610 at 50,000. Pass quantity to get the unit and extended price at that quantity for each packaging.

Can I get prices in euros, pounds or yen?▾

Yes. Set country to any of DigiKey's 46 sites; prices come in that site's currency (or USD, and EUR on the European sites). The same resistor on 2026-11-19: $0.10 in the US, €0.09 in Germany, £0.07 in the UK, ¥16 in Japan, CA$0.16 in Canada.

Which filters can I use in a parametric search?▾

The site's own: manufacturer, in stock, normally stocking, new products, RoHS, exclude marketplace or tariffed parts, datasheet / photo / EDA models, any column of the category by the value the site shows ("Package / Case": "TO-220-3") and numeric ranges. Linear regulators on 2026-11-19: 67,387 → Texas Instruments 8,992, in stock 19,736, TO-220-3 1,385, TO-220-3 and adjustable 179, quiescent current 1-50 µA 26,384.

How many results can a parametric search return?▾

Up to 100 rows per call and pages 1 to 500, the site's own limit, so 50,000 rows per filter combination; total always gives the full count. A search walked to its end (lm317 in linear regulators, 214 parts) returned 214 different parts with no repeats.

Can I look a part up by its manufacturer part number?▾

Yes: product takes part_number (manufacturer or DigiKey part number) and resolves it through DigiKey's own search. When several makers use the same number (BSS138: 9 makers on 2026-11-19), the answer lists them with their ids so you can pass manufacturer or product_id.

Does it include substitutes and alternatives?▾

Yes, where DigiKey publishes them: substitutes with type (Direct, Similar…), stock and price, "You May Also Be Interested In" and alternate-packaging cards, and marketplace offers from other suppliers with their own price breaks.

How fresh is the data?▾

Every product, search and listing call reads DigiKey live. The category tree and manufacturer list are re-read every six hours.

What is the DigiKey API?▾

DigiKey API is a ReefAPI endpoint group for digikey electronic components: price breaks per packaging, stock, datasheets, every specification, parametric search with the site's filters, in 46 country currencies. It returns live JSON through POST requests under /digikey/v1.

Is the DigiKey API free to try?▾

Yes. ReefAPI starts with 1,000 free credits, no card required. DigiKey calls use the same shared credit balance as every other ReefAPI engine.

Do I need a DigiKey login or account?▾

No login to DigiKey is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.

How fresh is the DigiKey data?▾

The page example is captured from a live search call, and production requests fetch live data through ReefAPI rather than a static sample.

How many credits does the DigiKey API use?▾

DigiKey actions currently cost 1-2 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.

Can I call DigiKey from an AI assistant or MCP client?▾

Yes. Connect ReefAPI once through MCP and your assistant can call digikey actions with the same key, credit pool and JSON envelope used by normal REST requests.

Contact

Need something this API does not do?

Name the endpoint, the field, or a source we do not carry yet. We ship new APIs every week and you would be first to get the key. Real people read every message and reply the same day.

0/4000

No account needed · we reply from [email protected]

Try it on your own data before you pay anything

The call above is the real endpoint, not a recording. A free key gives you 1,000 credits, the other 745 APIs, and the same envelope everywhere.

Endpoints, parameters and credit costs on this page are read from the live catalog and cannot drift from what the API accepts. Field notes were captured on 2026-11-19.