# Darby Dental — 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 and browse Darby Dental's product catalog by category, manufacturer, or popularity to find supplies with detailed information and current pricing. Discover promotional products and explore the complete range of dental equipment and materials available from all manufacturers in their inventory.

**Category:** E-commerce | **Website:** [darbydental.com/](https://darbydental.com/) | **Docs:** [parse.bot/marketplace/fdb90e63-77dc-4ea9-ba2a-099279cee829/darbydental-com-api](https://parse.bot/marketplace/fdb90e63-77dc-4ea9-ba2a-099279cee829/darbydental-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/darby-dental/`
**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 all manufacturers

List all manufacturers/brands available on Darby Dental with their product counts, brand IDs, alphabetical letter groupings, and logo image URLs. Returns the complete catalog of 400+ manufacturers in a single response.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/darby-dental/get-all-manufacturers \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get categories

Retrieve the full product category tree with two levels of depth. Each category includes its product count and URL. Subcategories are nested under their parent category. Returns all top-level categories from the Darby Dental catalog.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/darby-dental/get-categories \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get popular products

Retrieve popular/featured products displayed on the Darby Dental homepage. Returns products with name, SKU, manufacturer, URL, and image. The selection is curated by the site and typically includes 8-12 items.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/darby-dental/get-popular-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get product details

Retrieve full product details by SKU/item number. Returns description, features, variants (grouped product items with individual SKUs and stock), images, categories, and manufacturer. Automatically appends '-01' suffix if no dash is present in the input SKU, as grouped products use this convention.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `item_number` | string | Yes | Product SKU/item number (e.g. '5256735-01'). If no dash is present, '-01' is appended automatically. |

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

### Get products by category

List products for a specific category with pagination. The category name is resolved against the site's category tree (case-insensitive exact match at any level). Returns 36 products per page with stock status. Use get_categories to discover valid category names.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | Yes | Category name (e.g. 'Gloves', 'Acrylics'). Must match a category from get_categories. |
| `page` | integer | No | Page number for pagination |

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

### Get products by manufacturer

List products for a specific manufacturer with pagination. The manufacturer name is resolved against the site's manufacturer catalog (case-insensitive, partial match supported). Returns 36 products per page with stock status. Use get_all_manufacturers to discover valid manufacturer names.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `manufacturer` | string | Yes | Manufacturer name (e.g. '3M', 'Septodont'). Must match a manufacturer from get_all_manufacturers. |
| `page` | integer | No | Page number for pagination |

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

### Get promotional products

Retrieve promotional products. Note: promotions may require login on the current site.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/darby-dental/get-promotional-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>"}'
```

### Search products

Full-text search over the Darby Dental product catalog. Returns paginated results matching the query keyword against product names and descriptions. Each result includes SKU, stock status, and image URL. Paginates via integer page number with 36 results per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination |
| `query` | string | Yes | Search keyword to match against product names and descriptions |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/darby-dental/search-products \
  -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.