# Au Bambulab — 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.

> Monitor Bambu Lab's official store for product prices, sales, and new releases across printers, filaments, and accessories. Search products, view detailed specifications, and track current promotions and homepage announcements to stay updated on inventory changes.

**Category:** E-commerce | **Website:** [au.store.bambulab.com/](https://au.store.bambulab.com/) | **Docs:** [parse.bot/marketplace/4829c6f8-88f0-4eef-b0fa-2b2ed4f0fc7c/au-store-bambulab-com-api](https://parse.bot/marketplace/4829c6f8-88f0-4eef-b0fa-2b2ed4f0fc7c/au-store-bambulab-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-au-store-bambulab-com-api-4829c6f8/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_accessories

Retrieve all accessory products from the Bambu Lab store. Internally searches for 'accessory' and returns items such as accessory boxes, tool kits, spare parts, and upgrade kits with pricing information.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-au-store-bambulab-com-api-4829c6f8/get_accessories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_all_filaments

Retrieve all filament products from the Bambu Lab store. Internally searches for 'filament' and returns matching results including PLA, PETG, ABS, TPU, and specialty filaments with pricing and color variants.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-au-store-bambulab-com-api-4829c6f8/get_all_filaments \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_all_printers

Retrieve all 3D printer products from the Bambu Lab store. Internally searches for 'printer' and returns matching results with product id, slug, name, prices, currency, and media files.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-au-store-bambulab-com-api-4829c6f8/get_all_printers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_all_products

Retrieve a broad catalog of products from the Bambu Lab store. Returns up to 100 products in a single response with id, slug, name, prices, currency, and media files. Useful for getting a complete inventory snapshot.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-au-store-bambulab-com-api-4829c6f8/get_all_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_homepage_announcements

Retrieve the store's top-level navigation bar including categories, promotions, sale banners, and featured product links. Each navigation item carries a label, link, optional image, children, and groups. Useful for discovering current promotions and store structure without searching.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-au-store-bambulab-com-api-4829c6f8/get_homepage_announcements \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_product_details

Get full product details for a single product identified by its URL slug. Returns structured JSON-LD data including product name, description, brand, productGroupID, and all variants with SKU, image, name, price, strikethrough price, condition, and availability (InStock/OutOfStock). The slug corresponds to the seoCode field returned by search_products.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Product URL slug from the seoCode field in search results (e.g. 'a1-mini', 'p1s', 'h2d', 'x2d', 'a1'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-au-store-bambulab-com-api-4829c6f8/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### get_sale_products

Retrieve all products currently on sale, sorted by highest discount percentage. A product is considered on sale when its lowerPrice is less than its original price. Each returned product includes computed discount_amount (original minus sale price) and discount_percentage fields alongside the standard product data.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-au-store-bambulab-com-api-4829c6f8/get_sale_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_products

Full-text search across the entire Bambu Lab store catalog. Matches product names by keyword. Returns paginated results with product id, slug (seoCode), name, prices, currency, media files, stock status, and sale tags. An empty query returns all products.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination (1-based). |
| `query` | string | No | Search keyword to match against product names. |
| `size` | integer | No | Number of results per page. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-au-store-bambulab-com-api-4829c6f8/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>","size":"<integer>"}'
```
