Piloterr Snapeda API

The Snapeda API from Piloterr — 2 operation(s) for snapeda.

GitHub OpenAPI

Operations 4

GET /v2/snapeda/product SnapEDA Product #
POST /v2/snapeda/product SnapEDA Product #
POST /v2/snapeda/search SnapEDA Search #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/piloterr-com:piloterr-com-snapeda-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

piloterr-com-snapeda-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Piloterr API Reference Snapeda API
  description: Complete API reference documentation.
  version: 1.0.0
servers:
- url: https://api.piloterr.com
  description: API Server
tags:
- name: Snapeda
paths:
  /v2/snapeda/product:
    get:
      summary: SnapEDA Product
      description: 'SnapEDA Product API: fetch full part page data from a SnapEDA URL or MPN/manufacturer slug. Returns CAD models, datasheet, RoHS, distributor pricing and availability via browser rendering.


        **Credit cost:** 2 credits per call'
      operationId: get-snapeda-product
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: 'SnapEDA part page URL or `MPN/manufacturer` slug.


          **Examples:**


          ```

          CYPD3175-24LQXQ/Cypress Semiconductor

          ```


          ```

          https://www.snapeda.com/parts/CYPD3175-24LQXQ/Cypress%20Semiconductor/view-part/

          ```'
        schema:
          type: string
          description: 'SnapEDA part page URL or `MPN/manufacturer` slug.


            **Examples:**


            ```

            CYPD3175-24LQXQ/Cypress Semiconductor

            ```


            ```

            https://www.snapeda.com/parts/CYPD3175-24LQXQ/Cypress%20Semiconductor/view-part/

            ```'
      - name: return_page_source
        in: query
        required: false
        description: 'When `true`, return the raw rendered HTML as `{"result": "..."}` instead of structured JSON. Defaults to `false`.'
        schema:
          type: boolean
          description: 'When `true`, return the raw rendered HTML as `{"result": "..."}` instead of structured JSON. Defaults to `false`.'
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                  rohs:
                    type: boolean
                  formats:
                    type: array
                    items:
                      type: string
                  part_id:
                    type: string
                  pricing:
                    type: array
                    items:
                      type: object
                      properties:
                        price:
                          type: string
                        currency:
                          type: string
                        quantity:
                          type: integer
                        supplier:
                          type: string
                        price_value:
                          type: integer
                  in_stock:
                    type: boolean
                  image_url:
                    type: string
                  cad_models:
                    type: object
                    properties:
                      symbol:
                        type: boolean
                      model_3d:
                        type: boolean
                      footprint:
                        type: boolean
                  description:
                    type: string
                  part_number:
                    type: string
                  availability:
                    type: string
                  manufacturer:
                    type: string
                  datasheet_url:
                    type: string
              examples:
                CYPD3175-24LQXQ (Cypress Semiconductor) on snapeda.com:
                  value:
                    url: https://www.snapeda.com/parts/CYPD3175-24LQXQ/Cypress%20Semiconductor/view-part
                    rohs: true
                    formats:
                    - Altium
                    - Eagle
                    - KiCAD
                    - Cadence OrCad/Allegro
                    - PADS
                    - DxDesigner
                    - PCB123
                    - Pulsonix
                    - Proteus
                    part_id: '2776245'
                    pricing:
                    - price: 37 x $8.30
                      currency: USD
                      quantity: 54954
                      supplier: Featured
                      price_value: 37
                    - price: 239 x $1.58 500 x $1.41 1,000 x $1.31 10,000 x $1.17 100,000 x $0.98
                      currency: USD
                      quantity: 1470
                      supplier: Verical
                      price_value: 239
                    in_stock: true
                    image_url: https://snapeda.s3.us-east-1.amazonaws.com/partpics/Cypress Semiconductor_CYPD3175-24L-X-_40408.jpg
                    cad_models:
                      symbol: true
                      model_3d: true
                      footprint: 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
                    datasheet_url: https://www.snapeda.com/parts/CYPD3175-24LQXQ/Cypress%20Semiconductor/datasheet/
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Snapeda
    post:
      summary: SnapEDA Product
      description: 'SnapEDA Product API: fetch full part page data from a SnapEDA URL or MPN/manufacturer slug. Returns CAD models, datasheet, RoHS, distributor pricing and availability via browser rendering.


        **Credit cost:** 2 credits per call'
      operationId: post-snapeda-product
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: 'SnapEDA part page URL or `MPN/manufacturer` slug.


                    **Examples:**


                    ```

                    CYPD3175-24LQXQ/Cypress Semiconductor

                    ```


                    ```

                    https://www.snapeda.com/parts/CYPD3175-24LQXQ/Cypress%20Semiconductor/view-part/

                    ```'
                return_page_source:
                  type: boolean
                  description: 'When `true`, return the raw rendered HTML as `{"result": "..."}` instead of structured JSON. Defaults to `false`.'
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                  rohs:
                    type: boolean
                  formats:
                    type: array
                    items:
                      type: string
                  part_id:
                    type: string
                  pricing:
                    type: array
                    items:
                      type: object
                      properties:
                        price:
                          type: string
                        currency:
                          type: string
                        quantity:
                          type: integer
                        supplier:
                          type: string
                        price_value:
                          type: integer
                  in_stock:
                    type: boolean
                  image_url:
                    type: string
                  cad_models:
                    type: object
                    properties:
                      symbol:
                        type: boolean
                      model_3d:
                        type: boolean
                      footprint:
                        type: boolean
                  description:
                    type: string
                  part_number:
                    type: string
                  availability:
                    type: string
                  manufacturer:
                    type: string
                  datasheet_url:
                    type: string
              examples:
                CYPD3175-24LQXQ (Cypress Semiconductor) on snapeda.com:
                  value:
                    url: https://www.snapeda.com/parts/CYPD3175-24LQXQ/Cypress%20Semiconductor/view-part
                    rohs: true
                    formats:
                    - Altium
                    - Eagle
                    - KiCAD
                    - Cadence OrCad/Allegro
                    - PADS
                    - DxDesigner
                    - PCB123
                    - Pulsonix
                    - Proteus
                    part_id: '2776245'
                    pricing:
                    - price: 37 x $8.30
                      currency: USD
                      quantity: 54954
                      supplier: Featured
                      price_value: 37
                    - price: 239 x $1.58 500 x $1.41 1,000 x $1.31 10,000 x $1.17 100,000 x $0.98
                      currency: USD
                      quantity: 1470
                      supplier: Verical
                      price_value: 239
                    in_stock: true
                    image_url: https://snapeda.s3.us-east-1.amazonaws.com/partpics/Cypress Semiconductor_CYPD3175-24L-X-_40408.jpg
                    cad_models:
                      symbol: true
                      model_3d: true
                      footprint: 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
                    datasheet_url: https://www.snapeda.com/parts/CYPD3175-24LQXQ/Cypress%20Semiconductor/datasheet/
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Snapeda
  /v2/snapeda/search:
    get:
      summary: SnapEDA Search
      description: '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'
      operationId: get-snapeda-search
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: '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.'
        schema:
          type: string
          description: '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.'
      - name: page
        in: query
        required: false
        description: '1-based page number override (default: read from URL or `1`). SnapEDA returns 20 results per page.'
        schema:
          type: number
          minimum: 1
          maximum: 500
          description: '1-based page number override (default: read from URL or `1`). SnapEDA returns 20 results per page.'
      - name: return_page_source
        in: query
        required: false
        description: 'When `true`, return the raw rendered HTML as `{"result": "..."}` instead of structured JSON. Defaults to `false`.'
        schema:
          type: boolean
          description: 'When `true`, return the raw rendered HTML as `{"result": "..."}` instead of structured JSON. Defaults to `false`.'
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        url:
                          type: string
                        price:
                          type: number
                        package:
                          type: string
                        part_id:
                          type: string
                        currency:
                          type: string
                        image_url:
                          type: string
                        has_symbol:
                          type: boolean
                        description:
                          type: string
                        part_number:
                          type: string
                        availability:
                          type: string
                        manufacturer:
                          type: string
                        has_footprint:
                          type: boolean
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                      per_page:
                        type: integer
                      total_pages:
                        type: integer
                      total_results:
                        type: integer
              examples:
                Search 'USB Type C' on snapeda.com (page 1):
                  value:
                    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
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Snapeda
    post:
      summary: SnapEDA Search
      description: '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'
      operationId: post-snapeda-search
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: '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:
                  type: number
                  minimum: 1
                  maximum: 500
                  description: '1-based page number override (default: read from URL or `1`). SnapEDA returns 20 results per page.'
                return_page_source:
                  type: boolean
                  description: 'When `true`, return the raw rendered HTML as `{"result": "..."}` instead of structured JSON. Defaults to `false`.'
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        url:
                          type: string
                        price:
                          type: number
                        package:
                          type: string
                        part_id:
                          type: string
                        currency:
                          type: string
                        image_url:
                          type: string
                        has_symbol:
                          type: boolean
                        description:
                          type: string
                        part_number:
                          type: string
                        availability:
                          type: string
                        manufacturer:
                          type: string
                        has_footprint:
                          type: boolean
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                      per_page:
                        type: integer
                      total_pages:
                        type: integer
                      total_results:
                        type: integer
              examples:
                Search 'USB Type C' on snapeda.com (page 1):
                  value:
                    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
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Snapeda
components:
  parameters:
    fields:
      name: fields
      in: query
      required: false
      description: Comma-separated list of response fields to return, with dot notation for nested fields (e.g. `name,location.city`).
      schema:
        type: string
    is_async:
      name: is_async
      in: query
      required: false
      description: 'Run the request as a background job: the API answers `202` with a `job_id` to poll on `GET /v1/jobs/{id}`.'
      schema:
        type: boolean
        default: false
    soft_fail:
      name: soft_fail
      in: query
      required: false
      description: Return HTTP 200 even when the request fails; the error is in the `error` field of the body.
      schema:
        type: boolean
        default: false
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable error message.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your API key. Include it in the x-api-key header for every request.