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
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
One part: price breaks per packaging, stock, specs
// 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.
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.
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 the DigiKey API works
DigiKey is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.
No OAuth app, no request signing, no per-site account. One key covers all 746 engines.
Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.
Credits, not seats. Failed and blocked calls are never charged, and nothing is cached: every call reads the source live.
One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.
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.
229 matching parts; the top category is linear voltage regulators (id 699) with 214 of them.
131 LM317 parts in stock at DigiKey or its Marketplace, cheapest first, each with price breaks per packaging and both stock figures.
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.
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.
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"}'{
"ok": true,
"data": { … },
"meta": {
"api": "digikey",
"endpoint": "product",
"mode": "live",
"latency_ms": …,
"record_count": …
},
"error": null
}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.
| Field | What 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_available | The "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_quantity | Only 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_id | DigiKey'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_time | The "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.
DigiKey coverage, measured
Every number below was read from live digikey.com on 2026-11-19.
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.
46 DigiKey country sites, each in its own currency and usually USD; the European sites also in EUR.
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.
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.
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.
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.
What people build with DigiKey
The jobs this data is most often used for.
endpoints
credits per call
Price a bill of materials at real order quantities, per packaging, in your own currency.
Monitor stock and lead times of the parts your products depend on.
Find drop-in substitutes for obsolete or out-of-stock parts.
Run parametric searches (package, voltage, current, tolerance…) across DigiKey's catalogue for sourcing tools.
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.
- 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
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 -X POST https://api.reefapi.com/digikey/v1/product \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"product_id":"4503183"}'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"])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.
390 E-commerce & Marketplaces APIs on the same key
One key, one credit pool, one response envelope. If you are pulling DigiKey, you are one call away from the rest of the category — no second contract, no second integration.
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.
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.