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

> Retrieve product listings, categories, pricing details, and search results from MOO.com. Access Trustpilot ratings and detailed pricing calculations across product types and quantity tiers.

**Category:** E-commerce | **Website:** [moo.com/](https://moo.com/) | **Docs:** [parse.bot/marketplace/8a096d22-28ef-452e-bc36-fff98c72db14/moo-com-api](https://parse.bot/marketplace/8a096d22-28ef-452e-bc36-fff98c72db14/moo-com-api)

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

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/moo/`
**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 products list

Returns the comprehensive list of all product IDs, names, and categories available on MOO.com. Useful for discovering valid product_id values for the get_product_pricing endpoint. The catalog includes business cards, postcards, stickers, flyers, notecards, greeting cards, and letterheads across various finishes and sizes.

**Estimated cost:** Metered

_No parameters required._

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

### Get product categories

Returns the list of all product categories available on MOO.com US store. Each category contains an id, name, and URL path. Categories are static and cover all product lines (Business Cards, Postcards, Stickers & Labels, Flyers, Notecards, Greeting Cards, Letterheads, Accessories).

**Estimated cost:** Metered

_No parameters required._

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

### Get product pricing

Returns pricing and delivery options for a specific MOO product and quantity tier. Each delivery option includes the retail price, shipping cost, tax amount, order total, and turnaround days. Prices are USD strings (e.g. '$23.00') or 'FREE'. Use get_all_products_list to discover valid product_id values.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | Yes | Product ID from get_all_products_list (e.g. 'businesscard_classic', 'postcard_matte_single', 'flyer_a6_gloss'). |
| `quantity` | string | No | Quantity tier in format 'packs\|size' where packs is the number of packs and size is items per pack. |

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

### Get trustpilot rating

Returns the current Trustpilot rating, trust score, and review count breakdown for MOO.com. Includes star rating (out of 5), total review count, per-star review counts, and a link to the Trustpilot profile page.

**Estimated cost:** Metered

_No parameters required._

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

### Search products

Search for MOO products using keywords via the Algolia search index. Returns paginated search results with product URLs, titles, descriptions, categories, and images. Each page returns up to 20 hits. Results include the total hit count and total page count for navigation.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Zero-based page index for paginated results. Each page returns up to 20 hits. |
| `query` | string | Yes | Search keyword (e.g. 'stickers', 'business cards', 'postcards'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/moo/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://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.