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

## Access

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

## 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/parse-moo-com-api-8a096d22/get_all_products_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-moo-com-api-8a096d22/get_product_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-moo-com-api-8a096d22/get_product_pricing \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-moo-com-api-8a096d22/get_trustpilot_rating \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-moo-com-api-8a096d22/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```
