DigiKey Search
GET
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
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringKeyword, 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?stringDigiKey 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?booleanWhen true, return rendered HTML as {"result": "..."} instead of JSON. Defaults to false.
Successful response
application/json- response
results?array<>pagination?curl -X GET 'https://api.piloterr.com/v2/digikey/search?query=string'Example Response
{ "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 }}