Piloterr

DigiKey Product

GET
/v2/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

Autorisierung

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Abfrageparameter

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.

fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Antworttext

Successful response

application/json
  1. response
url?string
price?number
stock?string
title?string
images?array<string>
locale?string
region?string
pricing?array<>
currency?string
description?string
manufacturer?string
datasheet_url?string
is_unavailable?boolean
specifications?
digikey_part_number?string
detailed_description?string
manufacturer_part_number?string
Example Request
curl -X GET 'https://api.piloterr.com/v2/digikey/product?query=string'
Example Response
{  "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"}