Quick Start

Get Started in 5 Minutes

Everything you need to integrate Source Parts API into your application

Get up and running in 4 simple steps

1
Install the SDK
Choose your preferred package manager to install our TypeScript SDK
npm install @sourceparts/sdk
2
Configure your API key
Set up authentication to connect with Source Parts API

Add your API key to your .env file:

SOURCEPARTS_API_KEY=your_api_key_here
Get your API key from the API Dashboard
3
Initialize the client
Create a client instance with your configuration
import { SourceParts } from '@sourceparts/sdk';

const client = new SourceParts({
  apiKey: process.env.SOURCEPARTS_API_KEY,
  environment: 'production'
});
4
Make your first request
Search for components and get real-time pricing data
// Search for components
const results = await client.components.search({
  query: 'ESP32',
  limit: 10,
  filters: {
    inStock: true,
    category: 'microcontrollers'
  }
});

console.log(`Found ${results.total} components`);
results.items.forEach(component => {
  console.log(`${component.name}: ${component.price}`);
});

What's Next?

Explore the API

Deep dive into our comprehensive API documentation

View API Docs
Code Examples

Browse real-world integration examples and patterns

View Examples
Get Support

Our engineering team is here to help you succeed

Contact Support
Quick Start Guide | Source Parts