Piloterr

SnapEDA Search

Usar em massa com o DataflowExecute este endpoint sobre um arquivo ou uma lista, uma vez ou com agendamento.

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.

Credit cost: 1 credit per call

Autorização

ApiKeyAuth
headerx-api-key<token>

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

Parâmetros de consulta

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 search response as {"result": "..."} instead of structured JSON. Defaults to false.

fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Corpo da resposta

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/snapeda/search?query=string'
Example Response
{
  "results": [
    {
      "url": "https://www.snapeda.com/parts/CYPD3120-40LQXIT/Cypress%20Semiconductor%20Corp/view-part/",
      "package": null,
      "part_id": "4974573",
      "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™ CCG3 USB Type C Microcontroller IC FLASH (128kB) 40-UFQFN Exposed Pad",
      "part_number": "CYPD3120-40LQXIT",
      "availability": null,
      "manufacturer": "Cypress Semiconductor Corp",
      "has_footprint": true
    },
    {
      "url": "https://www.snapeda.com/parts/CYPD4226-40LQXIT/Cypress%20Semiconductor%20Corp/view-part/",
      "package": null,
      "part_id": "3228871",
      "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™ CCG4 USB Type C Microcontroller IC FLASH (128kB) 40-UFQFN Exposed Pad",
      "part_number": "CYPD4226-40LQXIT",
      "availability": null,
      "manufacturer": "Cypress Semiconductor Corp",
      "has_footprint": true
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 20,
    "total_pages": 226,
    "total_results": 4505
  }
}