# Darby Dental — 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 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. Each call is automatically billed to your wallet in USDC.

## Access

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

## 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.paywithlocus.com/api/wrapped/parse-darbydental-com-api-fdb90e63/get_all_manufacturers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-darbydental-com-api-fdb90e63/get_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-darbydental-com-api-fdb90e63/get_popular_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-darbydental-com-api-fdb90e63/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-darbydental-com-api-fdb90e63/get_products_by_category \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-darbydental-com-api-fdb90e63/get_products_by_manufacturer \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-darbydental-com-api-fdb90e63/get_promotional_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-darbydental-com-api-fdb90e63/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```
