Piloterr

SnapEDA Search

GET
/v2/snapeda/search

SnapEDA Search API: search electronic parts by keyword or URL on SnapMagic Search (ex-SnapEDA). Returns MPN, manufacturer, pricing, CAD availability and 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

Search keyword or full SnapEDA / SnapMagic search URL.

Examples:

USB Type C
https://www.snapeda.com/search/?q=Bluetooth+Module

Use SnapEDA Product on any result url or part_number/manufacturer for full part data.

page?number

1-based page number override (default: read from URL or 1). SnapEDA returns 20 results per page.

Range1 <= value <= 500
return_page_source?boolean

When true, return the raw rendered HTML as {"result": "..."} instead of structured JSON. Defaults to false.

Antworttext

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v2/snapeda/search?query=string"
{  "results": [    {      "url": "https://www.snapeda.com/parts/CYPD3175-24LQXQ/Cypress%20Semiconductor/view-part/",      "price": 0.93,      "package": "Custom",      "part_id": "2776245",      "currency": "USD",      "image_url": "https://snapeda.s3.amazonaws.com/pinax/images/company_logos/thumbs/Infineon-Logo.svg.png",      "has_symbol": true,      "description": "ARM® Cortex®-M0 EZ-PD™ CCG3PA USB Type C Microcontroller IC FLASH (64kB) 24-UFQFN Exposed Pad",      "part_number": "CYPD3175-24LQXQ",      "availability": "In Stock",      "manufacturer": "Cypress Semiconductor",      "has_footprint": true    },    {      "url": "https://www.snapeda.com/parts/PI5USB30213AXEAEX/Diodes%20Zetex/view-part/",      "price": 0.89,      "package": "Custom",      "part_id": "12128468",      "currency": "USD",      "image_url": "https://snapeda.s3.amazonaws.com/pinax/images/company_logos/thumbs/Zetex.jpg",      "has_symbol": true,      "description": "High Speed Type-C Dual Role Port Controller USB 3.1 T/R 24-Pin X1QFN EP",      "part_number": "PI5USB30213AXEAEX",      "availability": "In Stock",      "manufacturer": "Diodes Zetex",      "has_footprint": true    }  ],  "pagination": {    "page": 1,    "per_page": 20,    "total_pages": 218,    "total_results": 4349  }}
{  "error": "Bad Request"}
{  "error": "Invalid API Key"}
{  "error": "Payment required"}
{  "error": "Rate limit exceeded for the API key: quota monthly"}
{  "error": "Internal Error"}