Piloterr

DigiKey Search

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

Authorization

ApiKeyAuth
headerx-api-key<token>

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

Query Parameters

query*string

Keyword, DigiKey result/filter URL, or relative path.

Examples:

phoenix contact
https://www.digikey.fr/fr/products/result?keywords=phoenix+contact
https://www.digikey.fr/fr/products/filter/marteaux/246
/fr/products/filter/marteaux/246

A 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.

Response Body

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
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  }}