Skip to main content
Piloterr
Back to library

SnapEDA Search API

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.

Active2 credits = 1 requestGET/v2/snapeda/search

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

The SnapEDA Search API returns electronic component listings from SnapMagic Search (ex-SnapEDA). Pass a keyword or a full search URL and receive structured JSON with MPN, manufacturer, distributor pricing, CAD availability, and pagination.

Search results load via client-side AJAX (/api/v1/search_basic). Piloterr uses browser rendering and waits for .search-result-row before parsing.

Supported domains: www.snapeda.com, www.snapmagic.com.

Use each result url or part_number/manufacturer with SnapEDA Product for full part details (datasheet, CAD formats, distributor pricing).

QuickstartLink to Quickstart

GET https://api.piloterr.com/v2/snapeda/search?query=USB+Type+C
GET https://api.piloterr.com/v2/snapeda/search?query=https://www.snapeda.com/search/?q=Bluetooth+Module
GET https://api.piloterr.com/v2/snapeda/search?query=USB+Type+C&page=2

ParametersLink to Parameters

Parameter Type Required Description
query string yes Keyword or full search URL
page integer no 1-based page override (default: from URL or 1)
return_page_source boolean no Rendered HTML as {"result": "..."} (default: false)

Response: each part (results[])Link to Response: each part (results[])

Field Type Description
part_number string MPN
manufacturer string Manufacturer name as displayed
part_id string SnapEDA internal id (unipart_id)
url string Part page URL (tracking params stripped)
image_url string | null Manufacturer logo in search (not part photo)
description string | null Short description when available
package string | null Package type (often Custom)
availability string | null e.g. In Stock, Not in stock
price number | null Average distributor price
currency string | null ISO currency (typically USD)
has_symbol boolean | null Symbol CAD available
has_footprint boolean | null Footprint CAD available

Response: paginationLink to Response: pagination

Field Type Description
page integer Current page
per_page integer Results on this page (20)
total_results integer | null Total matches
total_pages integer | null Total pages

Pagination uses ?q=…&page=2 in the search URL.

SnapEDA workflowLink to SnapEDA workflow

  1. SnapEDA Search: discover parts (this endpoint)
  2. SnapEDA Product: full part JSON

Error codesLink to Error codes

Code Meaning
400 Missing or invalid query
404 No parseable search results
500 Rendering or parsing error

NotesLink to Notes

  • Search image_url is the manufacturer logo, not the part photo (use Product for #part-image1).
  • Tracking params (ref, t, ab_test_case, p) are stripped from returned URLs.
  • Costs 2 credits per call (browser rendering, up to 90s wait).

Main use casesLink to Main use cases

  • Component discovery: harvest MPNs and manufacturers at scale
  • CAD availability: filter parts with symbol/footprint models
  • BOM enrichment: pricing and stock signals before fetching full PDP data

Related APIs

Expand your data capabilities with these complementary tools.

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included