digikey

Search DigiKey's Product API for parts and download datasheet PDFs.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/mattpainter701/my-claude-setup --skill digikey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: digikey
Source: https://github.com/mattpainter701/my-claude-setup/tree/main/claude-config/global-skills/digikey
Command: npx skills add https://github.com/mattpainter701/my-claude-setup --skill digikey

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, playwright, and includes scripts (resource) components.

What problem does it solve?

The DigiKey skill streamlines component discovery and datasheet retrieval by using DigiKey's API to search parts, fetch direct datasheet URLs, and download PDFs for BOM planning and KiCad project work, while providing a local datasheets directory synchronized with an index for incremental updates.

Core Features & Use Cases

  • Efficient DigiKey API searches by Manufacturer Part Number (MPN) or keywords to locate components and datasheets.
  • Download and validate datasheets as PDFs, with URL normalization to handle redirects and JS-based downloads.
  • Synchronize a local datasheets directory alongside KiCad projects, maintaining an index.json for incremental updates and status tracking.
  • Fallback to alternative sources when primary URLs fail and perform verification to detect wrong or missing datasheets.

Quick Start

Run the DigiKey datasheet sync workflow to fetch PDFs for parts identified in your KiCad schematic and save them to a local datasheets folder.

Frequently Asked Questions about digikey

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download datasheets as PDFs using the DigiKey API?

To download datasheets as PDFs, the DigiKey API skill authenticates via OAuth2, retrieves the product datasheet URL, and handles redirects or JavaScript-based downloads to save the file locally. It extracts direct links from the v4 Product API.

How do I find electronic parts by MPN or keywords with the DigiKey Product API v4?

Finding electronic parts by MPN or keywords uses DigiKey's Product API v4 to return pricing, media details, and datasheet links. You provide the search terms, and the API scopes the query to locate matching components for BOM planning.

Do I need OAuth2 credentials to search DigiKey parts and fetch pricing?

Yes, you need OAuth2 credentials to obtain an access token for searching DigiKey parts and fetching pricing. The workflow authenticates via OAuth2 to access the Product API v4 and gracefully handles token expiration during requests.

Can I synchronize a local datasheets directory for KiCad projects using DigiKey?

Yes, you can synchronize a local datasheets directory for KiCad projects by fetching PDFs for parts identified in your schematic. The workflow maintains an index.json for incremental updates and tracks synchronization status.

What happens when a DigiKey datasheet URL fails or hits rate limits?

When a DigiKey datasheet URL fails or hits rate limits, the skill gracefully handles token expiration and rate limiting, then falls back to alternative sources. It performs verification to detect missing or incorrect datasheets.