To get DigiKey part prices programmatically, use Scavio's DigiKey API. POST /api/v1/digikey/search with a keyword tells you which categories hold the part; the same call with a category_id returns 25 parts with every price break per packaging, the minimum order of each packaging, the stock DigiKey shows and the category's specs. POST /api/v1/digikey/product adds the manufacturer's standard lead time, DigiKey's Part Status, RoHS, REACH, ECCN and HTSUS codes, documents and DigiKey's substitutes. Every call costs 2 credits, about $0.002 on the Growth plan.
DigiKey also offers its own Product Information API through a registered developer account, an organization, a production app and OAuth 2.0, with 1,000 requests a day. If you buy from DigiKey on contract pricing, that is the route for your own prices. The steps below read DigiKey's public list prices with one Scavio key. Set a client timeout of at least 300 seconds: our calls took 2 to 28 seconds, and DigiKey can be slower.
Step 1: Find the category
curl -s https://api.scavio.dev/api/v1/digikey/search \
-H "Authorization: Bearer $SCAVIO_API_KEY" \
-H "Content-Type: application/json" \
--max-time 300 \
-d '{"query": "STM32F103"}'A keyword answers with DigiKey's category view: the categories that hold matches, with counts. On November 29, 2026, "STM32F103" matched 196 products, the first two categories as captured:
{
"country": "us",
"currency": "USD",
"query": "STM32F103",
"result_type": "categories",
"total": 196,
"categories": [
{ "id": "685", "name": "Microcontrollers", "parent": "Embedded", "product_count": 134 },
{ "id": "786", "name": "Embedded MCU, DSP Evaluation Boards", "parent": "Evaluation Boards", "product_count": 24 }
]
}When the query is an exact part number, exact_matches lists the parts whose manufacturer part number matches.
Step 2: Read the category's rows with price breaks
curl -s https://api.scavio.dev/api/v1/digikey/search \
-H "Authorization: Bearer $SCAVIO_API_KEY" \
-H "Content-Type: application/json" \
--max-time 300 \
-d '{"query": "STM32F103", "category_id": "685", "filters": {"-2": ["5"]}}'{"-2": ["5"]} is DigiKey's In Stock filter. The answer held 66 in-stock parts, 25 on the page, with filter_check {"-2": "applied"}. One row, trimmed to the price and stock fields:
{
"position": 2,
"digikey_part_number": "497-6063-ND",
"digikey_part_number_packaging": "Tray",
"mpn": "STM32F103C8T6",
"manufacturer": "STMicroelectronics",
"description": "IC MCU 32BIT 64KB FLASH 48LQFP",
"quantity_available": 9549,
"stock": [{ "label": "In Stock", "quantity": 9549 }],
"unit_price": 8.81,
"pricing": [
{
"packaging": "Tray",
"min_order_quantity": 1,
"unit_price": 8.81,
"price_breaks": [
{ "quantity": 1, "unit_price": 8.81, "extended_price": 8.81 },
{ "quantity": 10, "unit_price": 6.783, "extended_price": 67.83 },
{ "quantity": 50, "unit_price": 5.9708, "extended_price": 298.54 },
{ "quantity": 100, "unit_price": 5.7193, "extended_price": 571.93 },
{ "quantity": 250, "unit_price": 5.45368, "extended_price": 1363.42 },
{ "quantity": 500, "unit_price": 5.29356, "extended_price": 2646.78 }
]
}
],
"product_status": "Active",
"tariff_note": "Tariff may apply if shipping to the United States"
}Each row also carries specs, the category's columns (core, speed, flash size, package and so on). Parts sold on Cut Tape and Tape & Reel get one pricing entry per packaging, and a Tape & Reel entry starts at a full reel, so pick the break that matches both your quantity and the packaging you will buy.
Step 3: Narrow with DigiKey's filters
The same response lists facets with ids and counts. In this category they included Manufacturer (-1), Series (-4), Packaging (-5: Cut Tape 23, Digi-Reel 23, Tape & Reel 23, Tray 43) and Product Status (1989), followed by spec columns such as Speed, Program Memory Size and RAM Size. Pass any of them in filters as {"<facet id>": ["<option id>"]}, up to 10 at a time. Because a category search returns page 1 only, filters are how you reach the parts you need rather than paging.
Step 4: Read one part in full
curl -s https://api.scavio.dev/api/v1/digikey/product \
-H "Authorization: Bearer $SCAVIO_API_KEY" \
-H "Content-Type: application/json" \
--max-time 300 \
-d '{"digikey_part_number": "497-6063-ND"}'The captured response, trimmed:
{
"product_id": "1646338",
"digikey_part_numbers": ["497-6063-ND"],
"mpn": "STM32F103C8T6",
"manufacturer": "STMicroelectronics",
"lifecycle_status": "Active",
"normally_stocking": true,
"quantity_available": 9549,
"standard_lead_time": "40 Weeks",
"standard_lead_time_weeks": 40,
"unit_price": 8.81,
"standard_package_quantity": 250,
"environmental": {
"rohs_status": "ROHS3 Compliant",
"reach_status": "REACH Unaffected",
"moisture_sensitivity_level": "3 (168 Hours)",
"eccn": "3A991A2",
"htsus": "8542.31.0025"
},
"substitutes": [
{ "mpn": "XMC4104Q48K64BAXUMA1", "manufacturer": "Infineon Technologies", "unit_price": 4.61476, "quantity_available": 0, "substitute_type": "Similar" }
]
}pricing repeats the Tray table from step 2 with order_multiple and marks the 250-piece break as standard_package. documents listed 14 links (datasheet, product change notices, training modules, a reference design) and related_parts 11 parts. This call took 3.0 seconds and was charged 2 credits; a DigiKey part number can cost 4 when it needs a second page read. A product link from items[].url always costs 2. Treat substitutes as the parts DigiKey's page lists, not an engineering approval, and standard_lead_time as the manufacturer's standard lead time, not a ship date.
Step 5: Price it in another market
curl -s https://api.scavio.dev/api/v1/digikey/product \
-H "Authorization: Bearer $SCAVIO_API_KEY" \
-H "Content-Type: application/json" \
--max-time 300 \
-d '{"digikey_part_number": "497-6063-ND", "country": "de"}'On digikey.de the same part read 7.82 EUR at 1 piece without VAT, with vat {"unit_price_excl_vat": 7.82, "unit_price_incl_vat": 9.3058}, down to 4.6991 EUR at 500, lifecycle_status "Aktiv", standard_lead_time "40 Wochen" and the same 9,549 in stock. Labels come back in German, so map them if you mix markets. This call cost 4 credits and took 28 seconds.
All three endpoints
| Endpoint | What it returns | Credits |
|---|---|---|
/api/v1/digikey/search | A keyword: categories and exact matches. With category_id: 25 parts with price breaks per packaging, stock, Part Status, specs, facets | 2 |
/api/v1/digikey/product | One part: price breaks, order multiple, stock, standard lead time, Part Status, RoHS / REACH / MSL / ECCN / HTSUS, documents, related parts, substitutes | 2 by link; up to 4 by DigiKey part number |
/api/v1/digikey/categories | The top-level categories, or one category's subcategories with product counts | 2 |
country takes us (digikey.com, USD, the default), ca (digikey.ca, CAD; product and categories) or de (digikey.de, EUR). For a side-by-side of every option, see the best DigiKey part price APIs, and for DigiKey next to Mouser in one schema, see normalizing DigiKey and Mouser price tiers.
Getting started
- Sign up at dashboard.scavio.dev/sign-up: 50 free credits, no card required.
- Copy your API key from the dashboard.
- Send a POST to
/api/v1/digikey/searchwith your key in theAuthorizationheader and a timeout of 300 seconds.
Try the DigiKey API free in the playground first, or call it from Claude and other agents through the MCP server, where DigiKey is opt-in via SCAVIO_PLATFORMS.
Reference: DigiKey API overview · search · product · categories · Mouser API · RS Components API
Frequently asked questions
How do I look up a DigiKey part by part number?
Send the DigiKey part number to Scavio's /api/v1/digikey/product as digikey_part_number, for example 497-6063-ND, or send a manufacturer part number as the query to /api/v1/digikey/search. The product call returns the full price table per packaging, stock, standard lead time, Part Status, compliance codes, documents and substitutes.
Can I get DigiKey prices in euros or Canadian dollars?
Yes. Pass country de for digikey.de, which returns euro prices without VAT next to the with-VAT figure and German labels, or country ca for digikey.ca prices in Canadian dollars on the product and categories endpoints. Stock is one DigiKey number for every market: the STM32F103C8T6 read 9,549 on both digikey.com and digikey.de on November 29, 2026.
Why does a DigiKey category search return only 25 parts?
Scavio returns page 1 of a DigiKey category, 25 rows in DigiKey's order, and does not offer later pages. Narrow the listing with keywords and DigiKey's own filters, such as manufacturer, packaging, In Stock or any spec value from facets, so the parts you need land on that page. filter_check tells you whether each filter applied.
How much does DigiKey data cost with Scavio?
Every DigiKey call costs 2 credits, about $0.002 on the Growth plan. A product looked up by DigiKey part number can cost 4 credits when it needs a second page read, which is always the case on digikey.ca and digikey.de. A 400 or an upstream failure is not charged. New accounts get 50 free credits with no card.