Source Parts API

Integrate with the world's most comprehensive electronics component database. Access real-time inventory, pricing, and technical specifications.

01

Base URL & authentication

Public, API-key-accessible endpoints, grouped by feature area. All requests use the base URL https://api.source.parts/v1, require an Authorization: Bearer header, and must send a descriptive User-Agent.

https://api.source.parts/v1
copy

User-Agent header required

All API requests must include a User-Agent header that identifies your application. For example: -H "User-Agent: YourApp/1.0 ([email protected])". Requests without a valid User-Agent will be rejected.

02

Examples

See how easy it is to integrate with our API. Get started with these common use cases.

Search for components

Find components by part number, manufacturer, or specifications.

# Search for microcontrollers
curl -X GET "https://api.source.parts/v1/parts/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "User-Agent: YourApp/1.0 ([email protected])" \
  -G -d "q=STM32F4" -d "category=microcontrollers" -d "limit=10"
copy

Check real-time inventory

Get current stock levels and availability across suppliers.

# Check inventory for a specific part
curl -X GET "https://api.source.parts/v1/parts/STM32F407VGT6/inventory" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "User-Agent: YourApp/1.0 ([email protected])"
copy

Get pricing information

Retrieve current pricing with quantity breaks and supplier information.

# Get pricing for quantity breaks
curl -X GET "https://api.source.parts/v1/parts/STM32F407VGT6/pricing" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "User-Agent: YourApp/1.0 ([email protected])" \
  -G -d "quantities=1,10,100,1000"
copy
03

API reference

Endpoints grouped by feature area. Every path is relative to the base URL above.

Catalog & search

Search millions of components and pull verified part data, pricing, inventory, and datasheets.

GET/parts/searchSearch parts by query with filters and pagination.
GET/parts/{sku}Get full part details by SKU or part number.
GET/parts/{sku}/specsGet parametric technical specifications.
GET/parts/{sku}/inventoryGet real-time stock levels.
GET/parts/{sku}/pricingGet price breaks across quantity tiers.
GET/parts/{sku}/datasheetGet the datasheet URL for a part.
GET/parts/{sku}/alternativesFind drop-in and functional alternatives.
GET/parts/{sku}/gatherGather specs, inventory, pricing, and datasheet in one call.
GET/parts/categoriesList all part categories.
GET/parts/manufacturersList all manufacturers.
POST/parts/datasheets/batchFetch datasheets for multiple SKUs at once.

Components & matching

Match reference designators, values, and footprints to catalog parts with confidence scoring.

POST/components/matchMatch a single component with a confidence breakdown.
POST/components/match/batchMatch up to 500 components in one request.
GET/footprints/{footprint}/compatibleGet compatible footprint equivalences (imperial/metric).
GET/values/normalizeNormalize a component value string (e.g. "1k" → "1.0 kΩ").

Datasheets

Retrieve, chunk, and extract structured content from component datasheets.

GET/datasheets/{sku}/pdfGet a presigned PDF URL for a datasheet.
GET/datasheets/{sku}/chunksGet extracted, chunked sections from a datasheet.
GET/datasheets/{sku}/drawingsExtract technical drawings from a datasheet.
POST/datasheets/chunkStart a datasheet chunking job.

Bill of materials

Upload a BOM, match its lines to catalog parts, and pull cost and availability rollups.

POST/bomUpload a BOM file (CSV/XLSX/JSON/XML) for processing.
GET/bom/{job_id}/statusCheck BOM processing status.
GET/bom/{bom_id}Get a processed BOM with matched parts.
GET/bom/{bom_id}/analysisGet cost rollup, unmatched parts, and warnings.
POST/bom/cleanClean EIA capacitor codes in a CSV (104 → 100nF).
POST/bom/pdfGenerate a BOM PDF with matched parts.

Cost of goods

Estimate landed cost of a design at build quantity using ladder pricing.

POST/costs/cogsCalculate cost of goods from a BOM at a target quantity.
POST/costs/estimateGet a quick cost estimate for a list of parts.

Part identification

Identify a component or PCB from a photo via barcode, QR, and OCR — the engine behind identify.parts.

GET/identify/precheckCheck whether the identify service is ready.
POST/identifyUpload a photo and get barcode/OCR matches plus datasheet links.

Manufacturing & DFM

Run design-for-manufacturing checks, get cross-vendor fab quotes, and generate manufacturing outputs.

POST/manufacturing/dfm/checkFree instant DFM check from an uploaded Gerber.
POST/manufacturing/dfmSubmit a full DFM analysis for a project.
POST/fab/quoteGet a cross-vendor PCB fabrication quote.
POST/manufacturing/fabCreate a fabrication order (layers, finish, thickness).
POST/manufacturing/stackupGenerate a PCB stackup PDF.
POST/manufacturing/placementGenerate component placement (pick-and-place) outputs.
GET/manufacturing/{job_id}/statusCheck any manufacturing job's status.

EDA & CAD

Programmatically run ERC, render and export schematics/PCBs, and edit parametric STEP models.

POST/eda/ercRun an electrical rules check on a schematic.
POST/eda/schematic/svgRender a schematic to SVG.
POST/eda/pcb/jobSubmit an async PCB processing job.
POST/cad/step/inspectInspect a STEP/BREP file's geometry metadata.
POST/cad/step/pipelineRun a chain of parametric CAD operations.

Projects

Organize designs, BOMs, and builds in a project workspace.

GET/projectsList your projects.
POST/projectsCreate a new project.
GET/projects/{project_id}Get project details.
GET/projects/{project_id}/statusGet part counts and cost summary for a project.

Authentication & credits

Manage API keys and check your usage balance. Keys use the sp_live_ / sp_test_ prefix.

POST/auth/keysCreate a new API key (requires an active subscription).
GET/auth/keysList your API keys.
DELETE/auth/keys/{key_id}Revoke an API key.
POST/auth/key/validateValidate an API key and return its plan and scopes.
GET/credits/balanceGet your current API credit balance.
CLI referenceMCP documentationView plans & pricing
Source Parts© 2026 Source Parts Inc.
New York · Amsterdam · Shenzhen
AboutContactDocsPrivacyTerms
Source Parts API Documentation | Source Parts