ScavioScavio
Pricing
Tools
Sign InsGet Startedg
Quick StartAPI & SDKsEcosystem

DigiKey

DigiKey Search API

Search DigiKey, the electronic component distributor, by keywords, a manufacturer part number or a DigiKey part number. With query alone DigiKey answers with its category view: the parts whose manufacturer part number matches and the categories holding matches, with product counts. With a category id it returns page 1 of that category's listing, 25 rows in DigiKey's order, each with DigiKey and manufacturer part numbers, price breaks per packaging, stock, lifecycle status, RoHS, datasheet and the category's spec columns, plus the filters you can narrow it with and a per-filter check. us and de. 2 credits.

POST/api/v1/digikey/search

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).

Body

application/json
querystring

Keywords, a manufacturer part number or a DigiKey part number, 1-120 characters. Send query, category_id or both.

Example: LM317

category_idstring | integer

A leaf category id (categories[].id of a search or of categories, where leaf is true) or a DigiKey category link: returns page 1 of that category, narrowed by query and filters.

Example: 699

filtersobject

With category_id: {<facet id>: [<option id>, ...]} from facets[] and common_filters[], e.g. {"-1": ["296"]} for Manufacturer Texas Instruments or {"-2": ["5"]} for In Stock. Up to 10 filters of 1-25 option ids each.

Example: {"-1": ["296"], "-2": ["5"]}

countrystringdefault:us

us (digikey.com, USD) or de (digikey.de, EUR, German labels, prices without VAT). ca is a 400 here (use product and categories for digikey.ca), not charged.

Notes

DigiKey. DigiKey (digikey.com, the electronic component distributor) lists semiconductors, passives, connectors, electromechanical parts, development boards and tools, each under a DigiKey part number per packaging. Three markets: us (digikey.com, USD, the default), ca (digikey.ca, CAD: product and categories only, no search) and de (digikey.de, EUR, German labels, prices without VAT plus the with-VAT figure). Prices are DigiKey's list prices for a visitor who is not signed in. DigiKey offers its own official API, with developer registration, keys and rate limits; this is a separate option on one Scavio key, with the same key and response envelope as Mouser, RS Components and every other Scavio platform. search and categories cost 2 credits, product 2 (4 when a DigiKey part number needs a second page read). On 2026-11-28 LM7805 alone read DigiKey's category view: 4 categories holding matches, led by Voltage Regulators - Linear, Low Drop Out (LDO) Regulators (id 699, 17 products). LM317 in category 699 with filters {"-1": ["296"], "-2": ["5"]} (Manufacturer Texas Instruments, In Stock) read 62 products, filter_check applied for both; the first row, LM317LIDR (DigiKey 296-20678-1-ND, Cut Tape), showed 78,226 in stock at 0.33 USD for 1 and 0.14522 for 1,000, and 0.1465 on Tape & Reel from 2,500. Only page 1 of a category listing is returned (25 rows): narrow it with query and filters, taking ids from facets[] and common_filters[]. An exact part number can land on one product: result_type product, with product filled as in the product endpoint.

EndpointWhat it returnsCredits per call
searchKeywords or a part number: exact part matches and the categories holding matches with counts; with a category id, page 1 of that category (25 rows) with price breaks per packaging, stock, specs and filters2
productOne part by DigiKey link or DigiKey part number: price breaks per packaging, stock, lead time, lifecycle status, compliance codes, specs, documents, substitutes and related parts2 (4 when a DigiKey part number needs a second page read)
categoriesThe top-level categories, or one category with its subcategories and product counts2

Request

from scavio import ScavioClient

client = ScavioClient(api_key="sk_live_your_key", timeout=300)

# Step 1: which categories hold the part.
d = client.digikey.search(query="LM317")["data"]
for c in d["categories"]:
    print(c["id"], c["name"], c["product_count"])

# Step 2: in-stock Texas Instruments rows of one category, with price breaks.
d = client.digikey.search(query="LM317", category_id="699", filters={"-1": ["296"], "-2": ["5"]})["data"]
print(d["total"], d["filter_check"])
for it in d["items"]:
    print(it["mpn"], it["digikey_part_number"], it["quantity_available"], it["unit_price"])

Response

"country": "us",
"currency": "USD",
"language": "en",
"query": "LM317",
"category_id": "699",
"result_type": "products",
"total": 62,
"page": 1,
"page_size": 25,
"count": 25,
"has_more": true,
"exact_matches": [],
"categories": [],
"product": null,
"note": "Product rows are DigiKey's page 1 of a category (25 rows, in DigiKey's own order); later pages are not offered, so narrow with keywords and filters (facets[].id and facets[].options[].id). applied is the keywords and filters the page reports; filter_check says per requested filter whether the page's own facets show it applied (applied: the facet lists the selected values alone, or a selected stocking option counts every row; not_applied: the facet still lists other values; unknown: not readable from the page). 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). unit_price is the row's headline unit price (its smallest quantity break). specs are the category's columns as DigiKey lists them."
},
"response_time": 8094
}
PreviousRS Components BrandNextDigiKey Product
ScavioScavio

One scraper API for every social, search, e-commerce and real estate platform. Built for AI agents.

Product

  • Features
  • Pricing
  • Dashboard
  • Affiliates

Developers

  • Documentation
  • API Reference
  • Quickstart
  • MCP Integration
  • Python SDK

Alternatives

  • Tavily Alternative
  • SerpAPI Alternative
  • Firecrawl Alternative
  • Exa Alternative
  • Serper Alternative
  • Tavily vs Scavio
  • SerpAPI vs Scavio
  • All alternatives
  • Compare Scavio vs alternatives

Search APIs

  • Google Search API
  • Amazon Product API
  • YouTube API
  • Reddit API
  • Walmart Product API
  • TikTok API
  • Instagram API

Tools

  • All Tools

Ask AI about Scavio

© 2026 Scavio. All rights reserved.

Featured on TAAFT
Terms of ServicePrivacy Policy