ScavioScavio
Pricing
Tools
Sign InsGet Startedg
Quick StartAPI & SDKsEcosystem

DigiKey

DigiKey Categories API

The product categories of DigiKey, the electronic component distributor. Without a category id: the top-level categories as DigiKey's product index lists them, with the full subtree and product counts for some of them. With a category id: that category with its subcategories, product counts and new-product counts, and its breadcrumbs. leaf true marks a category whose rows search returns. us, ca and de. 2 credits.

POST/api/v1/digikey/categories

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
category_idstring | integer

A category id (categories[].id) or a DigiKey category link, to read its subcategories and product counts. Leave it out for the top-level categories.

Example: 32

countrystringdefault:us

us (digikey.com, USD), ca (digikey.ca, CAD) or de (digikey.de, EUR, German labels, prices without VAT). Anything else is a 400, 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 the index listed 50 top-level categories, 10 of them with their subcategories and counts (subcategories_listed true); category 32, Integrated Circuits (ICs), read 639,037 products in 12 subcategories, 4 of them leaf categories such as Microcontroller, Microprocessor, FPGA, SOM Modules (id 721, 2,454 products). Send a leaf id to search as category_id for its rows; a category that is not a leaf opens one level further here.

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)

top = client.digikey.categories()["data"]
print(top["total_categories"], [c["name"] for c in top["categories"]][:5])

ics = client.digikey.categories(category_id="32")["data"]
for c in ics["categories"]:
    print(c["id"], c["name"], c["product_count"], c["leaf"])

Response

"country": "us",
"currency": "USD",
"language": "en",
"category_id": "32",
"total_categories": null,
"count": 12,
"note": "One DigiKey category with its subcategories and product counts as its category page lists them. leaf true marks a category whose products search lists (search with category_id)."
},
"response_time": 4500
}
PreviousDigiKey ProductNextQuickstart
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