Overview
The Digi-Key API provides real-time access to pricing, inventory, and detailed specifications for millions of electronic components sold by Digi-Key. You can programmatically check stock levels, get datasheets, and even place orders directly through the API. It is especially useful for engineers and procurement teams building automated sourcing or BOM (Bill of Materials) tools.
Beginner Tip
Digi-Key uses OAuth 2.0, so you will need to complete the authorization flow and obtain an access token before making any API calls. Start with the Product Search endpoint using a part number to verify your setup before building more complex integrations.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from Digi-Key",
"description": "Retrieve price and inventory of electronic components as well as place orders",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
DigiKeyPartNumber Digi-Key catalog number for the component, used for ordering ManufacturerPartNumber The part number assigned by the original manufacturer UnitPrice Price per single unit in USD based on the lowest quantity break QuantityAvailable Number of units currently in stock and available to ship ProductDescription Technical description of the component including key specifications Datasheet URL link to the manufacturer PDF datasheet for the component Implementation Example
const url = "https://www.digikey.com/en/resources/api-solutions";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"Authorization": "Bearer YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Explore More
Similar APIs
View All →eBay
The eBay API gives you access to eBay's massive marketplace, letting you search listings, retrieve product details, manage inventory, and handle orders programmatically.
Etsy
The Etsy API lets you interact with Etsy's handmade marketplace, enabling you to read shop listings, manage your own shop inventory, and handle orders for Etsy sellers.
Flipkart Marketplace
The Flipkart Marketplace API allows Flipkart sellers to manage product listings, update inventory, and fulfill orders programmatically through the Flipkart seller platform.
Rappi
The Rappi API lets developers manage orders placed through the Rappi delivery app.
Tokopedia
The Tokopedia API (now served through the TikTok Shop partner portal) allows merchants and developers to integrate with Tokopedia, Indonesia's leading e-commerce marketplace.