# Arrow — 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.

> Search for electronic components and instantly access pricing, availability, and detailed product specifications from Arrow Electronics' catalog. Look up manufacturers, retrieve bulk component data, and find the parts you need all in one place.

**Category:** Marketplaces | **Website:** [arrow.com/](https://arrow.com/) | **Docs:** [parse.bot/marketplace/13fc9927-4868-4559-93d4-5a43ba2e8f9e/arrow-com-api](https://parse.bot/marketplace/13fc9927-4868-4559-93d4-5a43ba2e8f9e/arrow-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-arrow-com-api-13fc9927/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product_detail

Retrieve full product details for a specific part including specifications, pricing, availability, and compliance data. The part is identified by its Arrow product URL path which encodes both the part-number slug and manufacturer slug.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `part_url` | string | Yes | Product URL path in format '/en/products/<part-number-slug>/<manufacturer-slug>', e.g. '/en/products/lm358dr/texas-instruments' or '/en/products/ne555pe4/texas-instruments'. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-arrow-com-api-13fc9927/get_product_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"part_url":"<string>"}'
```

### lookup_manufacturer

Retrieve the full list of manufacturers available on Arrow.com with their names and product counts. Returns over 1000 manufacturers extracted from the search API facets. No input parameters required.

**Estimated cost:** Metered

_No parameters required._

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

### search_by_list

Batch search for multiple electronic components by part number. Performs sequential searches for each part and returns aggregated results with full product data, error tracking, and query success counts.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `parts_json` | string | Yes | JSON array of part numbers (strings) or objects with 'partNum' key. Example: '["LM358", "NE555"]' or '[{"partNum": "LM358"}]' |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-arrow-com-api-13fc9927/search_by_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"parts_json":"<string>"}'
```

### search_by_token

Search for electronic components by part number or keyword. Returns matching products with manufacturer info, descriptions, pricing tiers, availability, compliance data, and category taxonomy. Paginates via start/rows offset; each page carries the full facet set and taxonomy tree for the current query.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `rows` | integer | No | Number of results per page. |
| `search_token` | string | Yes | Part number or keyword to search for (e.g. 'NE555', 'LM358', 'Arduino'). |
| `start` | integer | No | Result offset for pagination (0-based). Page is calculated as start/rows + 1. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-arrow-com-api-13fc9927/search_by_token \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rows":"<integer>","search_token":"<string>","start":"<integer>"}'
```
