DigiKey Product
Get a DigiKey product page: part numbers, manufacturer, price tiers, stock, images, datasheet and specs via browser rendering.
Credit cost: 2 credits per call
Authorization
ApiKeyAuth x-api-key<token>
Your API key. Include it in the x-api-key header for every request.
In: header
Query Parameters
query*string
Full DigiKey product detail URL, or relative path.
Examples:
https://www.digikey.fr/fr/products/detail/phoenix-contact/2981965/3604293
/fr/products/detail/excel-blades/50500/24758728
Relative paths require region.
region?string
DigiKey country TLD when query is a relative path.
Examples: fr, com, de, co.uk
return_page_source?boolean
When true, return rendered HTML as {"result": "..."} instead of JSON. Defaults to false.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.piloterr.com/v2/digikey/product?query=string"{
"url": "https://www.digikey.fr/fr/products/detail/phoenix-contact/2981965/3604293",
"price": 110.05,
"stock": "49",
"title": "2981965",
"images": [
"https://mm.digikey.com/Volume0/opasdata/d220001/derivates/6/002/833/060/2981965_web%28640x640%29.jpg?hidebanner=true"
],
"locale": "fr",
"region": "fr",
"pricing": [
{
"packaging": "En vrac",
"unit_price": 110.05,
"break_quantity": 1,
"extended_price": 110.05,
"digikey_part_number": "277-17389-ND"
}
],
"currency": "EUR",
"description": "UNIVERSAL SAFETY RELAY",
"manufacturer": "Phoenix Contact",
"datasheet_url": "https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/692/2981965_Ds.pdf",
"is_unavailable": false,
"specifications": {
"Fabricant": "Phoenix Contact",
"Conditionnement": "En vrac",
"Type d'accessoire": "Relais de sécurité",
"Statut du composant": "Actif"
},
"digikey_part_number": "277-17389-ND",
"detailed_description": "Relais de sécurité",
"manufacturer_part_number": "2981965"
}{
"error": "Bad Request"
}{
"error": "Invalid API Key"
}{
"error": "Payment required"
}{
"error": "Rate limit exceeded for the API key: quota monthly"
}{
"error": "Internal Error"
}