# Mymoparparts — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 genuine Mopar OEM parts and accessories to instantly access pricing details and product information for your vehicle repair and maintenance needs. Find exactly what you need with detailed part specifications and current pricing from MyMoparParts.com's complete catalog.

**Category:** Automotive | **Website:** [www.mymoparparts.com/](https://www.mymoparparts.com/) | **Docs:** [parse.bot/marketplace/b7bfa237-7f52-4940-8c55-2764935843c0/mymoparparts-com-api](https://parse.bot/marketplace/b7bfa237-7f52-4940-8c55-2764935843c0/mymoparparts-com-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/mymoparparts/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get product details

Retrieve full product details for a specific part including pricing (sale price and MSRP), brand, images, description, superseded part numbers, hazmat status, and vehicle fitment. The product_path is obtained from search_parts results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_path` | string | Yes | URL path or full URL to the product page, e.g. 'oem-parts/mopar-brake-pads-68334863aa'. Obtained from search_parts results URL field. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/mymoparparts/get-product-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"product_path":"<string>"}'
```

### Search parts

Full-text search across the MyMoparParts catalog by keyword, part number, or VIN. Returns paginated product listings with pricing, brand, and availability. Results are auto-iterated across pages.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for results pagination. |
| `query` | string | Yes | Search term: part name keyword, OEM part number, or VIN. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/mymoparparts/search-parts \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.