DigiKey Search
Search DigiKey country sites by keyword or result/filter URL. Returns category branches or product listings with pagination via browser rendering.
Credit cost: 2 credits per call
Autorisierung
ApiKeyAuth x-api-key<token>
Your API key. Include it in the x-api-key header for every request.
In: header
Abfrageparameter
query*string
Keyword, DigiKey result/filter URL, or relative path.
Examples:
phoenix contacthttps://www.digikey.fr/fr/products/result?keywords=phoenix+contacthttps://www.digikey.fr/fr/products/filter/marteaux/246/fr/products/filter/marteaux/246A full DigiKey URL auto-detects region.
region?string
DigiKey country TLD when query is not a full URL.
Examples: fr, com, de, co.uk, com.au, ca, jp
Aliases: uk/gb → co.uk, au → com.au.
return_page_source?boolean
When true, return rendered HTML as {"result": "..."} instead of JSON. Defaults to false.
Antworttext
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v2/digikey/search?query=string"{ "results": [ { "id": "370", "url": "https://www.digikey.fr/fr/products/filter/embases-fiches-et-prises/370", "type": "category", "title": "Embases, fiches et prises", "image_url": "https://mm.digikey.com/Volume0/opasdata/d220001/derivates/3/010/141/386/1751086_tmb.jpg", "product_count": 13796, "parent_category": "Blocs de jonction" } ], "pagination": { "page": 1, "per_page": 30, "total_pages": 1, "has_next_page": false, "total_results": 65793 }}{ "error": "Bad Request"}{ "error": "Invalid API Key"}{ "error": "Payment required"}{ "error": "Rate limit exceeded for the API key: quota monthly"}{ "error": "Internal Error"}