# Analog — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Browse Analog Devices' complete product catalog, search for specific parts, and instantly access detailed specifications, documentation, pricing, and sample purchasing options. Explore product categories and subcategories to discover components that match your technical requirements and budget.

**Category:** E-commerce | **Website:** [analog.com/](https://analog.com/) | **Docs:** [parse.bot/marketplace/e11ec661-b801-4083-8ac2-18bad11dc447/analog-com-api](https://parse.bot/marketplace/e11ec661-b801-4083-8ac2-18bad11dc447/analog-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-analog-com-api-e11ec661/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_part_details

Returns the product description and industry application areas for a specific part. Description is the product subtitle (e.g. '8-Channel, Low Noise, Low Power, 24-Bit, Sigma-Delta ADC with PGA and Reference'). Applications lists the industry solution areas where the part is used (e.g. 'Industrial Automation', 'Healthcare Solutions').

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `part_number` | string | Yes | Part number (e.g. 'AD7124-8', 'LT1006') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-analog-com-api-e11ec661/get_part_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"part_number":"<string>"}'
```

### get_part_features

Returns key features for a specific part as a list of feature strings extracted from the product catalog JSON. Features include specifications like power modes, noise levels, input configurations, and package details.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `part_number` | string | Yes | Part number (e.g. 'AD7124-8', 'LT1006') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-analog-com-api-e11ec661/get_part_features \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"part_number":"<string>"}'
```

### get_part_overview

Returns basic overview data for a specific part including title, lifecycle status, pricing, model count, and short description. Data is sourced from the product catalog JSON and commerce APIs.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `part_number` | string | Yes | Part number (e.g. 'AD7124-8', 'LT1006', 'AD9361') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-analog-com-api-e11ec661/get_part_overview \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"part_number":"<string>"}'
```

### get_part_sample_buy

Returns pricing, stock, model information, and purchase options for a part. Includes buy models with pricing tiers, package types, lead times, and lifecycle status from the commerce data API.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `part_number` | string | Yes | Part number (e.g. 'AD7124-8', 'LT1006') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-analog-com-api-e11ec661/get_part_sample_buy \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"part_number":"<string>"}'
```

### get_part_specifications

Returns parametric specifications for parts in a category (by pst_id) or for a specific part. Provide pst_id to get all parts in a category, or part_number to auto-detect the pst_id and filter to that part. At least one parameter is required. Large top-level categories may require part_number filtering; smaller subcategory pst_ids (from get_subcategories) work best for bulk queries.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `part_number` | string | No | Part number to auto-detect pst_id and filter results (e.g. 'AD7124-8') |
| `pst_id` | string | No | Parametric search table ID from get_product_categories or get_subcategories results (e.g. '2472', '2402') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-analog-com-api-e11ec661/get_part_specifications \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"part_number":"<string>","pst_id":"<string>"}'
```

### get_product_categories

Returns all top-level product categories from the Analog Devices catalog. Each category includes a name, slug, URL, and optional parametric search table ID (pst_id). Categories without a pst_id require drilling into subcategories to find one.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-analog-com-api-e11ec661/get_product_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_subcategories

Returns subcategories for a given parent category slug. Each subcategory includes name, slug, URL, and pst_id for parametric search. The slug must match a value from get_product_categories results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_slug` | string | Yes | Parent category slug from get_product_categories results (e.g. 'amplifiers', 'data-converters', 'sensors', 'interface', 'power') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-analog-com-api-e11ec661/get_subcategories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_slug":"<string>"}'
```

### search_parts

Full-text keyword search across the Analog Devices catalog using Algolia. Returns matching products, documentation, tools, and other resources. Results include part_number (null for non-product resources), title, description, url, and category facets.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum results per page |
| `page` | integer | No | Page number (0-based) |
| `query` | string | Yes | Search keyword (e.g. 'AD7124', 'amplifier', 'op amp', 'temperature sensor') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-analog-com-api-e11ec661/search_parts \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>","query":"<string>"}'
```
