Source Parts Inc. Bom API

BOM processing

GitHub OpenAPI

Operations 7

POST /bom Upload BOM for processing #
GET /bom/{job_id}/status Get BOM processing status #
GET /bom/{bom_id} Get a processed BOM with matched parts #
GET /bom/{bom_id}/analysis Get BOM cost rollup, unmatched parts, and warnings #
POST /bom/clean Clean EIA capacitor codes in a CSV (104 -> 100nF) #
POST /bom/pdf Generate a BOM PDF with matched parts #
POST /bom/assembly/pdf Generate an assembly document PDF with one page per BOM line item #

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/source-parts:source-parts-bom-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

source-parts-bom-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Source Parts Bom API
  description: 'The Source Parts v1 API provides programmatic access to electronic parts data,

    inventory management, BOM processing, and manufacturing workflows.


    **Required headers:** every request must include a non-empty `User-Agent`

    header identifying your application (e.g. `User-Agent: your-app/1.0`).

    Requests without one are rejected with `403 Forbidden` before authentication.'
  version: 1.1.0
  contact:
    name: Source Parts Support
    email: support@source.parts
    url: https://source.parts
  license:
    name: Proprietary
    url: https://source.parts/terms
servers:
- url: https://api.source.parts/v1
  description: Production
- url: http://localhost:9900/v1
  description: Local development
security:
- ApiKeyAuth: []
tags:
- name: bom
  description: BOM processing
paths:
  /bom:
    post:
      tags:
      - bom
      summary: Upload BOM for processing
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
              required:
              - file
      responses:
        '202':
          description: BOM upload accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BomUploadResponse'
      operationId: postBom
      x-operation-id-source: derived
  /bom/{job_id}/status:
    get:
      tags:
      - bom
      summary: Get BOM processing status
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Job status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BomStatusResponse'
      operationId: getBomByJobIdStatus
      x-operation-id-source: derived
  /bom/{bom_id}:
    get:
      tags:
      - bom
      summary: Get a processed BOM with matched parts
      parameters:
      - $ref: '#/components/parameters/UserAgentHeader'
      - name: bom_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/Success'
        '404':
          $ref: '#/components/responses/NotFound'
      operationId: getBomByBomId
      x-operation-id-source: derived
  /bom/{bom_id}/analysis:
    get:
      tags:
      - bom
      summary: Get BOM cost rollup, unmatched parts, and warnings
      parameters:
      - $ref: '#/components/parameters/UserAgentHeader'
      - name: bom_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/Success'
        '404':
          $ref: '#/components/responses/NotFound'
      operationId: getBomByBomIdAnalysis
      x-operation-id-source: derived
  /bom/clean:
    post:
      tags:
      - bom
      summary: Clean EIA capacitor codes in a CSV (104 -> 100nF)
      parameters:
      - $ref: '#/components/parameters/UserAgentHeader'
      requestBody:
        $ref: '#/components/requestBodies/GenericJson'
      responses:
        '200':
          $ref: '#/components/responses/Success'
      operationId: postBomClean
      x-operation-id-source: derived
  /bom/pdf:
    post:
      tags:
      - bom
      summary: Generate a BOM PDF with matched parts
      parameters:
      - $ref: '#/components/parameters/UserAgentHeader'
      requestBody:
        $ref: '#/components/requestBodies/GenericJson'
      responses:
        '200':
          $ref: '#/components/responses/Success'
      operationId: postBomPdf
      x-operation-id-source: derived
  /bom/assembly/pdf:
    post:
      tags:
      - bom
      summary: Generate an assembly document PDF with one page per BOM line item
      x-generated: true
      x-handler: bom.bom_assembly_pdf
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: postBomAssemblyPdf
      x-operation-id-source: derived
components:
  schemas:
    SuccessResponse:
      type: object
      properties:
        status:
          type: string
          example: success
        data:
          type: object
          description: Endpoint-specific payload
    ErrorResponse:
      type: object
      properties:
        status:
          type: string
          example: error
        error:
          type: string
        details:
          type: object
    BomUploadResponse:
      type: object
      properties:
        status:
          type: string
        data:
          type: object
          properties:
            job_id:
              type: string
            status_url:
              type: string
    BomStatusResponse:
      type: object
      properties:
        status:
          type: string
        data:
          type: object
          properties:
            job_id:
              type: string
            status:
              type: string
            progress:
              type: integer
  responses:
    Success:
      description: Success — payload under "data"
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SuccessResponse'
    NotFound:
      description: Not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  parameters:
    UserAgentHeader:
      name: User-Agent
      in: header
      required: true
      schema:
        type: string
        example: your-app/1.0
      description: 'Required on every request. Must be a non-empty string identifying your application; requests without a User-Agent are rejected with 403 Forbidden before authentication.

        '
  requestBodies:
    GenericJson:
      required: true
      content:
        application/json:
          schema:
            type: object
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: API key (sp_live_xxx or sp_test_xxx)