# Electronic Component Part Lookup

> Electronic Component Part Lookup is a paid API for AI agents from toolsmith-api.dassad10.workers.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-15).

Returns live distributor pricing, stock, lifecycle status, datasheet, specs, and drop-in alternates for an electronic component given its manufacturer part number (MPN).

## Facts

- Endpoint: GET https://toolsmith-api.dassad10.workers.dev/t/part/lookup
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/electronic-component-part-lookup-4e89c333
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UbAu2EC1QQSQEqN_jRQ92

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability electronic-component-part-lookup-4e89c333
```

Example prompt: Can you look up live distributor stock and pricing for the component LM358MX/NOPB — I want to see price breaks across DigiKey, Mouser, and Farnell, plus the datasheet link, lifecycle status, and any drop-in alternates, priced for the US?

## When to prefer this

Use this endpoint when you need aggregated, real-time distributor stock and pricing for an electronic component across multiple distributors in a single call, avoiding the need to scrape DigiKey, Mouser, Farnell, RS, and Arrow separately. Ideal for procurement research, BOM costing, sourcing automation, or checking component availability and lifecycle status.

## Known failure modes

- Unknown or invalid MPN returns empty results or a 404-style error
- Distributor data temporarily unavailable may result in partial results for some sources
- Invalid country code may fall back to US pricing or return an error
- Rate limiting or payment failure (x402) returns a 402 Payment Required response
- Highly obscure or obsolete parts may have limited distributor coverage

## How this service works

Everything about an electronic component from its manufacturer part number: live distributor stock and price breaks across DigiKey, Mouser, Farnell, RS, Arrow and more, lifecycle status, MOQ, packaging, lead times, datasheet link, key specs and drop-in alternates. Optional country= for regional pricing. One call instead of checking each distributor. JSON response. $0.04 USDC per call, pay via x402, no API key.

## Output

A JSON object containing live stock levels and price breaks from multiple distributors (DigiKey, Mouser, Farnell, RS, Arrow, etc.), lifecycle status, MOQ, packaging type, lead times, a datasheet URL, key electrical specs, and a list of drop-in alternate part numbers for the queried MPN.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "mpn"
     ],
     "properties": {
      "mpn": {
       "type": "string",
       "description": "Manufacturer part number, e.g. LM358MX/NOPB"
      },
      "country": {
       "type": "string",
       "description": "ISO country for regional pricing, default US"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mpn": "LM358MX/NOPB",
  "specs": {
   "Case/Package": "SOIC"
  },
  "offers": [
   {
    "stock": 52000,
    "currency": "USD",
    "distributor": "DigiKey",
    "priceBreaks": [
     {
      "qty": 100,
      "price": 0.45
     }
    ]
   }
  ],
  "lifecycle": "Production",
  "alternates": [
   {
    "mpn": "LM358DR",
    "manufacturer": "Texas Instruments"
   }
  ],
  "totalStock": 250000,
  "manufacturer": "Texas Instruments"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/electronic-component-part-lookup-4e89c333/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toolsmith-api.dassad10.workers.dev](https://www.zero.xyz/host/toolsmith-api.dassad10.workers.dev/llms.txt)
