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
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringSearch keyword or full SnapEDA / SnapMagic search URL.
Examples:
USB Type Chttps://www.snapeda.com/search/?q=Bluetooth+ModuleUse SnapEDA Product on any result url or part_number/manufacturer for full part data.
page?number1-based page number override (default: read from URL or 1). SnapEDA returns 20 results per page.
1 <= value <= 500return_page_source?booleanWhen true, return the raw rendered HTML as {"result": "..."} instead of structured JSON. Defaults to false.
fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
results?array<>pagination?curl -X GET 'https://api.piloterr.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 }}