Hello DigiKey Community,
I’m working with DigiKey’s API to retrieve product attributes (e.g., Operating Temperature) using part numbers and need clarification on a few issues. Could you please help me with the following questions?
1. Product Attributes via Part Number
Does the DigiKey API (specifically Product Information v4) support fetching Product Attributes (like Operating Temperature) directly from a part number? If yes, which endpoint/parameters should I use?
2. Automating Data Extraction for Excel
I have an Excel list of part numbers. Is there an efficient way to automatically retrieve product details (e.g., Operating Temperature) for multiple parts? Any scripts/batch methods or best practices would be appreciated.
3. Troubleshooting 400 Error
I’ve followed the documentation (Product Information v4, 2 Legged Authorization) but keep getting a 400 Error:
json
{
“type”: “RFC 7231 - Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content”,
“title”: “Bad Request”,
“status”: 400,
“detail”: “Ensure the Authorization header has a valid Bearer token”,
“instance”: “”,
“correlationId”: “33367ba4-a445-4d54-9a44-bbeaf3276f1f”,
“errors”: {}
}
Steps I’ve tried :
- Generated a bearer token successfully:
Question :
- Why does the token still cause a 400 error?
- Is there a step I’m missing (e.g., token scope, encoding, or endpoint specifics)?
Additional Context :
- I’m using the /products/partnumber endpoint (or similar).
- My goal: Extract Operating Temperature for 100+ parts programmatically.
Thank you for your expertise! Any code snippets, curl examples, or workflow suggestions would be invaluable.
Best regards,