DigiKey API
A DigiKey API for electronic component data as structured JSON: the categories and rows of any part search, with DigiKey and manufacturer part numbers, price breaks per packaging and stock, and one part with its lead time, lifecycle status, RoHS, REACH, ECCN and HTSUS, specs, documents and DigiKey's substitutes.
50 free credits on signup. No card.
{ "data": { "country": "us", "currency": "USD", "language": "en", "requested": { "url": "https://www.digikey.com/en/products/detail/texas-instruments/SN74HCT02N/376866" }, "product_id": "376866", "requested_product_id": "376866", "digikey_part_numbers": [ "296-8380-5-ND" ], "mpn": "SN74HCT02N", "manufacturer": "Texas Instruments", "manufacturer_id": "296", "description": "IC NOR 4-CIR 2-IN 14-PDIP", "detailed_description": "NOR Gate IC 4 Channel 14-PDIP", "url": "https://www.digikey.com/en/products/detail/texas-instruments/SN74HCT02N/376866", "images": [ "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/6/100/620/497/Mfg_296%7E4040049%7EN%7E14_web%28640x640%29.jpg" ], "datasheet_url": "https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Fsn74hct02", "lifecycle_status": "Active", "series": "74HCT", "is_new_product": false, "normally_stocking": true, "quantity_available": 1226, "standard_lead_time": "26 Weeks", "standard_lead_time_weeks": 26, "pricing": [ { "digikey_part_number": "296-8380-5-ND", "packaging": "Tube", "min_order_quantity": 1, "order_multiple": 1, "price_breaks": [ { "quantity": 1, "unit_price": 1.03, "extended_price": 1.03 }, "… 8 more (trimmed for preview)" ] } ], "unit_price": 1.03, "vat": null, "standard_package_quantity": 25, "marketplace": { "is_marketplace_only": false, "ships_from_note": null }, "notes": [ "Due to DigiKey value-add services the packaging type may change when product is purchased at quantities beneath the standard package.", "… 1 more (trimmed for preview)" ], "environmental": { "rohs_status": "ROHS3 Compliant", "reach_status": "REACH Unaffected", "moisture_sensitivity_level": "Not Applicable", "eccn": "EAR99", "htsus": "8542.39.0070" }, "specs": [ { "id": "-1", "name": "Mfr", "value": "Texas Instruments" }, "… 18 more (trimmed for preview)" ], "part_number_aliases": [ "-SN74HCT02N-NDR", "… 7 more (trimmed for preview)" ], "category": { "id": "705", "name": "Gates and Inverters", "url": "https://www.digikey.com/en/products/filter/logic/gates-and-inverters/705" }, "breadcrumbs": [ { "id": "32", "name": "Integrated Circuits (ICs)", "url": "https://www.digikey.com/en/products/category/integrated-circuits-ics/32" }, "… 2 more (trimmed for preview)" ], "documents": [ { "type": "Datasheets", "title": "SN54HCT02, SN74HCT02", "url": "https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Fsn74hct02" }, "… 5 more (trimmed for preview)" ], "related_parts": [ { "product_id": "277057", "mpn": "NE555P", "manufacturer": "Texas Instruments", "description": "IC OSC SINGLE TIMER 100KHZ 8-DIP", "url": "https://www.digikey.com/en/products/detail/texas-instruments/NE555P/277057", "image": "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/3/001/202/811/296%7E4040082%7EP%7E8_tmb%2864x64%29.jpg", "unit_price": 0.59, "quantity_available": 48029, "packaging": "Tube" }, "… 9 more (trimmed for preview)" ], "substitutes": [], "note": "Prices are DigiKey's list prices for a visitor who is not signed in, in the market's currency: price_breaks give the unit_price at each quantity break and extended_price (quantity x unit price, as DigiKey shows it), per packaging. min_order_quantity is the smallest quantity DigiKey sells in that packaging (a full reel for Tape & Reel); order_multiple is the step quantities must follow. quantity_available is DigiKey's own stock (In Stock), one number for every market (the same on digikey.com, digikey.ca and digikey.de); a row's stock lists every line the page shows (DigiKey stock, factory stock, marketplace supplier stock). standard_lead_time is the manufacturer's standard lead time as the page states it. lifecycle_status is DigiKey's Part Status (e.g. Active, Obsolete, Not For New Designs). marketplace.is_marketplace_only marks a DigiKey Marketplace part shipped by its supplier (ships_from_note as the page states it). related_parts are DigiKey's \"You May Also Be Interested In\" list, not equivalents; substitutes are listed when DigiKey's page names them, with DigiKey's substitute type. environmental holds RoHS, REACH, MSL, ECCN and HTSUS as DigiKey classifies the part." }, "response_time": 9642}Tabs for all 3 endpoints. 3 free runs across the tabs, then it's your own key.
What is the Scavio DigiKey API?
The Scavio DigiKey API is a REST API for DigiKey (digikey.com, the electronic component distributor) that returns as JSON part search results with price breaks and stock, and one part with its lead time, lifecycle status, compliance codes, specs and substitutes, on digikey.com, digikey.ca and digikey.de. 2 credits a call.
- 3
- endpoints, all live in production
- 3
- markets: us (USD), ca (CAD), de (EUR)
- 2
- credits a call, 4 for some part-number lookups
What a part costs, whether it is in stock, and what replaces it
Price breaks per packaging, stock as the page shows it, lead time, lifecycle status, compliance codes, substitutes and filtered category rows.
Price breaks per packaging
POST /api/v1/digikey/productThe SN74HCT02N on Tube read 9 breaks, from 1.03 USD for 1 to 0.47467 for 5,000, each with its extended price and the standard package marked.
Stock as the page shows it
POST /api/v1/digikey/productquantity_available is DigiKey's own stock when fetched, one number for every market; rows list DigiKey, factory and marketplace stock lines apart.
Lead time and lifecycle
POST /api/v1/digikey/productThe manufacturer's standard lead time as the page states it (26 Weeks) and DigiKey's Part Status (Active, Obsolete, Not For New Designs).
Compliance codes
POST /api/v1/digikey/productRoHS, REACH, moisture sensitivity level, ECCN and HTSUS as DigiKey classifies the part: ROHS3 Compliant, EAR99, 8542.39.0070.
Category rows with filters
POST /api/v1/digikey/searchLM317 in one category, filtered to Texas Instruments and In Stock, read 62 products, with a filter_check confirming each filter applied.
Substitutes and related parts
POST /api/v1/digikey/productDigiKey's own Substitutes block as given: the LM317T read 9, 3 Direct and 6 Similar, next to its related parts.
Datasheets and documents
POST /api/v1/digikey/productThe datasheet link, product change notices and EDA model links a part's page lists, with its spec table and part number aliases.
All 3 DigiKey API endpoints
Every route is a POST, returns JSON and takes the same API key. Prices are DigiKey's list prices for a visitor who is not signed in. A not-found is charged, a 400 or failed upstream call is not.
| Endpoint | Returns | Credits |
|---|---|---|
Search/api/v1/digikey/search | Keywords or a part number: exact part matches and categories with counts; with a category id, page 1 (25 rows) with price breaks, stock, specs and filters | 2 |
Product/api/v1/digikey/product | One part: price breaks per packaging, stock, lead time, lifecycle status, RoHS / REACH / MSL / ECCN / HTSUS, specs, documents, substitutes | 2 (4 when a DigiKey part number needs a second page read) |
Categories/api/v1/digikey/categories | The top-level categories, or one category with its subcategories, product counts and leaf flags | 2 |
50 free credits on signup cover, for example, 25 part reads by DigiKey link. See plans
One part, with its price breaks and compliance codes
product, the Texas Instruments SN74HCT02N quad NOR gate by DigiKey link, 2026-11-28.
| Field | Value | What it is |
|---|---|---|
| mpn / digikey_part_numbers | SN74HCT02N / 296-8380-5-ND | The maker's part number and DigiKey's part number per packaging |
| lifecycle_status | Active | DigiKey's Part Status |
| quantity_available | 1,226 | DigiKey's own stock as the page showed it when fetched |
| standard_lead_time | 26 Weeks | The manufacturer's standard lead time as the page states it |
| standard_package_quantity | 25 | The manufacturer standard package |
| environmental | ROHS3 Compliant, REACH Unaffected, EAR99, 8542.39.0070 | RoHS, REACH, ECCN and HTSUS as DigiKey classifies the part |
Prices are DigiKey's list prices for a visitor who is not signed in. Every answer carries fetched_at; stock and prices are those of that moment.
Price breaks on one packaging
SN74HCT02N, DigiKey 296-8380-5-ND, Tube, USD, 2026-11-28. 6 of its 9 breaks.
| Quantity | Unit price | Extended price |
|---|---|---|
| 1 | 1.03 | 1.03 |
| 10 | 0.738 | 7.38 |
| 25 (standard package) | 0.6656 | 16.64 |
| 100 | 0.5862 | 58.62 |
| 1,000 | 0.50653 | 506.53 |
| 5,000 | 0.47467 | 2,373.35 |
Each packaging (Cut Tape, Tape & Reel, Tube, Bulk) carries its own breaks, minimum order quantity and order multiple; a Tape & Reel row starts at a full reel.
Category rows, narrowed with DigiKey's own filters
search, LM317 in category 699 with Manufacturer Texas Instruments and In Stock, 2026-11-28: 62 products. The first three rows.
| Manufacturer part # | DigiKey part # | In stock | Unit price (1) | Tape & Reel from |
|---|---|---|---|---|
| LM317LIDR | 296-20678-1-ND | 78,226 | 0.33 | 2,500 |
| LM317LCPK | 296-26093-1-ND | 40,410 | 0.64 | 1,000 |
| LM317MQDCYR | 296-15185-1-ND | 33,261 | 0.74 | 2,500 |
Page 1 of a category listing is returned (25 rows, in DigiKey's order); later pages are not offered, so narrow with keywords and filters. filter_check reports per filter whether the page shows it applied.
Three DigiKey sites
country picks the site. Stock is one number for every market.
| country | Site | Currency | Endpoints |
|---|---|---|---|
| us (default) | digikey.com | USD | search, product, categories |
| ca | digikey.ca | CAD | product, categories (no search) |
| de | digikey.de | EUR, without VAT plus the with-VAT figure; German labels | search, product, categories |
On 2026-11-28 the NE555P read 0.59 USD on digikey.com, 0.93 CAD on digikey.ca and 0.52 EUR on digikey.de (0.6188 with VAT).
DigiKey next to other electronic component distributors
One Scavio key and one response envelope across the public storefronts. Keep each reading with its source and fetched_at.
| Where | Scavio API | Use it for |
|---|---|---|
| DigiKey | DigiKey API (this page) | Price breaks per packaging, stock, lead time, lifecycle status and substitutes |
| Mouser Electronics | Mouser API (/mouser-api) | Price breaks per packaging, factory lead time and on-order quantities |
| RS Components | RS Components API (/rscomponents-api) | UK, German and Australian stock, unit and pack prices and ship dates |
| McMaster-Carr | McMaster-Carr API (/mcmaster-api) | Mechanical and industrial parts with pack and per-piece prices |
DigiKey lists the manufacturer part number on every row, so a part can be matched across distributors on that number.
Read a DigiKey part by link
product returns price breaks per packaging, stock, lead time, lifecycle status, compliance codes, specs, documents and related parts. The response on the right is a real capture of a Texas Instruments quad NOR gate.
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=300)
# In-stock Texas Instruments LM317 rows of one category (2 credits).
d = client.digikey.search(query="LM317", category_id="699", filters={"-1": ["296"], "-2": ["5"]})["data"]
for it in d["items"]:
print(it["mpn"], it["digikey_part_number"], it["quantity_available"], it["unit_price"])
# One part with price breaks, lead time and compliance codes (2 credits).
p = client.digikey.product(url="https://www.digikey.com/en/products/detail/texas-instruments/SN74HCT02N/376866")["data"]
print(p["lifecycle_status"], p["quantity_available"], p["standard_lead_time"], p["environmental"]["eccn"]){
"data": {
"country": "us",
"currency": "USD",
"language": "en",
"requested": {
"url": "https://www.digikey.com/en/products/detail/texas-instruments/SN74HCT02N/376866"
},
"product_id": "376866",
"requested_product_id": "376866",
"digikey_part_numbers": [
"296-8380-5-ND"
],
"mpn": "SN74HCT02N",
"manufacturer": "Texas Instruments",
"manufacturer_id": "296",
"description": "IC NOR 4-CIR 2-IN 14-PDIP",
"detailed_description": "NOR Gate IC 4 Channel 14-PDIP",
"url": "https://www.digikey.com/en/products/detail/texas-instruments/SN74HCT02N/376866",
"images": [
"https://mm.digikey.com/Volume0/opasdata/d220001/derivates/6/100/620/497/Mfg_296%7E4040049%7EN%7E14_web%28640x640%29.jpg"
],
"datasheet_url": "https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Fsn74hct02",
"lifecycle_status": "Active",
"series": "74HCT",
"is_new_product": false,
"normally_stocking": true,
"quantity_available": 1226,
"standard_lead_time": "26 Weeks",
"standard_lead_time_weeks": 26,
"pricing": [
{
"digikey_part_number": "296-8380-5-ND",
"packaging": "Tube",
"min_order_quantity": 1,
"order_multiple": 1,
"price_breaks": [
{
"quantity": 1,
"unit_price": 1.03,
"extended_price": 1.03
},
{
"quantity": 10,
"unit_price": 0.738,
"extended_price": 7.38
},
{
"quantity": 25,
"unit_price": 0.6656,
"extended_price": 16.64,
"standard_package": true
},
{
"quantity": 100,
"unit_price": 0.5862,
"extended_price": 58.62
},
{
"quantity": 250,
"unit_price": 0.54824,
"extended_price": 137.06
},
{
"quantity": 500,
"unit_price": 0.52536,
"extended_price": 262.68
},
{
"quantity": 1000,
"unit_price": 0.50653,
"extended_price": 506.53
},
{
"quantity": 2500,
"unit_price": 0.48665,
"extended_price": 1216.62
},
{
"quantity": 5000,
"unit_price": 0.47467,
"extended_price": 2373.35
}
]
}
],
"unit_price": 1.03,
"vat": null,
"standard_package_quantity": 25,
"marketplace": {
"is_marketplace_only": false,
"ships_from_note": null
},
"notes": [
"Due to DigiKey value-add services the packaging type may change when product is purchased at quantities beneath the standard package.",
"Other Suppliers on DigiKey"
],
"environmental": {
"rohs_status": "ROHS3 Compliant",
"reach_status": "REACH Unaffected",
"moisture_sensitivity_level": "Not Applicable",
"eccn": "EAR99",
"htsus": "8542.39.0070"
},
"specs": [
{
"id": "-1",
"name": "Mfr",
"value": "Texas Instruments"
},
{
"id": "-4",
"name": "Series",
"value": "74HCT"
},
{
"id": "-5",
"name": "Packaging",
"value": "Tube"
},
{
"id": "1989",
"name": "Part Status",
"value": "Active"
},
{
"id": "247",
"name": "Logic Type",
"value": "NOR Gate"
},
{
"id": "2094",
"name": "Number of Circuits",
"value": "4"
},
{
"id": "667",
"name": "Number of Inputs",
"value": "2"
},
{
"id": "5",
"name": "Features",
"value": null
},
{
"id": "276",
"name": "Voltage - Supply",
"value": "4.5V ~ 5.5V"
},
{
"id": "2116",
"name": "Current - Quiescent (Max)",
"value": "2 µA"
},
{
"id": "592",
"name": "Current - Output High, Low",
"value": "4mA, 4mA"
},
{
"id": "1543",
"name": "Input Logic Level - Low",
"value": "0.8V"
},
{
"id": "1542",
"name": "Input Logic Level - High",
"value": "2V"
},
{
"id": "1552",
"name": "Max Propagation Delay @ V, Max CL",
"value": "18ns @ 5.5V, 50pF"
},
{
"id": "252",
"name": "Operating Temperature",
"value": "-40°C ~ 85°C"
},
{
"id": "69",
"name": "Mounting Type",
"value": "Through Hole"
},
{
"id": "1291",
"name": "Supplier Device Package",
"value": "14-PDIP"
},
{
"id": "16",
"name": "Package / Case",
"value": "14-DIP (0.300\", 7.62mm)"
},
{
"id": "-7",
"name": "Base Product Number",
"value": "74HCT02"
}
],
"part_number_aliases": [
"-SN74HCT02N-NDR",
"-SN74HCT02NE4",
"-SN74HCT02NE4-NDR",
"2156-SN74HCT02N",
"-296-8380-5-ND",
"296-8380-5",
"TEXTISSN74HCT02N",
"-296-8380-5"
],
"category": {
"id": "705",
"name": "Gates and Inverters",
"url": "https://www.digikey.com/en/products/filter/logic/gates-and-inverters/705"
},
"breadcrumbs": [
{
"id": "32",
"name": "Integrated Circuits (ICs)",
"url": "https://www.digikey.com/en/products/category/integrated-circuits-ics/32"
},
{
"id": "2019",
"name": "Logic",
"url": "https://www.digikey.com/en/products/category/logic/2019"
},
{
"id": "705",
"name": "Gates and Inverters",
"url": "https://www.digikey.com/en/products/filter/logic/gates-and-inverters/705"
}
],
"documents": [
{
"type": "Datasheets",
"title": "SN54HCT02, SN74HCT02",
"url": "https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Fsn74hct02"
},
{
"type": "Featured Product",
"title": "Analog Solutions",
"url": "https://www.digikey.com/en/product-highlight/t/texas-instruments/analog-solutions"
},
{
"type": "Featured Product",
"title": "Logic Solutions",
"url": "https://www.digikey.com/en/product-highlight/t/texas-instruments/logic-solutions"
},
{
"type": "PCN Design/Specification",
"title": "SNx4HCTxx 24/Oct/2022",
"url": "https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/4884/PCN20221024002.0.pdf"
},
{
"type": "PCN Design/Specification",
"title": "Material Set 30/Mar/2017",
"url": "https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/2220/PCN20170310000.pdf"
},
{
"type": "EDA Models",
"title": "SN74HCT02N Models",
"url": "https://www.digikey.com/en/models/376866"
}
],
"related_parts": [
{
"product_id": "277057",
"mpn": "NE555P",
"manufacturer": "Texas Instruments",
"description": "IC OSC SINGLE TIMER 100KHZ 8-DIP",
"url": "https://www.digikey.com/en/products/detail/texas-instruments/NE555P/277057",
"image": "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/3/001/202/811/296%7E4040082%7EP%7E8_tmb%2864x64%29.jpg",
"unit_price": 0.59,
"quantity_available": 48029,
"packaging": "Tube"
},
{
"product_id": "277251",
"mpn": "SN74HCT04N",
"manufacturer": "Texas Instruments",
"description": "IC INV 6-CIR 1-IN 14-PDIP",
"url": "https://www.digikey.com/en/products/detail/texas-instruments/SN74HCT04N/277251",
"image": "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/3/100/620/497/Mfg_296%7E4040049%7EN%7E14_tmb%2864x64%29.jpg",
"unit_price": 0.96,
"quantity_available": 6958,
"packaging": "Tube"
},
{
"product_id": "375164",
"mpn": "SN74AHCT86N",
"manufacturer": "Texas Instruments",
"description": "IC XOR 4-CIR 2-IN 14-PDIP",
"url": "https://www.digikey.com/en/products/detail/texas-instruments/SN74AHCT86N/375164",
"image": "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/3/100/620/497/Mfg_296%7E4040049%7EN%7E14_tmb%2864x64%29.jpg",
"unit_price": 0.95,
"quantity_available": 43583,
"packaging": "Bulk / Tube"
},
{
"product_id": "277279",
"mpn": "SN74LS08N",
"manufacturer": "Texas Instruments",
"description": "IC AND 4-CIR 2-IN 14-PDIP",
"url": "https://www.digikey.com/en/products/detail/texas-instruments/SN74LS08N/277279",
"image": "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/3/100/620/497/Mfg_296%7E4040049%7EN%7E14_tmb%2864x64%29.jpg",
"unit_price": 0.92,
"quantity_available": 4673,
"packaging": "Tube"
},
{
"product_id": "637601",
"mpn": "HLMP-3519",
"manufacturer": "Broadcom Limited",
"description": "LED GREEN CLEAR T-1 3/4 T/H",
"url": "https://www.digikey.com/en/products/detail/broadcom-limited/HLMP-3519/637601",
"image": "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/3/001/135/367/HLMP-3519_tmb%2864x64%29.jpg",
"unit_price": 0.57,
"quantity_available": 26346,
"packaging": "Bulk"
},
{
"product_id": "637599",
"mpn": "HLMP-3316",
"manufacturer": "Broadcom Limited",
"description": "LED RED CLEAR T-1 3/4 T/H",
"url": "https://www.digikey.com/en/products/detail/broadcom-limited/HLMP-3316/637599",
"image": "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/3/001/164/863/HLMP-3316_tmb%2864x64%29.jpg",
"unit_price": 0.54,
"quantity_available": 39110,
"packaging": "Bulk"
},
{
"product_id": "377730",
"mpn": "SN74LS47N",
"manufacturer": "Texas Instruments",
"description": "IC DRVR 7 SEGMENT 16DIP",
"url": "https://www.digikey.com/en/products/detail/texas-instruments/SN74LS47N/377730",
"image": "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/3/300/729/762/296%7E4040049%7EN%7E16_tmb.jpg",
"unit_price": 2.1,
"quantity_available": 8746,
"packaging": "Bulk / Tube"
},
{
"product_id": "20760",
"mpn": "206-8",
"manufacturer": "CTS Electrocomponents",
"description": "SWITCH SLIDE DIP SPST 0.05A 24V",
"url": "https://www.digikey.com/en/products/detail/cts-electrocomponents/206-8/20760",
"image": "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/3/002/623/652/206-8%2C%20206-8ST_tmb%2864x64%29.jpg",
"unit_price": 1.97,
"quantity_available": 1948,
"packaging": "Tube"
},
{
"product_id": "637455",
"mpn": "5082-7650",
"manufacturer": "Broadcom Limited",
"description": "DISPLAY 7SEG 0.43\" SGL RED 14DIP",
"url": "https://www.digikey.com/en/products/detail/broadcom-limited/5082-7650/637455",
"image": "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/3/003/314/468/5082-7650_tmb%2864x64%29.jpg",
"unit_price": 9.52,
"quantity_available": 623,
"packaging": "Tube"
},
{
"product_id": "585964",
"mpn": "L7805CV",
"manufacturer": "STMicroelectronics",
"description": "IC REG LINEAR 5V 1.5A TO220",
"url": "https://www.digikey.com/en/products/detail/stmicroelectronics/L7805CV/585964",
"image": "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/3/300/415/110/497%7ETO220-3TO220AB%7E%7E3_tmb.jpg",
"unit_price": 1.28,
"quantity_available": 82525,
"packaging": "Tube"
}
],
"substitutes": [],
"note": "Prices are DigiKey's list prices for a visitor who is not signed in, in the market's currency: price_breaks give the unit_price at each quantity break and extended_price (quantity x unit price, as DigiKey shows it), per packaging. min_order_quantity is the smallest quantity DigiKey sells in that packaging (a full reel for Tape & Reel); order_multiple is the step quantities must follow. quantity_available is DigiKey's own stock (In Stock), one number for every market (the same on digikey.com, digikey.ca and digikey.de); a row's stock lists every line the page shows (DigiKey stock, factory stock, marketplace supplier stock). standard_lead_time is the manufacturer's standard lead time as the page states it. lifecycle_status is DigiKey's Part Status (e.g. Active, Obsolete, Not For New Designs). marketplace.is_marketplace_only marks a DigiKey Marketplace part shipped by its supplier (ships_from_note as the page states it). related_parts are DigiKey's \"You May Also Be Interested In\" list, not equivalents; substitutes are listed when DigiKey's page names them, with DigiKey's substitute type. environmental holds RoHS, REACH, MSL, ECCN and HTSUS as DigiKey classifies the part."
},
"response_time": 9642
}Why not the official DigiKey API?
DigiKey offers its own API, with developer registration, keys and rate limits. Here is where the Scavio DigiKey API fits.
DigiKey API
- Official product data from DigiKey itself
- Register as a developer and create an application for keys
- Its own rate limits, request format and response shape
- One distributor per integration
Scavio DigiKey API
- One Scavio key issued at signup
- The public DigiKey pages on digikey.com, digikey.ca and digikey.de
- Price breaks per packaging, stock, lead time and lifecycle status as JSON
- Compliance codes, documents and DigiKey's substitutes per part
- The same key and response envelope for Mouser and RS Components
- The same key for every other Scavio platform
Pick the official API when you need DigiKey's own account features. Later pages of category listings, sorting, search on digikey.ca, account pricing and ordering are not offered here. Not legal advice.
What hardware and procurement teams build with it
BOM pricing at your build quantity
The price break that applies at each line's quantity, per packaging, with the minimum order quantity and order multiple.
productAvailability checks before a build
quantity_available and every stock line the page shows for the parts on a bill of materials, read when you ask.
search + productLifecycle and lead-time review
DigiKey's Part Status and the manufacturer's standard lead time, to flag Obsolete or Not For New Designs parts and long lead times.
productFinding a substitute
DigiKey's own Substitutes block with its Direct or Similar type, plus in-stock rows of the same category narrowed by spec filters.
product + searchCompliance and trade data
RoHS, REACH, MSL, ECCN and HTSUS per part, with datasheets and product change notices.
productParametric part selection
A category's spec columns and filters with counts, narrowed by manufacturer, stocking option or any spec value DigiKey offers.
categories + searchHow to get DigiKey part and price data
- 1
Get an API key
Sign up for a Scavio account and copy your key from the dashboard. You get 50 free credits on signup, with no card.
- 2
Find the category
POST {"query": "LM317"} to https://api.scavio.dev/api/v1/digikey/search with an Authorization: Bearer header: the answer lists exact part matches and the categories holding matches. Set a client timeout of at least 300 seconds.
- 3
Read the rows
Search again with category_id (categories[].id) and filters from facets[] for page 1 of that category: 25 rows with price breaks and stock.
- 4
Read one part
Send items[].url or a DigiKey part number to /product for price breaks per packaging, lead time, lifecycle status, compliance codes, documents and substitutes.
DigiKey API FAQ
Does DigiKey have an official API?
+
Yes. DigiKey offers its own API for product data: you register as a developer, create an application for keys, and work within its rate limits. The Scavio DigiKey API is a separate option: 3 POST endpoints on one Scavio key issued at signup, with the same key and response envelope as Mouser, RS Components and every other Scavio platform.
What does a price break look like?
+
Each packaging carries price_breaks [{quantity, unit_price, extended_price}] with its min_order_quantity and order_multiple, as DigiKey shows them; standard_package marks the break at the manufacturer's standard package. The SN74HCT02N on Tube read 1.03 USD for 1 down to 0.47467 for 5,000. DigiKey Product API docs
How current is the stock?
+
Stock is what the DigiKey page shows when the call runs: Scavio fetches the page on request and keeps no cache, and every answer carries fetched_at. quantity_available is DigiKey's own stock, one number for every market; a row lists DigiKey, factory and marketplace stock lines apart.
Why do I only get 25 rows?
+
Category listings return page 1, 25 rows in DigiKey's order; later pages are not offered. Narrow the listing with query and filters (manufacturer, stocking option or any spec value from facets[]) so the parts you want land on that page. filter_check says per filter whether the page shows it applied. DigiKey Search API docs
Which markets are covered?
+
us (digikey.com, USD, the default), ca (digikey.ca, CAD: product and categories, no search) and de (digikey.de, EUR, prices without VAT with the with-VAT figure in vat, labels in German such as packaging Stange and status Aktiv). Other DigiKey country sites are not covered.
Does it return lead times and lifecycle status?
+
Yes. product returns standard_lead_time as the page states it (e.g. 26 Weeks) with standard_lead_time_weeks, and lifecycle_status, DigiKey's Part Status (Active, Obsolete, Not For New Designs and others).
Are substitutes returned?
+
When DigiKey's page lists them: substitutes come from DigiKey's own Substitutes block, as given, with its substitute_type (Direct or Similar). related_parts is DigiKey's You May Also Be Interested In list, not equivalents. The LM317T read 9 substitutes, 3 Direct and 6 Similar.
Can I look a part up by DigiKey part number?
+
Yes: send digikey_part_number (e.g. 497-1575-5-ND). It is resolved on digikey.com first; when that needs a second page read, and always for ca and de, the call costs 4 credits instead of 2. A DigiKey product link always costs 2.
What compliance data comes back?
+
environmental holds RoHS status, REACH status, moisture sensitivity level, ECCN and HTSUS as DigiKey classifies the part, next to datasheets, product change notices and EDA model links in documents.
How much does a DigiKey request cost?
+
2 credits a call; a product looked up by DigiKey part number costs 4 when it needs a second page read. credits_used on every answer reports the charge. New accounts get 50 free credits on signup, one time and with no card. Paid plans start with Hobby at $15 per month for 3,000 credits; on Growth credits cost $1 per 1,000. A 400 and a failed upstream call are not charged; a not-found is.
How long does a call take?
+
Usually 10 to 40 seconds (about 5 to 30 seconds in the captures), and up to about 200 seconds when DigiKey is slow, so set a client timeout of at least 300 seconds.
What do DigiKey's terms say?
+
Scavio keeps no copy of DigiKey data: each call fetches the public DigiKey page at the moment your request asks for it and returns what it shows as JSON, with no response cache. DigiKey's terms of use restrict automated access to its site. You remain responsible for compliance with those terms, so read the current terms for your use case and get your own advice. This is not legal advice.
What is DigiKey?
+
DigiKey is an electronic component distributor at digikey.com, with digikey.ca and digikey.de among its country sites: semiconductors, passives, connectors, electromechanical parts, development boards and tools, each under a DigiKey part number per packaging.
Explore more of Scavio
Mouser API
Mouser Electronics price breaks, factory lead time and on-order quantities.
RS Components API
RS Components stock, unit and pack prices in the UK, Germany and Australia.
McMaster-Carr API
Mechanical and industrial parts with pack and per-piece prices.
Micro Center API
Per-store stock and prices for computer parts and electronics.
DigiKey API docs
All 3 endpoints with params, credits and real responses.
Start reading DigiKey part data
50 free credits on signup, no card. One key for DigiKey, Mouser, RS Components and every other Scavio platform.