# Trader Joe's API

> Trader Joe's workflow and API: products. Returns products, sku, name and size as JSON.

Trader Joe's data from traderjoes.com: products.

- Page: https://fous.com/workflows/trader-joes
- Handle: `@trader-joes`
- Category: [Commerce](https://fous.com/workflows/category/commerce)
- Source website: https://traderjoes.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with Trader Joe's.

## Methods

### Search products

Operation `search_products`, version 1. 1 credit per call.

Search Trader Joe's public product catalogue by name or keywords, optionally within a main category. Prices are website reference prices and may vary by store; products without a usable price have a null price. Not every in-store product appears online.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `query` | string | yes | `"mandarin orange chicken"` | Product name or keywords to search, e.g. mandarin orange chicken. |
| `category` | string | no | `"food"` | Main catalogue category, e.g. food; any searches all products. |
| `max_results` | integer | no | `4` | Maximum products to return, e.g. 20. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "Product name or keywords to search, e.g. mandarin orange chicken.",
      "examples": [
        "mandarin orange chicken",
        "coffee",
        "xyznoresultszzzz"
      ]
    },
    "category": {
      "enum": [
        "any",
        "food",
        "beverages",
        "flowers_and_plants",
        "everything_else"
      ],
      "type": "string",
      "default": "any",
      "description": "Main catalogue category, e.g. food; any searches all products.",
      "examples": [
        "food",
        "flowers_and_plants"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "description": "Maximum products to return, e.g. 20.",
      "x-fous-developer": true,
      "examples": [
        4
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "query": "mandarin orange chicken"
    },
    {
      "query": "coffee",
      "category": "food",
      "max_results": 4
    },
    {
      "query": "xyznoresultszzzz",
      "category": "flowers_and_plants"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `products` | array |  | Matching products in website order. |
| `products[].sku` | string | `"094235"` | Trader Joe’s product SKU. |
| `products[].name` | string | `"Cinnamon Coffee Cake"` | Product name. |
| `products[].size` | string or null | `"16 Oz"` | Package size and unit. |
| `products[].price` | number or null | `5.99` | Website reference price. |
| `products[].category` | string or null | `"Sweet Stuff"` | Product category on Trader Joe’s. |
| `products[].currency` | string | `"USD"` | Price currency (USD). |
| `products[].image_link` | string or null | `"https://www.traderjoes.com/content/dam/trjo/products/m20105/94235.png"` | Product image link. |
| `products[].description` | string or null |  | Plain-text product description. |
| `products[].dietary_tags` | array |  | Product characteristic tags such as Vegan and Gluten Free. |
| `products[].product_link` | string | `"https://www.traderjoes.com/home/products/pdp/cinnamon-coffee-cake-094235"` | Product page link. |

**Example input**

```json
{
  "query": "coffee",
  "category": "food",
  "max_results": 4
}
```

**Example output**

```json
{
  "products": [
    {
      "sku": "094235",
      "name": "Cinnamon Coffee Cake",
      "size": "16 Oz",
      "price": 5.99,
      "category": "Sweet Stuff",
      "currency": "USD",
      "image_link": "https://www.traderjoes.com/content/dam/trjo/products/m20105/94235.png",
      "description": "Swooning for a slice of cake for dessert? How about one that’s simply divine with your morning cup of coffee? Yes, please! This is one of the many reasons why we love Trader Joe’s Cinnamon Coffee Cake…",
      "dietary_tags": [],
      "product_link": "https://www.traderjoes.com/home/products/pdp/cinnamon-coffee-cake-094235"
    },
    {
      "sku": "075292",
      "name": "Coffee Panna Cotta",
      "size": "7.04 Oz",
      "price": 3.49,
      "category": "Cool Desserts",
      "currency": "USD",
      "image_link": "https://www.traderjoes.com/content/dam/trjo/products/m20604/75292.png",
      "description": "Crème caramel, flan, rožata, purin, pudin karamel—the many variations of caramel-covered custard have many names around the world. Here at Trader Joe’s, our creamy, coffee-imbued version goes by Coffe…",
      "dietary_tags": [],
      "product_link": "https://www.traderjoes.com/home/products/pdp/coffee-panna-cotta-075292"
    },
    {
      "sku": "062909",
      "name": "Coffee Lover's Espresso Beans",
      "size": "2.5 Oz",
      "price": 1.49,
      "category": "Candies & Cookies",
      "currency": "USD",
      "image_link": "https://www.traderjoes.com/content/dam/trjo/products/m21002/62909.png",
      "description": "While some may only prefer to experience coffee as a drinkable brew, there are many others who love the flavor of roasted coffee beans so much they’ll take it any way it comes. For these less discrimi…",
      "dietary_tags": [
        "Kosher"
      ],
      "product_link": "https://www.traderjoes.com/home/products/pdp/coffee-lover-s-espresso-beans-062909"
    }
  ]
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@trader-joes",
  "visibility": "public",
  "operation": "search_products",
  "version": 1,
  "input": {
    "query": "mandarin orange chicken"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@trader-joes\",\n  \"visibility\": \"public\",\n  \"operation\": \"search_products\",\n  \"version\": 1,\n  \"input\": {\n    \"query\": \"mandarin orange chicken\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@trader-joes",
  "visibility": "public",
  "operation": "search_products",
  "version": 1,
  "input": {
    "query": "mandarin orange chicken"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@trader-joes","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## FAQ

### Is Fous affiliated with Trader Joe's?

No. Fous is not affiliated with Trader Joe's. This workflow reads the public traderjoes.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a Trader Joe's account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from traderjoes.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

## Related

- [Instacart API](https://fous.com/workflows/instacart.md): Search grocery products available from nearby stores.
- [Costco API](https://fous.com/workflows/costco.md): Costco returns US product prices/details and warehouse hours/services/gas prices; delivery affects availability, member prices may be hidden, and posted gas and holiday hours may differ.
- [Target API](https://fous.com/workflows/target.md): Target helps shoppers find products, details, photos, ratings, links, current prices, and nearby-store stock and pickup or delivery availability; prices and availability can change by location and time.
- [Aldi API](https://fous.com/workflows/aldi.md): Search groceries and prices at ALDI US.
- [Tesco API](https://fous.com/workflows/tesco.md): Search Tesco groceries, prices, and promotions.
- [Nordstrom API](https://fous.com/workflows/nordstrom.md): Search clothing, shoes, and beauty products at Nordstrom.
- [Walmart API](https://fous.com/workflows/walmart.md): Walmart helps shoppers find products from Walmart and marketplace sellers, view details, prices, ratings and reviews; availability uses Walmart’s default location, not ZIP codes.
- [Kohl's API](https://fous.com/workflows/kohls.md): Shop products and deals on Kohl's.
- [All Commerce workflows](https://fous.com/workflows/category/commerce)
